From: Bruno Haible Date: Sat, 17 May 2003 17:56:13 +0000 (+0000) Subject: Regenerated. X-Git-Tag: v0.12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6da33d8852881e435aa36d2b950a67a533df5478;p=thirdparty%2Fgettext.git Regenerated. --- diff --git a/Makefile.in b/Makefile.in index cea8ed7f6..8e3021473 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -35,21 +35,34 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +host_triplet = @host@ ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +CC = @CC@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GCJ = @GCJ@ +GCJFLAGS = @GCJFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ @@ -66,11 +79,20 @@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ ac_ct_STRIP = @ac_ct_STRIP@ +am__leading_dot = @am__leading_dot@ 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@ @@ -95,8 +117,13 @@ SUBDIRS = autoconf-lib-link gettext-runtime gettext-tools # DJGPP port. # OS/2 port. + +# VMS support. + +# Woe32 support. EXTRA_DIST = \ version.sh PACKAGING README.gemtext ChangeLog.0 \ + config/config.libpath config/reloc-ldflags config/install-reloc \ config/m4/fixautomake.m4 \ config/m4/libtool.m4\ djgpp/COPYING.DJ djgpp/Makefile.maint djgpp/README.DJ \ @@ -105,7 +132,7 @@ djgpp/COPYING.DJ djgpp/Makefile.maint djgpp/README.DJ \ djgpp/edtests.bat djgpp/fnchange.in djgpp/fnchange.lst \ djgpp/getpwnam.c djgpp/msginit.sed djgpp/tscript.sed \ djgpp/unsetenv.c\ -os2/README.OS2 os2/Makefile os2/backward.def os2/configure.awk +os2/README.OS2 os2/Makefile os2/backward.def os2/configure.awk README.vms Makefile.vms README.woe32 Makefile.msvc README.mingw subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs @@ -120,11 +147,11 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ - Makefile.in NEWS THANKS aclocal.m4 config/config.guess \ - config/config.sub config/elisp-comp config/install-sh \ - config/ltmain.sh config/mdate-sh config/missing \ - config/mkinstalldirs config/texinfo.tex config/ylwrap configure \ - configure.ac + Makefile.in NEWS THANKS aclocal.m4 config/compile \ + config/config.guess config/config.rpath config/config.sub \ + config/elisp-comp config/install-sh config/ltmain.sh \ + config/mdate-sh config/missing config/mkinstalldirs \ + config/texinfo.tex config/ylwrap configure configure.ac DIST_SUBDIRS = $(SUBDIRS) all: all-recursive @@ -140,8 +167,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): configure.ac cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) @@ -341,12 +366,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ @@ -485,13 +510,10 @@ uninstall-info: uninstall-info-recursive uninstall-info-recursive uninstall-recursive -# Documentation tags not known to automake. - -ps: - cd gettext-tools && $(MAKE) ps +# Additional dependencies for configure, due to the use of autoconf --trace. +$(srcdir)/configure: $(srcdir)/autoconf-lib-link/configure.ac $(srcdir)/gettext-runtime/configure.ac $(srcdir)/gettext-tools/configure.ac -pdf: - cd gettext-tools && $(MAKE) pdf +# Documentation tag not known to automake. html: cd gettext-tools && $(MAKE) html diff --git a/aclocal.m4 b/aclocal.m4 index 89236c4f1..05c3bc0f3 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) + +# serial 5 -*- Autoconf -*- -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) diff --git a/autoconf-lib-link/Makefile.in b/autoconf-lib-link/Makefile.in index cdaceaadc..d95392e3d 100644 --- a/autoconf-lib-link/Makefile.in +++ b/autoconf-lib-link/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -40,6 +40,8 @@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -49,15 +51,22 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCC = @GCC@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -71,6 +80,7 @@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -84,13 +94,22 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -162,12 +181,13 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive -DIST_COMMON = README ../config/config.guess ../config/config.rpath \ - ../config/config.sub ../config/elisp-comp ../config/install-sh \ - ../config/ltmain.sh ../config/mdate-sh ../config/missing \ - ../config/mkinstalldirs ../config/texinfo.tex ../config/ylwrap \ - AUTHORS COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS \ - aclocal.m4 config.rpath configure configure.ac +DIST_COMMON = README ../config/compile ../config/config.guess \ + ../config/config.rpath ../config/config.sub \ + ../config/elisp-comp ../config/install-sh ../config/ltmain.sh \ + ../config/mdate-sh ../config/missing ../config/mkinstalldirs \ + ../config/texinfo.tex ../config/ylwrap AUTHORS COPYING \ + ChangeLog INSTALL Makefile.am Makefile.in NEWS aclocal.m4 \ + config.rpath configure configure.ac DIST_SUBDIRS = $(SUBDIRS) all: all-recursive @@ -393,12 +413,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ @@ -590,11 +610,7 @@ config/config.rpath: $(srcdir)/config.rpath distclean-am: rm -rf config -# Documentation tags not known to automake. - -ps: - -pdf: +# Documentation tag not known to automake. html: $(srcdir)/tests/rpathx/Makefile.in: $(srcdir)/tests/rpathx/Makefile.am $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4 diff --git a/autoconf-lib-link/aclocal.m4 b/autoconf-lib-link/aclocal.m4 index 548812683..d03e9d18e 100644 --- a/autoconf-lib-link/aclocal.m4 +++ b/autoconf-lib-link/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) + +# serial 5 -*- Autoconf -*- -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -783,15 +824,63 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]) fi])]) -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +# serial 47 AC_PROG_LIBTOOL -# The next line was added by Bruno Haible 2001-06-08. -builtin([undefine],[symbols]) -# serial 46 AC_PROG_LIBTOOL +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + +# AC_PROG_LIBTOOL +# --------------- AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -802,10 +891,13 @@ AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) -]) +])# _AC_PROG_LIBTOOL + +# AC_LIBTOOL_SETUP +# ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.13)dnl +[AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl @@ -815,382 +907,221 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl -AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi ;; esac -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -AC_ARG_ENABLE(libtool-lock, - [ --disable-libtool-lock avoid locking (might break parallel builds)]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_SAVE - AC_LANG_C - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_RESTORE]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Constants: +rm="rm -f" -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) - - case $host/$CC in - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) - # old mingw systems require "-dll" to link a DLL, while more recent ones - # require "-mdll" - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mdll" - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) - CFLAGS="$SAVE_CFLAGS" ;; - *-*-cygwin* | *-*-pw32*) - # cygwin systems need to pass --dll to the linker, and not link - # crt.o which will require a WinMain@16 definition. - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi ;; - ]) esac -_LT_AC_LTCONFIG_HACK - -]) +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) -# AC_LIBTOOL_HEADER_ASSERT -# ------------------------ -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], -[AC_CACHE_CHECK([whether $CC supports assert without backlinking], - [lt_cv_func_assert_works], - [case $host in - *-*-solaris*) - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) lt_cv_func_assert_works=no ;; - *) lt_cv_func_assert_works=yes ;; - esac - fi - ;; - esac]) +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -if test "x$lt_cv_func_assert_works" = xyes; then - AC_CHECK_HEADERS(assert.h) -fi -])# AC_LIBTOOL_HEADER_ASSERT +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h) -])# _LT_AC_CHECK_DLFCN +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[[ABCDGISTW]]' +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat < conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[[]] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC - fi - else - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC - fi - else - echo "$progname: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR -# --------------------------------- -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -1227,7 +1159,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -1300,17 +1232,291 @@ if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then fi AC_SUBST(ECHO) -AC_DIVERT_POP -])# _LT_AC_PROG_ECHO_BACKSLASH +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[if test "$cross_compiling" = yes; then : +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : [$4] else - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext </dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl -old_CC="$CC" -old_CFLAGS="$CFLAGS" +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs else - ac_tool_prefix= + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi - ;; -esac +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -if test -n "$RANLIB"; then + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + esac fi +])# AC_LIBTOOL_SYS_LIB_STRIP -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="[$]2" -AC_MSG_CHECKING([for objdir]) -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi -rmdir .libs 2>/dev/null -AC_MSG_RESULT($objdir) - +need_lib_prefix=unknown +hardcode_into_libs=no -AC_ARG_WITH(pic, -[ --with-pic try to use only PIC/non-PIC objects [default=use both]], -pic_mode="$withval", pic_mode=default) -test -z "$pic_mode" && pic_mode=default +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -AC_MSG_CHECKING([for $compiler option to produce PIC]) -AC_CACHE_VAL(lt_cv_prog_cc_pic, -[ lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - # PORTME Check for PIC flags for the system compiler. + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + can_build_shared=no fi ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; + esac + ;; - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; +freebsd1*) + dynamic_linker=no + ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' - fi + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; *) - lt_cv_prog_cc_can_build_shared=no - ;; - esac - fi -]) -if test -z "$lt_cv_prog_cc_pic"; then - AC_MSG_RESULT([none]) -else - AC_MSG_RESULT([$lt_cv_prog_cc_pic]) - - # Check to make sure the pic_flag actually works. - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - AC_TRY_COMPILE([], [], [dnl - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - ], [dnl - lt_cv_prog_cc_pic_works=no - ]) - CFLAGS="$save_CFLAGS" - ]) - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) -fi +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : - else - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) - lt_cv_prog_cc_can_build_shared=no - fi -fi +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) - LDFLAGS="$save_LDFLAGS" -]) + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) -AC_CACHE_VAL([lt_cv_compiler_c_o], [ -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' else - lt_cv_compiler_c_o=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&AC_FD_CC - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null -]) -compiler_c_o=$lt_cv_compiler_c_o -AC_MSG_RESULT([$compiler_c_o]) - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) - AC_CACHE_VAL([lt_cv_compiler_o_lo], [ - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - ]) - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - ]) - compiler_o_lo=$lt_cv_compiler_o_lo - AC_MSG_RESULT([$compiler_o_lo]) -else - compiler_o_lo=no -fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - ]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$compiler_rtti_exceptions]) +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else - no_builtin_flag=' -fno-builtin' - fi -fi - -# See if the linker supports building shared libraries. -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= - -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no + shlibpath_overrides_runpath=yes fi ;; -openbsd*) - with_gnu_ld=no + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH ;; -esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; -EOF - ;; +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH ;; - esac - - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 - - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else - ld_shlibs=no + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi - ;; - esac - - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= + tagname="" fi - esac + ;; - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG else - shared_flag='${wl}-bM:SRE' + tagname="" fi - fi - fi + ;; - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[[012]]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' - ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" - freebsd1*) - ld_shlibs=no - ;; + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) - cat <&2 -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL -EOF - no_undefined_flag= - ;; - esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [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]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes +EOF + fi ;; + esac + fi + break fi - ;; + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +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 $CC]) + 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. + [[\\/]]* | ?:[[\\/]]*) + 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 + ;; *) - ld_shlibs=no + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown ;; esac -fi -AC_MSG_RESULT([$ld_shlibs]) -test "$ld_shlibs" = no && can_build_shared=no - -# Check hardcoding attributes. -AC_MSG_CHECKING([how to hardcode library paths into programs]) -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then - - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported + AC_MSG_CHECKING([for non-GNU ld]) fi -AC_MSG_RESULT([$hardcode_action]) - -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH - fi - hardcode_into_libs=yes - ;; -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' +# AC_DEPLIBS_CHECK_METHOD +# ----------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], +[AC_CACHE_CHECK([how to recognise dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix4* | aix5*) + lt_cv_deplibs_check_method=pass_all ;; beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH + lt_cv_deplibs_check_method=pass_all ;; bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH + # this will be overwritten by pass_all, but leave it in just in case + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' + lt_cv_file_magic_cmd='/usr/bin/file -L' + case "$host_os" in + rhapsody* | darwin1.[[012]]) + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` + ;; + *) # Darwin 1.3 on + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + ;; + esac + lt_cv_deplibs_check_method=pass_all ;; -freebsd1*) - dynamic_linker=no +freebsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi ;; -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' +gnu*) + lt_cv_deplibs_check_method=pass_all ;; -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5* | nonstopux*) - libsuff= shlibsuff= + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ;; esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes ;; -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx) + lt_cv_deplibs_check_method=unknown ;; openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' else - shlibpath_overrides_runpath=yes + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; - -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH + lt_cv_deplibs_check_method=pass_all ;; solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; *) - dynamic_linker=no + AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' -# Report the final consequences. +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) @@ -3121,6 +3350,34 @@ aix4*) test "$enable_shared" = yes && enable_static=no fi ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; esac AC_MSG_RESULT([$enable_shared]) @@ -3129,230 +3386,1439 @@ AC_MSG_CHECKING([whether to build static libraries]) test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi +AC_LIBTOOL_CONFIG($1) -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG -AC_LIBTOOL_DLOPEN_SELF -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], - [$rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile); then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - ]) - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" +if test "$GXX" = yes; then + # Set up default GNU C++ configuration - echo creating $ofile + AC_PROG_LD - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - cat <<__EOF__ > "${ofile}T" -#! $SHELL + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= -# A sed that does not truncate output. -SED=$lt_SED + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +else + GXX=no + with_gnu_ld=no + wlarc= +fi -# ### BEGIN LIBTOOL CONFIG +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -# Whether or not to build static libraries. -build_old_libs=$enable_static + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -# The host system. -host_alias=$host_alias -host=$host + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' -# The default C compiler. -CC=$lt_CC + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; -# Is the compiler the GNU C compiler? -with_gcc=$GCC + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac -# The linker used to build libraries. -LD=$lt_LD + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler -# Whether we need hard or soft links. -LN_S=$lt_LN_S + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -# A BSD-compatible nm program. -NM=$lt_NM + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -# A symbol stripping program -STRIP=$STRIP + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -# Used on cygwin: assembler. -AS="$AS" + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' -# The name of the directory that contains temporary libtool files. -objdir=$objdir + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" @@ -3360,18 +4826,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -3392,19 +4861,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type @@ -3421,26 +4890,50 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -3448,10 +4941,10 @@ deplibs_check_method=$lt_deplibs_check_method file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -3460,13 +4953,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -3478,36 +4971,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -3516,30 +5018,33 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) -# ### END LIBTOOL CONFIG +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ +ifelse([$1],[], [ case $host_os in aix3*) - cat <<\EOF >> "${ofile}T" + cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems @@ -3548,186 +5053,6 @@ if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi -EOF - ;; - esac - - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi +])# AC_LIBTOOL_CONFIG -])# _LT_AC_LTCONFIG_HACK -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -# AC_ENABLE_SHARED - implement the --enable-shared flag -# Usage: AC_ENABLE_SHARED[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(shared, -changequote(<<, >>)dnl -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl -]) +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no)]) + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI -# AC_ENABLE_STATIC - implement the --enable-static flag -# Usage: AC_ENABLE_STATIC[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(static, -changequote(<<, >>)dnl -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl -]) -# AC_DISABLE_STATIC - set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no)]) +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(fast-install, -changequote(<<, >>)dnl -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl -]) +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no)]) +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' -# AC_LIBTOOL_PICMODE - implement the --with-pic flag -# Usage: AC_LIBTOOL_PICMODE[(MODE)] -# Where MODE is either `yes' or `no'. If omitted, it defaults to -# `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default)]) +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -]) + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif -# AC_PATH_MAGIC - find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) - else - MAGIC_CMD=: - fi -fi -]) +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_ARG_WITH(gnu-ld, -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -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(lt_cv_path_LD, -[if test -z "$LD"; then - IFS="${IFS= }"; ac_save_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 - lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi else - test "$with_gnu_ld" != yes && break + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi - done - IFS="$ac_save_ifs" -else - lt_cv_path_LD="$LD" # Let the user override the test with a path. -fi]) -LD="$lt_cv_path_LD" -if test -n "$LD"; then - AC_MSG_RESULT($LD) + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) else - AC_MSG_RESULT(no) + AC_MSG_RESULT(ok) fi -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU -]) +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# AC_PROG_LD_GNU - -AC_DEFUN([AC_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes -else - lt_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$lt_cv_prog_gnu_ld + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, -[lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac ]) -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; -beos*) - lt_cv_deplibs_check_method=pass_all +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; - -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; - -cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -darwin* | rhapsody*) - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + openbsd*) + with_gnu_ld=no ;; esac - ;; -freebsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi ;; esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi else - lt_cv_deplibs_check_method=pass_all - fi - ;; + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; -# This must be Linux ELF. -linux-gnu*) - case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - ;; + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' - fi - ;; + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' - fi - ;; + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -sysv5uw[[78]]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -]) + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; -# AC_PROG_NM - find the path to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -AC_MSG_CHECKING([for BSD-compatible nm]) -AC_CACHE_VAL(lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi - fi - done - IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -AC_MSG_RESULT([$NM]) + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -# AC_CHECK_LIBM - check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32*) - # These system don't have libm - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, main, LIBM="-lm") +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi ;; esac -]) +])# AC_LIBTOOL_PROG_LD_SHLIBS -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and LTDLINCL are not -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed -# with '${top_srcdir}/' (note the single quotes!). If your package is -# not flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, main, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) + # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) @@ -4345,6 +6597,16 @@ AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # @@ -4358,84 +6620,56 @@ AC_DEFUN([LT_AC_PROG_SED], AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" 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_prog in sed gsed; do + for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done done - rm -rf "$tmp" +done +SED=$lt_cv_path_SED ]) -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi AC_MSG_RESULT([$SED]) ]) -# fixautomake.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# fixautomake.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -4456,7 +6690,7 @@ AC_DEFUN([FIX_MAKEFILE_DISTRIB], [ mv $1.tmp $1 ]) -dnl Fix an automake-1-5.1.7.2 bug: all info files are erased by "make". +dnl Fix an automake-1.5-1.7.2 bug: all info files are erased by "make". AC_DEFUN([FIX_MAKEFILE_INFO], [ sed -e '/@rm -f \$''@/d' < $1 > $1.tmp mv $1.tmp $1 diff --git a/autoconf-lib-link/configure b/autoconf-lib-link/configure index 1fad35945..caca522ae 100755 --- a/autoconf-lib-link/configure +++ b/autoconf-lib-link/configure @@ -240,17 +240,6 @@ IFS=" $as_nl" $as_unset CDPATH -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -269,7 +258,7 @@ if test "X$1" = X--no-reexec; then elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else @@ -281,7 +270,7 @@ if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -325,7 +315,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -399,6 +389,11 @@ fi + +tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + +tagnames=`echo "$tagnames,F77" | sed 's/^,//'` + # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. @@ -467,7 +462,7 @@ ac_includes_default="\ # 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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL GCC LD with_gnu_ld aclocaldir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GCC LD with_gnu_ld aclocaldir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -928,6 +923,26 @@ ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP +ac_env_CXX_set=${CXX+set} +ac_env_CXX_value=$CXX +ac_cv_env_CXX_set=${CXX+set} +ac_cv_env_CXX_value=$CXX +ac_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_env_CXXFLAGS_value=$CXXFLAGS +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. @@ -1009,16 +1024,22 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared=PKGS build shared libraries default=yes - --enable-static=PKGS build static libraries default=yes - --enable-fast-install=PKGS optimize for fast installation default=yes + --enable-shared[=PKGS] + build shared libraries [default=yes] + --enable-static[=PKGS] + build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) 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-pic try to use only PIC/non-PIC objects default=use both + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] + include additional configurations [automatic] Some influential environment variables: CC C compiler command @@ -1028,6 +1049,11 @@ Some influential environment variables: CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1681,6 +1707,15 @@ 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 @@ -2695,16 +2730,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2818,11 +2844,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2988,82 +3020,150 @@ host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_shared=yes fi; + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_static=yes fi; + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_fast_install=yes fi; -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator + +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + +fi + +echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6 + +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 + # Check whether --with-gnu-ld or --without-gnu-ld was given. @@ -3076,8 +3176,8 @@ 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 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3087,12 +3187,12 @@ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 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'` + 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%/%"` + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -3116,22 +3216,26 @@ if test "${lt_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=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + case `"$lt_cv_path_LD" -v 2>&1 &6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then +case `"$LD" -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 @@ -3175,7 +3282,11 @@ fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -3186,120 +3297,42 @@ else # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac fi done - IFS="$ac_save_ifs" + IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi - +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" - -fi - -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi -echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 @@ -3327,7 +3360,7 @@ lt_cv_deplibs_check_method='unknown' # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. +# which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3347,21 +3380,24 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac + lt_cv_deplibs_check_method=pass_all ;; freebsd*) @@ -3384,10 +3420,22 @@ gnu*) lt_cv_deplibs_check_method=pass_all ;; -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' +hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) @@ -3412,9 +3460,9 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux-gnu*) +linux*) case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -3425,9 +3473,9 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; @@ -3437,6 +3485,10 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` @@ -3463,10 +3515,6 @@ solaris*) lt_cv_file_magic_test_file=/lib/libc.so ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) @@ -3490,6 +3538,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ;; esac ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; esac fi @@ -3497,275 +3549,506 @@ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} +# Allow CC to be a program name with arguments. +compiler=$CC +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:$LINENO: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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 + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 3593 "configure"' > conftest.$ac_ext + 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 + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris* | sysv5*) - symcode='[BDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[ABCDGISTW]' -fi - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - rm -f conftest* - cat > conftest.$ac_ext < conftest.$ac_ext 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 - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + 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 - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = +int +main () { -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; -#ifdef __cplusplus + ; + return 0; } -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +_ACEOF +rm -f conftest.$ac_objext 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); } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done - -fi - -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6 + (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 + lt_cv_cc_needs_belf=yes else - echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -ac_ext=c +lt_cv_cc_needs_belf=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext 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 -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 "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*-cygwin* | *-*-mingw* | *-*-pw32*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+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 + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH 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 -#line $LINENO "configure" -/* 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 - else - ac_cpp_err= + 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_DLLTOOL="${ac_tool_prefix}dlltool" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi -else - ac_cpp_err=yes +done +done + fi -if test -z "$ac_cpp_err"; then - : +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + echo "$as_me:$LINENO: result: $DLLTOOL" >&5 +echo "${ECHO_T}$DLLTOOL" >&6 else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi - # Broken: fails on valid input. -continue +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; 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_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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_DLLTOOL="dlltool" + 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_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + DLLTOOL=$ac_ct_DLLTOOL +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. +set dummy ${ac_tool_prefix}as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AS"; then + ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AS=$ac_cv_prog_AS +if test -n "$AS"; then + echo "$as_me:$LINENO: result: $AS" >&5 +echo "${ECHO_T}$AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AS"; then + ac_ct_AS=$AS + # Extract the first word of "as", so it can be a program name with args. +set dummy as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AS"; then + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # 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_AS="as" + 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_AS" && ac_cv_prog_ac_ct_AS="false" +fi +fi +ac_ct_AS=$ac_cv_prog_ac_ct_AS +if test -n "$ac_ct_AS"; then + echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 +echo "${ECHO_T}$ac_ct_AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AS=$ac_ct_AS +else + AS="$ac_cv_prog_AS" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + echo "$as_me:$LINENO: result: $OBJDUMP" >&5 +echo "${ECHO_T}$OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_OBJDUMP="objdump" + 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_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + OBJDUMP=$ac_ct_OBJDUMP +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + + ;; + +esac + +need_locks="$enable_libtool_lock" + + +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 +#line $LINENO "configure" +/* 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 + 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 @@ -3936,21 +4219,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ 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 @@ -4316,160 +4584,23 @@ fi done - - - - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC + 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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -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. + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4478,7 +4609,7 @@ do 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" + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4487,27 +4618,31 @@ 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 +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi + test -n "$CXX" && break + done 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 +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC +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_RANLIB+set}" = set; then +if test "${ac_cv_prog_ac_ct_CXX+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. + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4516,765 +4651,10814 @@ do 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" + ac_cv_prog_ac_ct_CXX="$ac_prog" 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 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&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" + test -n "$ac_ct_CXX" && break +done +test -n "$ac_ct_CXX" || ac_ct_CXX="g++" + + CXX=$ac_ct_CXX fi -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 + +# 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); } + +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_cxx_compiler_gnu+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. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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>&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 -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 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +CXXFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cxx_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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>&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_cxx_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_cxx_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" fi -done -done +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +for ac_declaration in \ + ''\ + '#include ' \ + '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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +$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>&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.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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>&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.$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 + +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +depcc="$CXX" 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_CXX_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 + + am_cv_CXX_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 + # 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. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}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=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h 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 + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi + +fi +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' +else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= +fi + + +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 + 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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # 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_F77="$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 +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 +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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_F77" && break +done + + F77=$ac_ct_F77 +fi + + +# Provide some information about the compiler. +echo "$as_me:5317:" \ + "checking for Fortran 77 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); } + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. +ac_save_ext=$ac_ext +ac_ext=F +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 +ac_ext=$ac_save_ext +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_f77_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "$G77" = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "$G77" = yes; then + FFLAGS="-O2" + else + FFLAGS= + fi +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 + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGISTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + 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); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6 +else + echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 +fi + +echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6 +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" + 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_AR" && ac_cv_prog_ac_ct_AR="false" +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AR=$ac_ct_AR +else + AR="$ac_cv_prog_AR" +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 + +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 + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=yes + +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +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 + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6322: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6326: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6554: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6558: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6621: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:6625: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6 +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6 + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + tagnames="$withval" +fi; + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# 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; +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 $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $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. + [\\/]* | ?:[\\/]*) + 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 "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &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 "${lt_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}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10875: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:10879: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10942: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:10946: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6 + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13117: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:13121: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13184: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:13188: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6 +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6 + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 -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 +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds -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 +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval - 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 +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - STRIP=$ac_ct_STRIP -else - STRIP="$ac_cv_prog_STRIP" -fi +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -enable_dlopen=no -enable_win32_dll=no +# This is the shared library runtime path variable. +runpath_var=$runpath_var -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" +# This is the shared library path variable. +shlibpath_var=$shlibpath_var -fi; -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 4639 "configure"' > conftest.$ac_ext - 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 - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 - 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 ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 -int -main () -{ +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext 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='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 - lt_cv_cc_needs_belf=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 -lt_cv_cc_needs_belf=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext 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 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 -fi -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" -esac +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" -# Constants: -rm="rm -f" +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 -# Global variables: -default_ofile=libtool -can_build_shared=yes +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds -old_CC="$CC" -old_CFLAGS="$CFLAGS" +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- else - ac_tool_prefix= + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +# ltmain only uses $CC for tagged configurations so make sure $CC is set. -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. -set dummy $CC -compiler="$2" +compiler=$CC -echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15136: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15140: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + fi -rmdir .libs 2>/dev/null -echo "$as_me:$LINENO: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi +fi -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" -else - pic_mode=default -fi; -test -z "$pic_mode" && pic_mode=default +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi ;; + amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' + lt_prog_compiler_pic_GCJ='-fno-common' ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no ;; + sysv4*MP*) if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic + lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + *) - lt_cv_prog_cc_pic='-fPIC' + lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else - # PORTME Check for PIC flags for the system compiler. + # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_static_GCJ='-Bstatic' else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac ;; osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_static_GCJ='-non_shared' ;; sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' ;; solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' fi ;; + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + *) - lt_cv_prog_cc_can_build_shared=no + lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi -fi - -if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -else - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 - - # Check to make sure the pic_flag actually works. - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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>&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 - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_prog_cc_pic_works=no - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - -fi - - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi - - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 -fi - -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : - else - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} - lt_cv_prog_cc_can_build_shared=no - fi -fi - -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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 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='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 - lt_cv_prog_cc_static_works=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi - - -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:5181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&5 - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null - -fi - -compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:$LINENO: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15368: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15372: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* fi -rm -f conftest.$ac_objext conftest.$ac_ext - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac - compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - compiler_o_lo=no + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15435: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15439: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 + -# Check to see if we can do hard links to lock some files if needed hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 @@ -5295,135 +15479,72 @@ else need_locks=no fi -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no fi - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 - - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi -fi - -# See if the linker supports building shared libraries. -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= - -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then + ;; + openbsd*) with_gnu_ld=no - fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac + ;; + esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. @@ -5432,125 +15553,73 @@ if test "$with_gnu_ld" = yes; then *** so that a non-GNU linker is found, and then restart. EOF - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ + fi ;; - esac - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; + ld_shlibs=no + fi + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool @@ -5560,529 +15629,757 @@ EOF *** used, and then restart. EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no ;; + *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else - whole_archive_flag_spec= + ld_shlibs_GCJ=no fi ;; esac - fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi fi - ;; + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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 - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi - fi - - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + fi ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; - freebsd1*) - ld_shlibs=no - ;; + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + freebsd1*) + ld_shlibs_GCJ=no + ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [12].*) - cat <&2 + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -EOF - no_undefined_flag= - ;; + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; + link_all_deplibs_GCJ=yes + ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + *) + ld_shlibs_GCJ=no + ;; + esac + fi - *) - ld_shlibs=no - ;; - esac +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6 +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 -test "$ld_shlibs" = no && can_build_shared=no -# Check hardcoding attributes. +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 + ;; + esac + fi + ;; +esac + echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && + if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. - hardcode_action=relink + hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate + hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. - hardcode_action=unsupported + hardcode_action_GCJ=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless fi -echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 striplib= old_striplib= @@ -6094,19 +16391,31 @@ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= +shrext=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= @@ -6116,16 +16425,35 @@ shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown case $host_os in aix3*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) @@ -6135,7 +16463,7 @@ aix4* | aix5*) hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file @@ -6145,33 +16473,31 @@ aix4* | aix5*) # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' + soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi - hardcode_into_libs=yes ;; amigaos*) @@ -6181,7 +16507,7 @@ amigaos*) ;; beos*) - library_names_spec='${libname}.so' + library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; @@ -6189,13 +16515,12 @@ beos*) bsdi4*) version_type=linux need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs @@ -6203,29 +16528,55 @@ bsdi4*) cygwin* | mingw* | pw32*) version_type=windows + shrext=".dll" need_version=no need_lib_prefix=no + case $GCC,$host_os in - yes,cygwin*) + yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' - ;; + *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' @@ -6241,10 +16592,25 @@ darwin* | rhapsody*) # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) @@ -6255,8 +16621,8 @@ freebsd*-gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes @@ -6268,12 +16634,12 @@ freebsd*) version_type=freebsd-$objformat case $version_type in freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac @@ -6282,7 +16648,11 @@ freebsd*) freebsd2*) shlibpath_overrides_runpath=yes ;; - *) + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; @@ -6293,8 +16663,8 @@ gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; @@ -6302,14 +16672,45 @@ gnu*) hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. - dynamic_linker="$host_os dld.sl" version_type=sunos need_lib_prefix=no need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; @@ -6317,21 +16718,29 @@ hpux9* | hpux10* | hpux11*) irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; esac need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; @@ -6340,20 +16749,21 @@ irix5* | irix6* | nonstopux*) shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) +linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. -linux-gnu*) +linux*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no @@ -6376,12 +16786,12 @@ netbsd*) need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH @@ -6391,7 +16801,17 @@ netbsd*) newsos6) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; @@ -6400,46 +16820,47 @@ openbsd*) version_type=sunos need_lib_prefix=no need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else shlibpath_overrides_runpath=yes fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH ;; os2*) libname_spec='$name' + shrext=".dll" need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' + library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf + need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes ;; sco3.2v5*) version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; @@ -6447,8 +16868,8 @@ solaris*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes @@ -6458,7 +16879,7 @@ solaris*) sunos4*) version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -6470,8 +16891,8 @@ sunos4*) sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) @@ -6492,31 +16913,22 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - sysv4*MP*) if test -d /usr/nec ;then version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + *) dynamic_linker=no ;; @@ -6525,57 +16937,6 @@ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no -# Report the final consequences. -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6 - -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown @@ -6591,11 +16952,84 @@ else lt_cv_dlopen_self=yes ;; - cygwin* | mingw* | pw32*) + mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 @@ -7003,7 +17437,7 @@ fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" @@ -7019,10 +17453,10 @@ else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 - fi +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - $rm conftest* - echo 'static int dummy;' > conftest.$ac_ext +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ - 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 - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* +# ### END LIBTOOL TAG CONFIG: $tagname -fi +__EOF__ - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the @@ -7296,39 +18052,123 @@ else test -f Makefile && make "$ltmain" fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; @@ -7338,46 +18178,16 @@ if test -f "$ltmain"; then esac done - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +cfgfile="$ofile" -# ### BEGIN LIBTOOL CONFIG + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: @@ -7391,7 +18201,10 @@ build_libtool_libs=$enable_shared build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install @@ -7407,14 +18220,20 @@ echo=$lt_echo AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS -# The default C compiler. -CC=$lt_CC +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC # Is the compiler the GNU C compiler? -with_gcc=$GCC +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP # The linker used to build libraries. -LD=$lt_LD +LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S @@ -7445,7 +18264,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" @@ -7453,18 +18272,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -7485,19 +18307,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type @@ -7514,26 +18336,50 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -7541,10 +18387,10 @@ deplibs_check_method=$lt_deplibs_check_method file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -7553,13 +18399,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -7571,36 +18417,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -7609,234 +18464,72 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_include_expsyms_RC -# ### END LIBTOOL CONFIG +# ### END LIBTOOL TAG CONFIG: $tagname __EOF__ - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) +CC="$lt_save_CC" - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi @@ -7855,6 +18548,24 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + @@ -8006,6 +18717,13 @@ 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 "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" 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 @@ -8550,6 +19268,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -8574,12 +19293,30 @@ 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,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t +s,@AR@,$AR,;t t +s,@ac_ct_AR@,$ac_ct_AR,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@DLLTOOL@,$DLLTOOL,;t t +s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t +s,@AS@,$AS,;t t +s,@ac_ct_AS@,$ac_ct_AS,;t t +s,@OBJDUMP@,$OBJDUMP,;t t +s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t s,@CPP@,$CPP,;t t -s,@EGREP@,$EGREP,;t t +s,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t +s,@ac_ct_CXX@,$ac_ct_CXX,;t t +s,@CXXDEPMODE@,$CXXDEPMODE,;t t +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@GCC@,$GCC,;t t s,@LD@,$LD,;t t diff --git a/autoconf-lib-link/m4/Makefile.in b/autoconf-lib-link/m4/Makefile.in index ee902813a..8a5551275 100644 --- a/autoconf-lib-link/m4/Makefile.in +++ b/autoconf-lib-link/m4/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -51,15 +53,22 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCC = @GCC@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -73,6 +82,7 @@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -86,14 +96,23 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ diff --git a/autoconf-lib-link/tests/Makefile.in b/autoconf-lib-link/tests/Makefile.in index 90d2393bb..bcff8833d 100644 --- a/autoconf-lib-link/tests/Makefile.in +++ b/autoconf-lib-link/tests/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -40,6 +40,8 @@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -49,15 +51,22 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCC = @GCC@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -71,6 +80,7 @@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -84,13 +94,22 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ diff --git a/autoconf-lib-link/tests/rpathlx/Makefile.in b/autoconf-lib-link/tests/rpathlx/Makefile.in index 5f34409a7..e5800f29d 100644 --- a/autoconf-lib-link/tests/rpathlx/Makefile.in +++ b/autoconf-lib-link/tests/rpathlx/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -83,6 +83,7 @@ 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@ @@ -137,13 +138,13 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(usex_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(usex_SOURCES) all: all-am @@ -324,12 +325,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathlx/aclocal.m4 b/autoconf-lib-link/tests/rpathlx/aclocal.m4 index 6584790a6..21ba8216c 100644 --- a/autoconf-lib-link/tests/rpathlx/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathlx/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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. -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# 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])]) + +# serial 5 -*- Autoconf -*- + +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -877,8 +918,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -899,8 +939,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], diff --git a/autoconf-lib-link/tests/rpathlx/configure b/autoconf-lib-link/tests/rpathlx/configure index e8cb7d5e8..4eef07ddb 100755 --- a/autoconf-lib-link/tests/rpathlx/configure +++ b/autoconf-lib-link/tests/rpathlx/configure @@ -271,7 +271,7 @@ PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.ac" -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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1476,6 +1476,15 @@ 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 @@ -2489,16 +2498,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2612,11 +2612,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2850,8 +2856,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -3968,6 +3972,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t diff --git a/autoconf-lib-link/tests/rpathly/Makefile.in b/autoconf-lib-link/tests/rpathly/Makefile.in index e775ed66f..efe8bcac9 100644 --- a/autoconf-lib-link/tests/rpathly/Makefile.in +++ b/autoconf-lib-link/tests/rpathly/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -83,6 +83,7 @@ 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@ @@ -137,13 +138,13 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(usey_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(usey_SOURCES) all: all-am @@ -324,12 +325,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathly/aclocal.m4 b/autoconf-lib-link/tests/rpathly/aclocal.m4 index 6584790a6..21ba8216c 100644 --- a/autoconf-lib-link/tests/rpathly/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathly/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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. -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# 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])]) + +# serial 5 -*- Autoconf -*- + +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -877,8 +918,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -899,8 +939,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], diff --git a/autoconf-lib-link/tests/rpathly/configure b/autoconf-lib-link/tests/rpathly/configure index 073dcb25e..bb584091a 100755 --- a/autoconf-lib-link/tests/rpathly/configure +++ b/autoconf-lib-link/tests/rpathly/configure @@ -271,7 +271,7 @@ PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.ac" -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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHY LTLIBRPATHY global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHY LTLIBRPATHY global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1476,6 +1476,15 @@ 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 @@ -2489,16 +2498,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2612,11 +2612,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2850,8 +2856,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -3968,6 +3972,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t diff --git a/autoconf-lib-link/tests/rpathlyx/Makefile.in b/autoconf-lib-link/tests/rpathlyx/Makefile.in index 7ce9fb11e..53e92c34c 100644 --- a/autoconf-lib-link/tests/rpathlyx/Makefile.in +++ b/autoconf-lib-link/tests/rpathlyx/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -85,6 +85,7 @@ 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@ @@ -139,13 +140,13 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(usey_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(usey_SOURCES) all: all-am @@ -326,12 +327,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathlyx/aclocal.m4 b/autoconf-lib-link/tests/rpathlyx/aclocal.m4 index 6584790a6..21ba8216c 100644 --- a/autoconf-lib-link/tests/rpathlyx/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathlyx/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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. -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# 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])]) + +# serial 5 -*- Autoconf -*- + +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -877,8 +918,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -899,8 +939,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], diff --git a/autoconf-lib-link/tests/rpathlyx/configure b/autoconf-lib-link/tests/rpathlyx/configure index 7461a878b..140a33ae8 100755 --- a/autoconf-lib-link/tests/rpathlyx/configure +++ b/autoconf-lib-link/tests/rpathlyx/configure @@ -271,7 +271,7 @@ PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.ac" -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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1478,6 +1478,15 @@ 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 @@ -2491,16 +2500,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2614,11 +2614,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2852,8 +2858,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -4399,6 +4403,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t diff --git a/autoconf-lib-link/tests/rpathlz/Makefile.in b/autoconf-lib-link/tests/rpathlz/Makefile.in index 3c93af0bf..7a525c36e 100644 --- a/autoconf-lib-link/tests/rpathlz/Makefile.in +++ b/autoconf-lib-link/tests/rpathlz/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -83,6 +83,7 @@ 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@ @@ -137,13 +138,13 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(usez_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(usez_SOURCES) all: all-am @@ -324,12 +325,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathlz/aclocal.m4 b/autoconf-lib-link/tests/rpathlz/aclocal.m4 index 6584790a6..21ba8216c 100644 --- a/autoconf-lib-link/tests/rpathlz/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathlz/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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. -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# 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])]) + +# serial 5 -*- Autoconf -*- + +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -877,8 +918,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -899,8 +939,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], diff --git a/autoconf-lib-link/tests/rpathlz/configure b/autoconf-lib-link/tests/rpathlz/configure index cb992a2a9..691f9d5c4 100755 --- a/autoconf-lib-link/tests/rpathlz/configure +++ b/autoconf-lib-link/tests/rpathlz/configure @@ -271,7 +271,7 @@ PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.ac" -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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHZ LTLIBRPATHZ global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHZ LTLIBRPATHZ global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1476,6 +1476,15 @@ 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 @@ -2489,16 +2498,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2612,11 +2612,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2850,8 +2856,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -3968,6 +3972,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t diff --git a/autoconf-lib-link/tests/rpathlzyx/Makefile.in b/autoconf-lib-link/tests/rpathlzyx/Makefile.in index 1c4b35736..87a50ba52 100644 --- a/autoconf-lib-link/tests/rpathlzyx/Makefile.in +++ b/autoconf-lib-link/tests/rpathlzyx/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -87,6 +87,7 @@ 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@ @@ -141,13 +142,13 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(usez_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(usez_SOURCES) all: all-am @@ -328,12 +329,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathlzyx/aclocal.m4 b/autoconf-lib-link/tests/rpathlzyx/aclocal.m4 index 6584790a6..21ba8216c 100644 --- a/autoconf-lib-link/tests/rpathlzyx/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathlzyx/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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. -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# 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])]) + +# serial 5 -*- Autoconf -*- + +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -877,8 +918,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -899,8 +939,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], diff --git a/autoconf-lib-link/tests/rpathlzyx/configure b/autoconf-lib-link/tests/rpathlzyx/configure index ed525479d..56055e0e0 100755 --- a/autoconf-lib-link/tests/rpathlzyx/configure +++ b/autoconf-lib-link/tests/rpathlzyx/configure @@ -271,7 +271,7 @@ PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.ac" -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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY LIBRPATHZ LTLIBRPATHZ global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY LIBRPATHZ LTLIBRPATHZ global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1480,6 +1480,15 @@ 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 @@ -2493,16 +2502,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2616,11 +2616,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2854,8 +2860,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -4829,6 +4833,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t diff --git a/autoconf-lib-link/tests/rpathx/Makefile.in b/autoconf-lib-link/tests/rpathx/Makefile.in index 1ef22f197..b8c0a42d5 100644 --- a/autoconf-lib-link/tests/rpathx/Makefile.in +++ b/autoconf-lib-link/tests/rpathx/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -40,6 +40,7 @@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -49,6 +50,10 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -58,6 +63,8 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -82,12 +89,18 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -142,13 +155,13 @@ CCLD = $(CC) LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(librpathx_la_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(librpathx_la_SOURCES) all: all-am @@ -344,12 +357,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathx/aclocal.m4 b/autoconf-lib-link/tests/rpathx/aclocal.m4 index 88140fa7a..860d3a062 100644 --- a/autoconf-lib-link/tests/rpathx/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathx/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) + +# serial 5 -*- Autoconf -*- -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -783,15 +824,63 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]) fi])]) -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +# serial 47 AC_PROG_LIBTOOL -# The next line was added by Bruno Haible 2001-06-08. -builtin([undefine],[symbols]) -# serial 46 AC_PROG_LIBTOOL +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + +# AC_PROG_LIBTOOL +# --------------- AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -802,10 +891,13 @@ AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) -]) +])# _AC_PROG_LIBTOOL + +# AC_LIBTOOL_SETUP +# ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.13)dnl +[AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl @@ -815,382 +907,221 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl -AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi ;; esac -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -AC_ARG_ENABLE(libtool-lock, - [ --disable-libtool-lock avoid locking (might break parallel builds)]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_SAVE - AC_LANG_C - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_RESTORE]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Constants: +rm="rm -f" -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) - - case $host/$CC in - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) - # old mingw systems require "-dll" to link a DLL, while more recent ones - # require "-mdll" - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mdll" - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) - CFLAGS="$SAVE_CFLAGS" ;; - *-*-cygwin* | *-*-pw32*) - # cygwin systems need to pass --dll to the linker, and not link - # crt.o which will require a WinMain@16 definition. - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi ;; - ]) esac -_LT_AC_LTCONFIG_HACK - -]) +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) -# AC_LIBTOOL_HEADER_ASSERT -# ------------------------ -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], -[AC_CACHE_CHECK([whether $CC supports assert without backlinking], - [lt_cv_func_assert_works], - [case $host in - *-*-solaris*) - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) lt_cv_func_assert_works=no ;; - *) lt_cv_func_assert_works=yes ;; - esac - fi - ;; - esac]) +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -if test "x$lt_cv_func_assert_works" = xyes; then - AC_CHECK_HEADERS(assert.h) -fi -])# AC_LIBTOOL_HEADER_ASSERT +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h) -])# _LT_AC_CHECK_DLFCN +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[[ABCDGISTW]]' +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat < conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[[]] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC - fi - else - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC - fi - else - echo "$progname: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR -# --------------------------------- -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -1227,7 +1159,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -1300,17 +1232,291 @@ if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then fi AC_SUBST(ECHO) -AC_DIVERT_POP -])# _LT_AC_PROG_ECHO_BACKSLASH +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[if test "$cross_compiling" = yes; then : +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : [$4] else - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext </dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl -old_CC="$CC" -old_CFLAGS="$CFLAGS" +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs else - ac_tool_prefix= + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi - ;; -esac +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -if test -n "$RANLIB"; then + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + esac fi +])# AC_LIBTOOL_SYS_LIB_STRIP -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="[$]2" -AC_MSG_CHECKING([for objdir]) -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi -rmdir .libs 2>/dev/null -AC_MSG_RESULT($objdir) - +need_lib_prefix=unknown +hardcode_into_libs=no -AC_LIBTOOL_ARG_WITH(pic, -[ --with-pic try to use only PIC/non-PIC objects [default=use both]], -pic_mode="$withval", pic_mode=default) -test -z "$pic_mode" && pic_mode=default +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -AC_MSG_CHECKING([for $compiler option to produce PIC]) -AC_CACHE_VAL(lt_cv_prog_cc_pic, -[ lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - # PORTME Check for PIC flags for the system compiler. + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + can_build_shared=no fi ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; + esac + ;; - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; +freebsd1*) + dynamic_linker=no + ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' - fi + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; *) - lt_cv_prog_cc_can_build_shared=no - ;; - esac - fi -]) -if test -z "$lt_cv_prog_cc_pic"; then - AC_MSG_RESULT([none]) -else - AC_MSG_RESULT([$lt_cv_prog_cc_pic]) - - # Check to make sure the pic_flag actually works. - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - AC_TRY_COMPILE([], [], [dnl - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - ], [dnl - lt_cv_prog_cc_pic_works=no - ]) - CFLAGS="$save_CFLAGS" - ]) - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) -fi +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : - else - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) - lt_cv_prog_cc_can_build_shared=no - fi -fi +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) - LDFLAGS="$save_LDFLAGS" -]) + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) -AC_CACHE_VAL([lt_cv_compiler_c_o], [ -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' else - lt_cv_compiler_c_o=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&AC_FD_CC - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null -]) -compiler_c_o=$lt_cv_compiler_c_o -AC_MSG_RESULT([$compiler_c_o]) - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) - AC_CACHE_VAL([lt_cv_compiler_o_lo], [ - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - ]) - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - ]) - compiler_o_lo=$lt_cv_compiler_o_lo - AC_MSG_RESULT([$compiler_o_lo]) -else - compiler_o_lo=no -fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - ]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$compiler_rtti_exceptions]) +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else - no_builtin_flag=' -fno-builtin' - fi -fi - -# See if the linker supports building shared libraries. -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= - -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no + shlibpath_overrides_runpath=yes fi ;; -openbsd*) - with_gnu_ld=no + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH ;; -esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; -EOF - ;; +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH ;; - esac - - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 - - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else - ld_shlibs=no + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi - ;; - esac - - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= + tagname="" fi - esac + ;; - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG else - shared_flag='${wl}-bM:SRE' + tagname="" fi - fi - fi + ;; - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[[012]]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' - ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" - freebsd1*) - ld_shlibs=no - ;; + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) - cat <&2 -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL -EOF - no_undefined_flag= - ;; - esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [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]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes +EOF + fi ;; + esac + fi + break fi - ;; + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +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 $CC]) + 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. + [[\\/]]* | ?:[[\\/]]*) + 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 + ;; *) - ld_shlibs=no + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown ;; esac -fi -AC_MSG_RESULT([$ld_shlibs]) -test "$ld_shlibs" = no && can_build_shared=no - -# Check hardcoding attributes. -AC_MSG_CHECKING([how to hardcode library paths into programs]) -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then - - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported + AC_MSG_CHECKING([for non-GNU ld]) fi -AC_MSG_RESULT([$hardcode_action]) - -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH - fi - hardcode_into_libs=yes - ;; -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' +# AC_DEPLIBS_CHECK_METHOD +# ----------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], +[AC_CACHE_CHECK([how to recognise dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix4* | aix5*) + lt_cv_deplibs_check_method=pass_all ;; beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH + lt_cv_deplibs_check_method=pass_all ;; bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH + # this will be overwritten by pass_all, but leave it in just in case + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' + lt_cv_file_magic_cmd='/usr/bin/file -L' + case "$host_os" in + rhapsody* | darwin1.[[012]]) + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` + ;; + *) # Darwin 1.3 on + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + ;; + esac + lt_cv_deplibs_check_method=pass_all ;; -freebsd1*) - dynamic_linker=no +freebsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi ;; -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' +gnu*) + lt_cv_deplibs_check_method=pass_all ;; -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5* | nonstopux*) - libsuff= shlibsuff= + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ;; esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes ;; -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx) + lt_cv_deplibs_check_method=unknown ;; openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' else - shlibpath_overrides_runpath=yes + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; - -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH + lt_cv_deplibs_check_method=pass_all ;; solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; *) - dynamic_linker=no + AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' -# Report the final consequences. +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) @@ -3121,6 +3350,34 @@ aix4*) test "$enable_shared" = yes && enable_static=no fi ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; esac AC_MSG_RESULT([$enable_shared]) @@ -3129,230 +3386,1439 @@ AC_MSG_CHECKING([whether to build static libraries]) test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi +AC_LIBTOOL_CONFIG($1) -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG -AC_LIBTOOL_DLOPEN_SELF -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], - [$rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile); then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - ]) - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" +if test "$GXX" = yes; then + # Set up default GNU C++ configuration - echo creating $ofile + AC_PROG_LD - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - cat <<__EOF__ > "${ofile}T" -#! $SHELL + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= -# A sed that does not truncate output. -SED=$lt_SED + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +else + GXX=no + with_gnu_ld=no + wlarc= +fi -# ### BEGIN LIBTOOL CONFIG +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -# Whether or not to build static libraries. -build_old_libs=$enable_static + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -# The host system. -host_alias=$host_alias -host=$host + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' -# The default C compiler. -CC=$lt_CC + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; -# Is the compiler the GNU C compiler? -with_gcc=$GCC + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac -# The linker used to build libraries. -LD=$lt_LD + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler -# Whether we need hard or soft links. -LN_S=$lt_LN_S + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -# A BSD-compatible nm program. -NM=$lt_NM + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -# A symbol stripping program -STRIP=$STRIP + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -# Used on cygwin: assembler. -AS="$AS" + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' -# The name of the directory that contains temporary libtool files. -objdir=$objdir + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" @@ -3360,18 +4826,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -3392,19 +4861,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type @@ -3421,26 +4890,50 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -3448,10 +4941,10 @@ deplibs_check_method=$lt_deplibs_check_method file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -3460,13 +4953,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -3478,36 +4971,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -3516,30 +5018,33 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) -# ### END LIBTOOL CONFIG +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ +ifelse([$1],[], [ case $host_os in aix3*) - cat <<\EOF >> "${ofile}T" + cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems @@ -3548,186 +5053,6 @@ if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi -EOF - ;; - esac - - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi +])# AC_LIBTOOL_CONFIG -])# _LT_AC_LTCONFIG_HACK -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -# AC_ENABLE_SHARED - implement the --enable-shared flag -# Usage: AC_ENABLE_SHARED[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(shared, -changequote(<<, >>)dnl -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl -]) +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no)]) + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI -# AC_ENABLE_STATIC - implement the --enable-static flag -# Usage: AC_ENABLE_STATIC[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(static, -changequote(<<, >>)dnl -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl -]) -# AC_DISABLE_STATIC - set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no)]) +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(fast-install, -changequote(<<, >>)dnl -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl -]) +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no)]) +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' -# AC_LIBTOOL_PICMODE - implement the --with-pic flag -# Usage: AC_LIBTOOL_PICMODE[(MODE)] -# Where MODE is either `yes' or `no'. If omitted, it defaults to -# `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default)]) +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -]) + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif -# AC_PATH_MAGIC - find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) - else - MAGIC_CMD=: - fi -fi -]) +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_LIBTOOL_ARG_WITH(gnu-ld, -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -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(lt_cv_path_LD, -[if test -z "$LD"; then - IFS="${IFS= }"; ac_save_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 - lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi else - test "$with_gnu_ld" != yes && break + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi - done - IFS="$ac_save_ifs" -else - lt_cv_path_LD="$LD" # Let the user override the test with a path. -fi]) -LD="$lt_cv_path_LD" -if test -n "$LD"; then - AC_MSG_RESULT($LD) + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) else - AC_MSG_RESULT(no) + AC_MSG_RESULT(ok) fi -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU -]) +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# AC_PROG_LD_GNU - -AC_DEFUN([AC_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes -else - lt_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$lt_cv_prog_gnu_ld + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, -[lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac ]) -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; -beos*) - lt_cv_deplibs_check_method=pass_all +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; - -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; - -cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -darwin* | rhapsody*) - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + openbsd*) + with_gnu_ld=no ;; esac - ;; -freebsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi ;; esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi else - lt_cv_deplibs_check_method=pass_all - fi - ;; + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; -# This must be Linux ELF. -linux-gnu*) - case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - ;; + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' - fi - ;; + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' - fi - ;; + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -sysv5uw[[78]]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -]) + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; -# AC_PROG_NM - find the path to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -AC_MSG_CHECKING([for BSD-compatible nm]) -AC_CACHE_VAL(lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi - fi - done - IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -AC_MSG_RESULT([$NM]) + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -# AC_CHECK_LIBM - check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32*) - # These system don't have libm - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, main, LIBM="-lm") +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi ;; esac -]) +])# AC_LIBTOOL_PROG_LD_SHLIBS -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and LTDLINCL are not -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed -# with '${top_srcdir}/' (note the single quotes!). If your package is -# not flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, main, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) -dnl AC_LIBTOOL_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_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], -[AC_DEFUN([AC_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) @@ -4352,6 +6597,16 @@ AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # @@ -4365,79 +6620,51 @@ AC_DEFUN([LT_AC_PROG_SED], AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" 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_prog in sed gsed; do + for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done done - rm -rf "$tmp" +done +SED=$lt_cv_path_SED ]) -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi AC_MSG_RESULT([$SED]) ]) diff --git a/autoconf-lib-link/tests/rpathx/configure b/autoconf-lib-link/tests/rpathx/configure index 08c88c05b..cd36f8118 100755 --- a/autoconf-lib-link/tests/rpathx/configure +++ b/autoconf-lib-link/tests/rpathx/configure @@ -240,17 +240,6 @@ IFS=" $as_nl" $as_unset CDPATH -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -269,7 +258,7 @@ if test "X$1" = X--no-reexec; then elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else @@ -281,7 +270,7 @@ if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -325,7 +315,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -399,6 +389,11 @@ fi + +tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + +tagnames=`echo "$tagnames,F77" | sed 's/^,//'` + # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. @@ -467,7 +462,7 @@ ac_includes_default="\ # 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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -928,6 +923,26 @@ ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP +ac_env_CXX_set=${CXX+set} +ac_env_CXX_value=$CXX +ac_cv_env_CXX_set=${CXX+set} +ac_cv_env_CXX_value=$CXX +ac_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_env_CXXFLAGS_value=$CXXFLAGS +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. @@ -1009,16 +1024,22 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared=PKGS build shared libraries default=yes - --enable-static=PKGS build static libraries default=yes - --enable-fast-install=PKGS optimize for fast installation default=yes + --enable-shared[=PKGS] + build shared libraries [default=yes] + --enable-static[=PKGS] + build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) 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-pic try to use only PIC/non-PIC objects [default=use both] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] + include additional configurations [automatic] Some influential environment variables: CC C compiler command @@ -1028,6 +1049,11 @@ Some influential environment variables: CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1679,6 +1705,15 @@ 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 @@ -2692,16 +2727,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2815,11 +2841,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2851,68 +2883,74 @@ fi if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_shared=yes fi; + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_static=yes fi; + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_fast_install=yes fi; + # 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 @@ -2967,16 +3005,77 @@ host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + +fi + +echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6 + +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 + # Check whether --with-gnu-ld or --without-gnu-ld was given. @@ -2989,8 +3088,8 @@ 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 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3000,12 +3099,12 @@ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 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'` + 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%/%"` + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -3029,22 +3128,26 @@ if test "${lt_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=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + case `"$lt_cv_path_LD" -v 2>&1 &6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then +case `"$LD" -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 @@ -3088,7 +3194,11 @@ fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -3099,120 +3209,42 @@ else # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac fi done - IFS="$ac_save_ifs" + IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi - +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" - -fi - -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi -echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 @@ -3240,7 +3272,7 @@ lt_cv_deplibs_check_method='unknown' # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. +# which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3260,21 +3292,24 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac + lt_cv_deplibs_check_method=pass_all ;; freebsd*) @@ -3297,10 +3332,22 @@ gnu*) lt_cv_deplibs_check_method=pass_all ;; -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' +hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) @@ -3325,9 +3372,9 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux-gnu*) +linux*) case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -3338,9 +3385,9 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; @@ -3350,6 +3397,10 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` @@ -3376,10 +3427,6 @@ solaris*) lt_cv_file_magic_test_file=/lib/libc.so ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) @@ -3403,6 +3450,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ;; esac ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; esac fi @@ -3410,211 +3461,200 @@ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} +# Allow CC to be a program name with arguments. +compiler=$CC +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:$LINENO: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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 + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 3507 "configure"' > conftest.$ac_ext + 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 + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris* | sysv5*) - symcode='[BDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[ABCDGISTW]' -fi - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - rm -f conftest* - cat > conftest.$ac_ext < conftest.$ac_ext 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 - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + 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 - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = +int +main () { -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; -#ifdef __cplusplus + ; + return 0; } -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +_ACEOF +rm -f conftest.$ac_objext 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); } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done + (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 + lt_cv_cc_needs_belf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +lt_cv_cc_needs_belf=no fi +rm -f conftest.$ac_objext conftest$ac_exeext 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 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6 -else - echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 fi +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; + +esac + +need_locks="$enable_libtool_lock" + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -3851,21 +3891,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ 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 @@ -4231,160 +4256,65 @@ fi done +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC + 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_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # 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_CXX="$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 +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi - - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC +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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -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. + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4393,7 +4323,7 @@ do 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" + ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4402,794 +4332,10805 @@ 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 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&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 + test -n "$ac_ct_CXX" && break done +test -n "$ac_ct_CXX" || ac_ct_CXX="g++" - 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 + CXX=$ac_ct_CXX fi - RANLIB=$ac_ct_RANLIB -else - RANLIB="$ac_cv_prog_RANLIB" -fi -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 +# 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); } + +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_cxx_compiler_gnu+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 + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6 +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>&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:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 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 "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +CXXFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cxx_g+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 + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ - 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 +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_cxx_g=yes else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - STRIP=$ac_ct_STRIP +ac_cv_prog_cxx_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi else - STRIP="$ac_cv_prog_STRIP" + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi fi - - -enable_dlopen=no -enable_win32_dll=no - -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" - -fi; -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 4554 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +for ac_declaration in \ + ''\ + '#include ' \ + '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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +$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>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + (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 - - 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 - - cat >conftest.$ac_ext <<_ACEOF +continue +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* 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 conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - lt_cv_cc_needs_belf=yes + break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -lt_cv_cc_needs_belf=no fi -rm -f conftest.$ac_objext conftest$ac_exeext 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 - +rm -f 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 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -esac +depcc="$CXX" am_compiler_list= -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' +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_CXX_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 -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + am_cv_CXX_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 + # 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. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + 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=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h 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 + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done -# Constants: -rm="rm -f" + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi -# Global variables: -default_ofile=libtool -can_build_shared=yes +fi +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" -old_CC="$CC" -old_CFLAGS="$CFLAGS" -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' +else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= +fi + -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_flag + else + ac_cpp_err= + fi else - ac_tool_prefix= + 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 -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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_cxx_preproc_warn_flag + else + ac_cpp_err= fi - ;; -esac +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_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 + 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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # 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_F77="$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 +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 +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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_F77" && break +done + + F77=$ac_ct_F77 +fi + + +# Provide some information about the compiler. +echo "$as_me:4989:" \ + "checking for Fortran 77 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); } + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. +ac_save_ext=$ac_ext +ac_ext=F +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 +ac_ext=$ac_save_ext +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_f77_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "$G77" = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "$G77" = yes; then + FFLAGS="-O2" + else + FFLAGS= + fi +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 + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGISTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + 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); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6 +else + echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 +fi + +echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6 +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" + 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_AR" && ac_cv_prog_ac_ct_AR="false" +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AR=$ac_ct_AR +else + AR="$ac_cv_prog_AR" +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 + +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 + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=no + +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +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 + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:5994: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:5998: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6226: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6230: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6293: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:6297: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6 +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6 + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + tagnames="$withval" +fi; + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# 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; +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 $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $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. + [\\/]* | ?:[\\/]*) + 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 "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &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 "${lt_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}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10547: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:10551: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10614: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:10618: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6 + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12789: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:12793: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12856: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:12860: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6 +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6 + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. -set dummy $CC -compiler="$2" +compiler=$CC -echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:14808: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:14812: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + fi -rmdir .libs 2>/dev/null -echo "$as_me:$LINENO: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi +fi -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" -else - pic_mode=default -fi; -test -z "$pic_mode" && pic_mode=default +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi ;; + amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' + lt_prog_compiler_pic_GCJ='-fno-common' ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no ;; + sysv4*MP*) if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic + lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + *) - lt_cv_prog_cc_pic='-fPIC' + lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else - # PORTME Check for PIC flags for the system compiler. + # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_static_GCJ='-Bstatic' else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac ;; osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_static_GCJ='-non_shared' ;; sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' ;; solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' fi ;; + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + *) - lt_cv_prog_cc_can_build_shared=no + lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi -fi - -if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -else - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 - - # Check to make sure the pic_flag actually works. - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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>&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 - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_prog_cc_pic_works=no - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - -fi - - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi - - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 -fi - -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : - else - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} - lt_cv_prog_cc_can_build_shared=no - fi -fi - -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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 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='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 - lt_cv_prog_cc_static_works=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi - - -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:5096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&5 - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null - -fi - -compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:$LINENO: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15040: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15044: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* fi -rm -f conftest.$ac_objext conftest.$ac_ext - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac - compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - compiler_o_lo=no + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15107: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15111: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 + -# Check to see if we can do hard links to lock some files if needed hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 @@ -5210,135 +15151,72 @@ else need_locks=no fi -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no fi - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 - - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi -fi - -# See if the linker supports building shared libraries. -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= - -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then + ;; + openbsd*) with_gnu_ld=no - fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac + ;; + esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. @@ -5347,125 +15225,73 @@ if test "$with_gnu_ld" = yes; then *** so that a non-GNU linker is found, and then restart. EOF - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ + fi ;; - esac - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; + ld_shlibs=no + fi + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool @@ -5475,529 +15301,757 @@ EOF *** used, and then restart. EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no ;; + *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else - whole_archive_flag_spec= + ld_shlibs_GCJ=no fi ;; esac - fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi fi - ;; + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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 - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi - fi - - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + fi ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; - freebsd1*) - ld_shlibs=no - ;; + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + freebsd1*) + ld_shlibs_GCJ=no + ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [12].*) - cat <&2 + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -EOF - no_undefined_flag= - ;; + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; + link_all_deplibs_GCJ=yes + ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + *) + ld_shlibs_GCJ=no + ;; + esac + fi - *) - ld_shlibs=no - ;; - esac +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6 +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 -test "$ld_shlibs" = no && can_build_shared=no -# Check hardcoding attributes. +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 + ;; + esac + fi + ;; +esac + echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && + if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. - hardcode_action=relink + hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate + hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. - hardcode_action=unsupported + hardcode_action_GCJ=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless fi -echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 striplib= old_striplib= @@ -6009,19 +16063,31 @@ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= +shrext=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= @@ -6031,16 +16097,35 @@ shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown case $host_os in aix3*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) @@ -6050,7 +16135,7 @@ aix4* | aix5*) hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file @@ -6060,33 +16145,31 @@ aix4* | aix5*) # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' + soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi - hardcode_into_libs=yes ;; amigaos*) @@ -6096,7 +16179,7 @@ amigaos*) ;; beos*) - library_names_spec='${libname}.so' + library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; @@ -6104,13 +16187,12 @@ beos*) bsdi4*) version_type=linux need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs @@ -6118,29 +16200,55 @@ bsdi4*) cygwin* | mingw* | pw32*) version_type=windows + shrext=".dll" need_version=no need_lib_prefix=no + case $GCC,$host_os in - yes,cygwin*) + yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' - ;; + *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' @@ -6156,10 +16264,25 @@ darwin* | rhapsody*) # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) @@ -6170,8 +16293,8 @@ freebsd*-gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes @@ -6183,12 +16306,12 @@ freebsd*) version_type=freebsd-$objformat case $version_type in freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac @@ -6197,7 +16320,11 @@ freebsd*) freebsd2*) shlibpath_overrides_runpath=yes ;; - *) + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; @@ -6208,8 +16335,8 @@ gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; @@ -6217,14 +16344,45 @@ gnu*) hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. - dynamic_linker="$host_os dld.sl" version_type=sunos need_lib_prefix=no need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; @@ -6232,21 +16390,29 @@ hpux9* | hpux10* | hpux11*) irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; esac need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; @@ -6255,20 +16421,21 @@ irix5* | irix6* | nonstopux*) shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) +linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. -linux-gnu*) +linux*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no @@ -6291,12 +16458,12 @@ netbsd*) need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH @@ -6306,7 +16473,17 @@ netbsd*) newsos6) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; @@ -6315,46 +16492,47 @@ openbsd*) version_type=sunos need_lib_prefix=no need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else shlibpath_overrides_runpath=yes fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH ;; os2*) libname_spec='$name' + shrext=".dll" need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' + library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf + need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes ;; sco3.2v5*) version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; @@ -6362,8 +16540,8 @@ solaris*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes @@ -6373,7 +16551,7 @@ solaris*) sunos4*) version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -6385,8 +16563,8 @@ sunos4*) sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) @@ -6407,31 +16585,22 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - sysv4*MP*) if test -d /usr/nec ;then version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + *) dynamic_linker=no ;; @@ -6440,57 +16609,6 @@ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no -# Report the final consequences. -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6 - -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown @@ -6506,11 +16624,84 @@ else lt_cv_dlopen_self=yes ;; - cygwin* | mingw* | pw32*) + mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 @@ -6918,7 +17109,7 @@ fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" @@ -6934,10 +17125,10 @@ else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 - fi +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - $rm conftest* - echo 'static int dummy;' > conftest.$ac_ext +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ - 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 - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* +# ### END LIBTOOL TAG CONFIG: $tagname -fi +__EOF__ - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the @@ -7211,39 +17724,123 @@ else test -f Makefile && make "$ltmain" fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; @@ -7253,46 +17850,16 @@ if test -f "$ltmain"; then esac done - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +cfgfile="$ofile" -# ### BEGIN LIBTOOL CONFIG + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: @@ -7306,7 +17873,10 @@ build_libtool_libs=$enable_shared build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install @@ -7322,14 +17892,20 @@ echo=$lt_echo AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS -# The default C compiler. -CC=$lt_CC +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC # Is the compiler the GNU C compiler? -with_gcc=$GCC +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP # The linker used to build libraries. -LD=$lt_LD +LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S @@ -7360,7 +17936,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" @@ -7368,18 +17944,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -7400,19 +17979,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type @@ -7429,26 +18008,50 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -7456,10 +18059,10 @@ deplibs_check_method=$lt_deplibs_check_method file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -7468,13 +18071,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -7486,36 +18089,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -7524,234 +18136,72 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_include_expsyms_RC -# ### END LIBTOOL CONFIG +# ### END LIBTOOL TAG CONFIG: $tagname __EOF__ - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) +CC="$lt_save_CC" - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi @@ -7762,6 +18212,24 @@ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion + + + + + + + + + + + + + + + + + + @@ -7902,6 +18370,13 @@ 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 "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" 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 @@ -8444,6 +18919,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -8468,12 +18944,24 @@ 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,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t +s,@AR@,$AR,;t t +s,@ac_ct_AR@,$ac_ct_AR,;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,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t +s,@ac_ct_CXX@,$ac_ct_CXX,;t t +s,@CXXDEPMODE@,$CXXDEPMODE,;t t +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@global_top_auxdir@,$global_top_auxdir,;t t s,@LIBOBJS@,$LIBOBJS,;t t diff --git a/autoconf-lib-link/tests/rpathy/Makefile.in b/autoconf-lib-link/tests/rpathy/Makefile.in index 44347d8b3..a3688b0dc 100644 --- a/autoconf-lib-link/tests/rpathy/Makefile.in +++ b/autoconf-lib-link/tests/rpathy/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -40,6 +40,7 @@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -49,6 +50,10 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -58,6 +63,8 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -84,12 +91,18 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -144,13 +157,13 @@ CCLD = $(CC) LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(librpathy_la_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(librpathy_la_SOURCES) all: all-am @@ -346,12 +359,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathy/aclocal.m4 b/autoconf-lib-link/tests/rpathy/aclocal.m4 index 22a0e4480..030a0bc66 100644 --- a/autoconf-lib-link/tests/rpathy/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathy/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) + +# serial 5 -*- Autoconf -*- -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -783,15 +824,63 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]) fi])]) -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# The next line was added by Bruno Haible 2001-06-08. -builtin([undefine],[symbols]) +# serial 47 AC_PROG_LIBTOOL -# serial 46 AC_PROG_LIBTOOL +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_PROG_LIBTOOL +# --------------- AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -802,10 +891,13 @@ AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) -]) +])# _AC_PROG_LIBTOOL + +# AC_LIBTOOL_SETUP +# ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.13)dnl +[AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl @@ -815,382 +907,221 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl -AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi ;; esac -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -AC_ARG_ENABLE(libtool-lock, - [ --disable-libtool-lock avoid locking (might break parallel builds)]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_SAVE - AC_LANG_C - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_RESTORE]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Constants: +rm="rm -f" -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) - - case $host/$CC in - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) - # old mingw systems require "-dll" to link a DLL, while more recent ones - # require "-mdll" - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mdll" - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) - CFLAGS="$SAVE_CFLAGS" ;; - *-*-cygwin* | *-*-pw32*) - # cygwin systems need to pass --dll to the linker, and not link - # crt.o which will require a WinMain@16 definition. - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi ;; - ]) esac -_LT_AC_LTCONFIG_HACK - -]) +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) -# AC_LIBTOOL_HEADER_ASSERT -# ------------------------ -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], -[AC_CACHE_CHECK([whether $CC supports assert without backlinking], - [lt_cv_func_assert_works], - [case $host in - *-*-solaris*) - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) lt_cv_func_assert_works=no ;; - *) lt_cv_func_assert_works=yes ;; - esac - fi - ;; - esac]) +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -if test "x$lt_cv_func_assert_works" = xyes; then - AC_CHECK_HEADERS(assert.h) -fi -])# AC_LIBTOOL_HEADER_ASSERT +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h) -])# _LT_AC_CHECK_DLFCN +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[[ABCDGISTW]]' +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat < conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[[]] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC - fi - else - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC - fi - else - echo "$progname: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR -# --------------------------------- -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -1227,7 +1159,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -1300,17 +1232,291 @@ if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then fi AC_SUBST(ECHO) -AC_DIVERT_POP -])# _LT_AC_PROG_ECHO_BACKSLASH +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[if test "$cross_compiling" = yes; then : +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : [$4] else - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext </dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl -old_CC="$CC" -old_CFLAGS="$CFLAGS" +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs else - ac_tool_prefix= + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi - ;; -esac +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -if test -n "$RANLIB"; then + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + esac fi +])# AC_LIBTOOL_SYS_LIB_STRIP -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="[$]2" -AC_MSG_CHECKING([for objdir]) -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi -rmdir .libs 2>/dev/null -AC_MSG_RESULT($objdir) - +need_lib_prefix=unknown +hardcode_into_libs=no -AC_LIBTOOL_ARG_WITH(pic, -[ --with-pic try to use only PIC/non-PIC objects [default=use both]], -pic_mode="$withval", pic_mode=default) -test -z "$pic_mode" && pic_mode=default +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -AC_MSG_CHECKING([for $compiler option to produce PIC]) -AC_CACHE_VAL(lt_cv_prog_cc_pic, -[ lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - # PORTME Check for PIC flags for the system compiler. + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + can_build_shared=no fi ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; + esac + ;; - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; +freebsd1*) + dynamic_linker=no + ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' - fi + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; *) - lt_cv_prog_cc_can_build_shared=no - ;; - esac - fi -]) -if test -z "$lt_cv_prog_cc_pic"; then - AC_MSG_RESULT([none]) -else - AC_MSG_RESULT([$lt_cv_prog_cc_pic]) - - # Check to make sure the pic_flag actually works. - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - AC_TRY_COMPILE([], [], [dnl - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - ], [dnl - lt_cv_prog_cc_pic_works=no - ]) - CFLAGS="$save_CFLAGS" - ]) - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) -fi +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : - else - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) - lt_cv_prog_cc_can_build_shared=no - fi -fi +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) - LDFLAGS="$save_LDFLAGS" -]) + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) -AC_CACHE_VAL([lt_cv_compiler_c_o], [ -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' else - lt_cv_compiler_c_o=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&AC_FD_CC - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null -]) -compiler_c_o=$lt_cv_compiler_c_o -AC_MSG_RESULT([$compiler_c_o]) - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) - AC_CACHE_VAL([lt_cv_compiler_o_lo], [ - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - ]) - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - ]) - compiler_o_lo=$lt_cv_compiler_o_lo - AC_MSG_RESULT([$compiler_o_lo]) -else - compiler_o_lo=no -fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - ]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$compiler_rtti_exceptions]) +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else - no_builtin_flag=' -fno-builtin' + shlibpath_overrides_runpath=yes fi -fi + ;; -# See if the linker supports building shared libraries. -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no fi + need_version=yes ;; -openbsd*) - with_gnu_ld=no + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac ;; -esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER -EOF - ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else - ld_shlibs=no + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi - ;; + fi - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ - ;; + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; esac - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 - - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" fi - ;; - esac + fi + done + IFS="$lt_save_ifs" - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; +fi +])# _LT_AC_TAGCONFIG - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes fi - fi - fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[[012]]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC - freebsd1*) - ld_shlibs=no - ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [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]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' +EOF + fi ;; + esac + fi + break fi - hardcode_libdir_separator=: - ;; + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) - cat <&2 +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. -EOF - no_undefined_flag= +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +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 $CC]) + 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. + [[\\/]]* | ?:[[\\/]]*) + 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(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 &1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics -AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; +freebsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH + else + lt_cv_deplibs_check_method=pass_all fi - hardcode_into_libs=yes - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH ;; -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs +gnu*) + lt_cv_deplibs_check_method=pass_all ;; -cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5* | nonstopux*) - libsuff= shlibsuff= + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ;; esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes ;; -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx) + lt_cv_deplibs_check_method=unknown ;; openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' else - shlibpath_overrides_runpath=yes + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; - -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH + lt_cv_deplibs_check_method=pass_all ;; solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; *) - dynamic_linker=no + AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi -# Report the final consequences. + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) @@ -3121,6 +3350,34 @@ aix4*) test "$enable_shared" = yes && enable_static=no fi ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; esac AC_MSG_RESULT([$enable_shared]) @@ -3129,211 +3386,1420 @@ AC_MSG_CHECKING([whether to build static libraries]) test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi +AC_LIBTOOL_CONFIG($1) -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG -AC_LIBTOOL_DLOPEN_SELF -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], - [$rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile); then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - ]) - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" +if test "$GXX" = yes; then + # Set up default GNU C++ configuration - echo creating $ofile + AC_PROG_LD - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - cat <<__EOF__ > "${ofile}T" -#! $SHELL + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= -# A sed that does not truncate output. -SED=$lt_SED + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +else + GXX=no + with_gnu_ld=no + wlarc= +fi -# ### BEGIN LIBTOOL CONFIG +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -# Whether or not to build static libraries. -build_old_libs=$enable_static + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -# The host system. -host_alias=$host_alias -host=$host + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' -# The default C compiler. -CC=$lt_CC + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; -# Is the compiler the GNU C compiler? -with_gcc=$GCC + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac -# The linker used to build libraries. -LD=$lt_LD + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler -# Whether we need hard or soft links. -LN_S=$lt_LN_S + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -# A BSD-compatible nm program. -NM=$lt_NM + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -# A symbol stripping program -STRIP=$STRIP + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" @@ -3352,7 +4818,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" @@ -3360,18 +4826,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -3392,19 +4861,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type @@ -3421,37 +4890,61 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib -# Method to check whether dependent libraries are shared objects. +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -3460,13 +4953,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -3478,36 +4971,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -3516,30 +5018,33 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) -# ### END LIBTOOL CONFIG +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ +ifelse([$1],[], [ case $host_os in aix3*) - cat <<\EOF >> "${ofile}T" + cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems @@ -3548,186 +5053,6 @@ if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi -EOF - ;; - esac - - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi +])# AC_LIBTOOL_CONFIG -])# _LT_AC_LTCONFIG_HACK -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -# AC_ENABLE_SHARED - implement the --enable-shared flag -# Usage: AC_ENABLE_SHARED[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(shared, -changequote(<<, >>)dnl -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl -]) +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no)]) + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI -# AC_ENABLE_STATIC - implement the --enable-static flag -# Usage: AC_ENABLE_STATIC[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(static, -changequote(<<, >>)dnl -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl -]) -# AC_DISABLE_STATIC - set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no)]) +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(fast-install, -changequote(<<, >>)dnl -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl -]) +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no)]) +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' -# AC_LIBTOOL_PICMODE - implement the --with-pic flag -# Usage: AC_LIBTOOL_PICMODE[(MODE)] -# Where MODE is either `yes' or `no'. If omitted, it defaults to -# `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default)]) +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -]) +esac +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac -# AC_PATH_MAGIC - find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) - else - MAGIC_CMD=: - fi -fi -]) +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_LIBTOOL_ARG_WITH(gnu-ld, -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -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(lt_cv_path_LD, -[if test -z "$LD"; then - IFS="${IFS= }"; ac_save_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 - lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" else - test "$with_gnu_ld" != yes && break + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi - done - IFS="$ac_save_ifs" -else - lt_cv_path_LD="$LD" # Let the user override the test with a path. -fi]) -LD="$lt_cv_path_LD" -if test -n "$LD"; then - AC_MSG_RESULT($LD) + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) else - AC_MSG_RESULT(no) + AC_MSG_RESULT(ok) fi -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU -]) +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# AC_PROG_LD_GNU - -AC_DEFUN([AC_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes -else - lt_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$lt_cv_prog_gnu_ld -]) -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, -[lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac +]) -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; -beos*) - lt_cv_deplibs_check_method=pass_all +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; - -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; - -cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -darwin* | rhapsody*) - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + openbsd*) + with_gnu_ld=no ;; esac - ;; -freebsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi ;; esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi else - lt_cv_deplibs_check_method=pass_all - fi - ;; + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# This must be Linux ELF. -linux-gnu*) - case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - ;; + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' - fi - ;; + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' - fi - ;; + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so - ;; + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -sysv5uw[[78]]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -]) + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# AC_PROG_NM - find the path to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -AC_MSG_CHECKING([for BSD-compatible nm]) -AC_CACHE_VAL(lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi - fi - done - IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -AC_MSG_RESULT([$NM]) + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -# AC_CHECK_LIBM - check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32*) - # These system don't have libm - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, main, LIBM="-lm") +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi ;; esac -]) +])# AC_LIBTOOL_PROG_LD_SHLIBS -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and LTDLINCL are not -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed -# with '${top_srcdir}/' (note the single quotes!). If your package is -# not flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, main, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) -dnl AC_LIBTOOL_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_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], -[AC_DEFUN([AC_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) @@ -4352,6 +6597,16 @@ AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # @@ -4365,79 +6620,51 @@ AC_DEFUN([LT_AC_PROG_SED], AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" 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_prog in sed gsed; do + for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done done - rm -rf "$tmp" +done +SED=$lt_cv_path_SED ]) -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi AC_MSG_RESULT([$SED]) ]) @@ -4535,8 +6762,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -4557,8 +6783,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], diff --git a/autoconf-lib-link/tests/rpathy/configure b/autoconf-lib-link/tests/rpathy/configure index a767143e4..76f431b17 100755 --- a/autoconf-lib-link/tests/rpathy/configure +++ b/autoconf-lib-link/tests/rpathy/configure @@ -240,17 +240,6 @@ IFS=" $as_nl" $as_unset CDPATH -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -269,7 +258,7 @@ if test "X$1" = X--no-reexec; then elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else @@ -281,7 +270,7 @@ if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -325,7 +315,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -399,6 +389,11 @@ fi + +tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + +tagnames=`echo "$tagnames,F77" | sed 's/^,//'` + # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. @@ -467,7 +462,7 @@ ac_includes_default="\ # 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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL LIBRPATHX LTLIBRPATHX global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBRPATHX LTLIBRPATHX global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -928,6 +923,26 @@ ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP +ac_env_CXX_set=${CXX+set} +ac_env_CXX_value=$CXX +ac_cv_env_CXX_set=${CXX+set} +ac_cv_env_CXX_value=$CXX +ac_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_env_CXXFLAGS_value=$CXXFLAGS +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. @@ -1009,9 +1024,12 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared=PKGS build shared libraries default=yes - --enable-static=PKGS build static libraries default=yes - --enable-fast-install=PKGS optimize for fast installation default=yes + --enable-shared[=PKGS] + build shared libraries [default=yes] + --enable-static[=PKGS] + build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-rpath do not hardcode runtime library paths @@ -1019,7 +1037,10 @@ 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-pic try to use only PIC/non-PIC objects [default=use both] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] + include additional configurations [automatic] --with-gnu-ld assume the C compiler uses GNU ld default=no --with-librpathx-prefix[=DIR] search for librpathx in DIR/include and DIR/lib --without-librpathx-prefix don't search for librpathx in includedir and libdir @@ -1032,6 +1053,11 @@ Some influential environment variables: CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1683,6 +1709,15 @@ 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 @@ -2696,16 +2731,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2819,11 +2845,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2855,68 +2887,74 @@ fi if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_shared=yes fi; + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_static=yes fi; + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_fast_install=yes fi; + # 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 @@ -2971,16 +3009,77 @@ host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + +fi + +echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6 + +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 + # Check whether --with-gnu-ld or --without-gnu-ld was given. @@ -2993,8 +3092,8 @@ 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 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3004,12 +3103,12 @@ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 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'` + 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%/%"` + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -3033,22 +3132,26 @@ if test "${lt_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=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + case `"$lt_cv_path_LD" -v 2>&1 &6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then +case `"$LD" -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 @@ -3092,7 +3198,11 @@ fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -3103,120 +3213,42 @@ else # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac fi done - IFS="$ac_save_ifs" + IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi - +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" - -fi - -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi -echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 @@ -3244,7 +3276,7 @@ lt_cv_deplibs_check_method='unknown' # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. +# which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3264,21 +3296,24 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac + lt_cv_deplibs_check_method=pass_all ;; freebsd*) @@ -3301,10 +3336,22 @@ gnu*) lt_cv_deplibs_check_method=pass_all ;; -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' +hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) @@ -3329,9 +3376,9 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux-gnu*) +linux*) case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -3342,9 +3389,9 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; @@ -3354,6 +3401,10 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` @@ -3380,10 +3431,6 @@ solaris*) lt_cv_file_magic_test_file=/lib/libc.so ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) @@ -3407,6 +3454,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ;; esac ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; esac fi @@ -3414,211 +3465,200 @@ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} +# Allow CC to be a program name with arguments. +compiler=$CC +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:$LINENO: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris* | sysv5*) - symcode='[BDT]' - ;; -sysv4) - symcode='[DFNSTU]' +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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 + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[ABCDGISTW]' -fi - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - rm -f conftest* - cat > conftest.$ac_ext < conftest.$ac_ext 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 - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif + (exit $ac_status); }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + 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 - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = +int +main () { -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; -#ifdef __cplusplus + ; + return 0; } -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +_ACEOF +rm -f conftest.$ac_objext 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); } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done + (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 + lt_cv_cc_needs_belf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +lt_cv_cc_needs_belf=no fi +rm -f conftest.$ac_objext conftest$ac_exeext 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 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6 -else - echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 fi +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; + +esac + +need_locks="$enable_libtool_lock" + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -3855,21 +3895,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ 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 @@ -4235,160 +4260,23 @@ fi done - - - - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC + 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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -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. + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4397,7 +4285,7 @@ do 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" + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4406,69 +4294,31 @@ 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 +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi + test -n "$CXX" && break + done 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 +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 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 - -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 + # 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_STRIP+set}" = set; then +if test "${ac_cv_prog_ac_ct_CXX+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. + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4477,7 +4327,7 @@ do 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" + ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4486,114 +4336,102 @@ 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 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&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 + test -n "$ac_ct_CXX" && break 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 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++" - STRIP=$ac_ct_STRIP -else - STRIP="$ac_cv_prog_STRIP" + CXX=$ac_ct_CXX fi -enable_dlopen=no -enable_win32_dll=no +# 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); } -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" +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_cxx_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -fi; -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +int +main () +{ +#ifndef __GNUC__ + choke me +#endif -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 4558 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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 - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; + (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 -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +CXXFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - 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 - - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -4609,591 +4447,10694 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - lt_cv_cc_needs_belf=yes + ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -lt_cv_cc_needs_belf=no +ac_cv_prog_cxx_g=no fi -rm -f conftest.$ac_objext conftest$ac_exeext 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 - +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" fi - ;; +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +for ac_declaration in \ + ''\ + '#include ' \ + '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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +$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>&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.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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>&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.$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 -esac +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' +depcc="$CXX" am_compiler_list= -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' +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_CXX_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 -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + am_cv_CXX_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 + # 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. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf -# Constants: -rm="rm -f" + 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=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h 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 + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done -# Global variables: -default_ofile=libtool -can_build_shared=yes + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +fi +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type -old_CC="$CC" -old_CFLAGS="$CFLAGS" -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' else - ac_tool_prefix= + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= fi -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_flag + else + ac_cpp_err= fi - ;; -esac +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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 + 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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # 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_F77="$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 +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 +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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_F77" && break +done + + F77=$ac_ct_F77 +fi + + +# Provide some information about the compiler. +echo "$as_me:4993:" \ + "checking for Fortran 77 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); } + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. +ac_save_ext=$ac_ext +ac_ext=F +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 +ac_ext=$ac_save_ext +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_f77_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "$G77" = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "$G77" = yes; then + FFLAGS="-O2" + else + FFLAGS= + fi +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 + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGISTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + 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); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6 +else + echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 +fi + +echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6 +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" + 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_AR" && ac_cv_prog_ac_ct_AR="false" +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AR=$ac_ct_AR +else + AR="$ac_cv_prog_AR" +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 + +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 + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=no + +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +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 + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:5998: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6002: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6230: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6234: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6297: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:6301: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6 +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6 + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + tagnames="$withval" +fi; + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# 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; +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 $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $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. + [\\/]* | ?:[\\/]*) + 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 "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &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 "${lt_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}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10551: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:10555: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10618: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:10622: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6 + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12793: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:12797: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12860: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:12864: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6 +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6 + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +# ltmain only uses $CC for tagged configurations so make sure $CC is set. -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. -set dummy $CC -compiler="$2" +compiler=$CC -echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:14812: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:14816: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + fi -rmdir .libs 2>/dev/null -echo "$as_me:$LINENO: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi +fi -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" -else - pic_mode=default -fi; -test -z "$pic_mode" && pic_mode=default +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi ;; + amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' + lt_prog_compiler_pic_GCJ='-fno-common' ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no ;; + sysv4*MP*) if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic + lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + *) - lt_cv_prog_cc_pic='-fPIC' + lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else - # PORTME Check for PIC flags for the system compiler. + # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_static_GCJ='-Bstatic' else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac ;; osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_static_GCJ='-non_shared' ;; sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' ;; solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' fi ;; + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + *) - lt_cv_prog_cc_can_build_shared=no + lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi -fi - -if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -else - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 - - # Check to make sure the pic_flag actually works. - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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>&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 - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_prog_cc_pic_works=no - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - -fi - - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi - - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 -fi - -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : - else - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} - lt_cv_prog_cc_can_build_shared=no - fi -fi - -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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 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='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 - lt_cv_prog_cc_static_works=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi - - -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:5100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&5 - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null - -fi - -compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:$LINENO: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15044: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15048: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* fi -rm -f conftest.$ac_objext conftest.$ac_ext - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac - compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - compiler_o_lo=no + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15111: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15115: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 + -# Check to see if we can do hard links to lock some files if needed hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 @@ -5214,135 +15155,72 @@ else need_locks=no fi -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no fi - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 - - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi -fi - -# See if the linker supports building shared libraries. -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= - -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then + ;; + openbsd*) with_gnu_ld=no - fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac + ;; + esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. @@ -5351,125 +15229,73 @@ if test "$with_gnu_ld" = yes; then *** so that a non-GNU linker is found, and then restart. EOF - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ + fi ;; - esac - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; + ld_shlibs=no + fi + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool @@ -5479,529 +15305,757 @@ EOF *** used, and then restart. EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no ;; + *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else - whole_archive_flag_spec= + ld_shlibs_GCJ=no fi ;; esac - fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi fi - ;; + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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 - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi - fi - - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + fi ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; - freebsd1*) - ld_shlibs=no - ;; + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + freebsd1*) + ld_shlibs_GCJ=no + ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [12].*) - cat <&2 + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -EOF - no_undefined_flag= - ;; + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; + link_all_deplibs_GCJ=yes + ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + *) + ld_shlibs_GCJ=no + ;; + esac + fi - *) - ld_shlibs=no - ;; - esac +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6 +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 -test "$ld_shlibs" = no && can_build_shared=no -# Check hardcoding attributes. +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 + ;; + esac + fi + ;; +esac + echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && + if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. - hardcode_action=relink + hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate + hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. - hardcode_action=unsupported + hardcode_action_GCJ=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless fi -echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 striplib= old_striplib= @@ -6013,19 +16067,31 @@ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= +shrext=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= @@ -6035,16 +16101,35 @@ shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown case $host_os in aix3*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) @@ -6054,7 +16139,7 @@ aix4* | aix5*) hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file @@ -6064,33 +16149,31 @@ aix4* | aix5*) # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' + soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi - hardcode_into_libs=yes ;; amigaos*) @@ -6100,7 +16183,7 @@ amigaos*) ;; beos*) - library_names_spec='${libname}.so' + library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; @@ -6108,13 +16191,12 @@ beos*) bsdi4*) version_type=linux need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs @@ -6122,29 +16204,55 @@ bsdi4*) cygwin* | mingw* | pw32*) version_type=windows + shrext=".dll" need_version=no need_lib_prefix=no + case $GCC,$host_os in - yes,cygwin*) + yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' - ;; + *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' @@ -6160,10 +16268,25 @@ darwin* | rhapsody*) # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) @@ -6174,8 +16297,8 @@ freebsd*-gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes @@ -6187,12 +16310,12 @@ freebsd*) version_type=freebsd-$objformat case $version_type in freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac @@ -6201,7 +16324,11 @@ freebsd*) freebsd2*) shlibpath_overrides_runpath=yes ;; - *) + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; @@ -6212,8 +16339,8 @@ gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; @@ -6221,14 +16348,45 @@ gnu*) hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. - dynamic_linker="$host_os dld.sl" version_type=sunos need_lib_prefix=no need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; @@ -6236,21 +16394,29 @@ hpux9* | hpux10* | hpux11*) irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; esac need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; @@ -6259,20 +16425,21 @@ irix5* | irix6* | nonstopux*) shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) +linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. -linux-gnu*) +linux*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no @@ -6295,12 +16462,12 @@ netbsd*) need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH @@ -6310,7 +16477,17 @@ netbsd*) newsos6) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; @@ -6319,46 +16496,47 @@ openbsd*) version_type=sunos need_lib_prefix=no need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else shlibpath_overrides_runpath=yes fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH ;; os2*) libname_spec='$name' + shrext=".dll" need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' + library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf + need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes ;; sco3.2v5*) version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; @@ -6366,8 +16544,8 @@ solaris*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes @@ -6377,7 +16555,7 @@ solaris*) sunos4*) version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -6389,8 +16567,8 @@ sunos4*) sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) @@ -6411,31 +16589,22 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - sysv4*MP*) if test -d /usr/nec ;then version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + *) dynamic_linker=no ;; @@ -6444,57 +16613,6 @@ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no -# Report the final consequences. -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6 - -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown @@ -6510,11 +16628,84 @@ else lt_cv_dlopen_self=yes ;; - cygwin* | mingw* | pw32*) + mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 @@ -6922,7 +17113,7 @@ fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" @@ -6938,10 +17129,10 @@ else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 - fi +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - $rm conftest* - echo 'static int dummy;' > conftest.$ac_ext +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ - 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 - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* +# ### END LIBTOOL TAG CONFIG: $tagname -fi +__EOF__ - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the @@ -7215,39 +17728,123 @@ else test -f Makefile && make "$ltmain" fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; @@ -7257,46 +17854,16 @@ if test -f "$ltmain"; then esac done - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +cfgfile="$ofile" -# ### BEGIN LIBTOOL CONFIG + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: @@ -7310,7 +17877,10 @@ build_libtool_libs=$enable_shared build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install @@ -7326,14 +17896,20 @@ echo=$lt_echo AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS -# The default C compiler. -CC=$lt_CC +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC # Is the compiler the GNU C compiler? -with_gcc=$GCC +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP # The linker used to build libraries. -LD=$lt_LD +LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S @@ -7364,7 +17940,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" @@ -7372,18 +17948,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -7404,19 +17983,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type @@ -7433,26 +18012,50 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -7460,10 +18063,10 @@ deplibs_check_method=$lt_deplibs_check_method file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -7472,13 +18075,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -7490,36 +18093,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -7528,234 +18140,72 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_include_expsyms_RC -# ### END LIBTOOL CONFIG +# ### END LIBTOOL TAG CONFIG: $tagname __EOF__ - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) +CC="$lt_save_CC" - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi @@ -7766,6 +18216,24 @@ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion + + + + + + + + + + + + + + + + + + @@ -7920,8 +18388,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -8496,6 +18962,13 @@ 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 "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" 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 @@ -9038,6 +19511,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -9062,12 +19536,24 @@ 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,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t +s,@AR@,$AR,;t t +s,@ac_ct_AR@,$ac_ct_AR,;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,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t +s,@ac_ct_CXX@,$ac_ct_CXX,;t t +s,@CXXDEPMODE@,$CXXDEPMODE,;t t +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@LIBRPATHX@,$LIBRPATHX,;t t s,@LTLIBRPATHX@,$LTLIBRPATHX,;t t diff --git a/autoconf-lib-link/tests/rpathz/Makefile.in b/autoconf-lib-link/tests/rpathz/Makefile.in index 0359d909a..5537918ca 100644 --- a/autoconf-lib-link/tests/rpathz/Makefile.in +++ b/autoconf-lib-link/tests/rpathz/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -40,6 +40,7 @@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -49,6 +50,10 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -58,6 +63,8 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -86,12 +93,18 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -146,13 +159,13 @@ CCLD = $(CC) LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(librpathz_la_SOURCES) -DIST_COMMON = ../../../config/config.guess ../../../config/config.rpath \ - ../../../config/config.sub ../../../config/elisp-comp \ - ../../../config/install-sh ../../../config/ltmain.sh \ - ../../../config/mdate-sh ../../../config/missing \ - ../../../config/mkinstalldirs ../../../config/texinfo.tex \ - ../../../config/ylwrap Makefile.am Makefile.in aclocal.m4 \ - configure configure.ac +DIST_COMMON = ../../../config/compile ../../../config/config.guess \ + ../../../config/config.rpath ../../../config/config.sub \ + ../../../config/elisp-comp ../../../config/install-sh \ + ../../../config/ltmain.sh ../../../config/mdate-sh \ + ../../../config/missing ../../../config/mkinstalldirs \ + ../../../config/texinfo.tex ../../../config/ylwrap Makefile.am \ + Makefile.in aclocal.m4 configure configure.ac SOURCES = $(librpathz_la_SOURCES) all: all-am @@ -348,12 +361,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ diff --git a/autoconf-lib-link/tests/rpathz/aclocal.m4 b/autoconf-lib-link/tests/rpathz/aclocal.m4 index 22a0e4480..030a0bc66 100644 --- a/autoconf-lib-link/tests/rpathz/aclocal.m4 +++ b/autoconf-lib-link/tests/rpathz/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) + +# serial 5 -*- Autoconf -*- -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -783,15 +824,63 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]) fi])]) -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# The next line was added by Bruno Haible 2001-06-08. -builtin([undefine],[symbols]) +# serial 47 AC_PROG_LIBTOOL -# serial 46 AC_PROG_LIBTOOL +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_PROG_LIBTOOL +# --------------- AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -802,10 +891,13 @@ AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) -]) +])# _AC_PROG_LIBTOOL + +# AC_LIBTOOL_SETUP +# ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.13)dnl +[AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl @@ -815,382 +907,221 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl -AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi ;; esac -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -AC_ARG_ENABLE(libtool-lock, - [ --disable-libtool-lock avoid locking (might break parallel builds)]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_SAVE - AC_LANG_C - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_RESTORE]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Constants: +rm="rm -f" -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) - - case $host/$CC in - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) - # old mingw systems require "-dll" to link a DLL, while more recent ones - # require "-mdll" - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mdll" - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) - CFLAGS="$SAVE_CFLAGS" ;; - *-*-cygwin* | *-*-pw32*) - # cygwin systems need to pass --dll to the linker, and not link - # crt.o which will require a WinMain@16 definition. - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi ;; - ]) esac -_LT_AC_LTCONFIG_HACK - -]) +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) -# AC_LIBTOOL_HEADER_ASSERT -# ------------------------ -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], -[AC_CACHE_CHECK([whether $CC supports assert without backlinking], - [lt_cv_func_assert_works], - [case $host in - *-*-solaris*) - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) lt_cv_func_assert_works=no ;; - *) lt_cv_func_assert_works=yes ;; - esac - fi - ;; - esac]) +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -if test "x$lt_cv_func_assert_works" = xyes; then - AC_CHECK_HEADERS(assert.h) -fi -])# AC_LIBTOOL_HEADER_ASSERT +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h) -])# _LT_AC_CHECK_DLFCN +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[[ABCDGISTW]]' +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat < conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[[]] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC - fi - else - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC - fi - else - echo "$progname: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR -# --------------------------------- -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -1227,7 +1159,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -1300,17 +1232,291 @@ if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then fi AC_SUBST(ECHO) -AC_DIVERT_POP -])# _LT_AC_PROG_ECHO_BACKSLASH +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[if test "$cross_compiling" = yes; then : +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : [$4] else - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext </dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl -old_CC="$CC" -old_CFLAGS="$CFLAGS" +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs else - ac_tool_prefix= + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi - ;; -esac +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -if test -n "$RANLIB"; then + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + esac fi +])# AC_LIBTOOL_SYS_LIB_STRIP -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="[$]2" -AC_MSG_CHECKING([for objdir]) -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi -rmdir .libs 2>/dev/null -AC_MSG_RESULT($objdir) - +need_lib_prefix=unknown +hardcode_into_libs=no -AC_LIBTOOL_ARG_WITH(pic, -[ --with-pic try to use only PIC/non-PIC objects [default=use both]], -pic_mode="$withval", pic_mode=default) -test -z "$pic_mode" && pic_mode=default +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -AC_MSG_CHECKING([for $compiler option to produce PIC]) -AC_CACHE_VAL(lt_cv_prog_cc_pic, -[ lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - # PORTME Check for PIC flags for the system compiler. + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + can_build_shared=no fi ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; + esac + ;; - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; +freebsd1*) + dynamic_linker=no + ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' - fi + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; *) - lt_cv_prog_cc_can_build_shared=no - ;; - esac - fi -]) -if test -z "$lt_cv_prog_cc_pic"; then - AC_MSG_RESULT([none]) -else - AC_MSG_RESULT([$lt_cv_prog_cc_pic]) - - # Check to make sure the pic_flag actually works. - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - AC_TRY_COMPILE([], [], [dnl - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - ], [dnl - lt_cv_prog_cc_pic_works=no - ]) - CFLAGS="$save_CFLAGS" - ]) - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) -fi +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : - else - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) - lt_cv_prog_cc_can_build_shared=no - fi -fi +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) - LDFLAGS="$save_LDFLAGS" -]) + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) -AC_CACHE_VAL([lt_cv_compiler_c_o], [ -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' else - lt_cv_compiler_c_o=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&AC_FD_CC - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null -]) -compiler_c_o=$lt_cv_compiler_c_o -AC_MSG_RESULT([$compiler_c_o]) - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) - AC_CACHE_VAL([lt_cv_compiler_o_lo], [ - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - ]) - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - ]) - compiler_o_lo=$lt_cv_compiler_o_lo - AC_MSG_RESULT([$compiler_o_lo]) -else - compiler_o_lo=no -fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - ]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$compiler_rtti_exceptions]) +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else - no_builtin_flag=' -fno-builtin' + shlibpath_overrides_runpath=yes fi -fi + ;; -# See if the linker supports building shared libraries. -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no fi + need_version=yes ;; -openbsd*) - with_gnu_ld=no + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac ;; -esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER -EOF - ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else - ld_shlibs=no + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi - ;; + fi - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ - ;; + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; esac - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 - - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" fi - ;; - esac + fi + done + IFS="$lt_save_ifs" - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; +fi +])# _LT_AC_TAGCONFIG - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes fi - fi - fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[[012]]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC - freebsd1*) - ld_shlibs=no - ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [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]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' +EOF + fi ;; + esac + fi + break fi - hardcode_libdir_separator=: - ;; + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) - cat <&2 +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. -EOF - no_undefined_flag= +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +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 $CC]) + 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. + [[\\/]]* | ?:[[\\/]]*) + 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(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 &1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics -AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; +freebsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH + else + lt_cv_deplibs_check_method=pass_all fi - hardcode_into_libs=yes - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH ;; -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs +gnu*) + lt_cv_deplibs_check_method=pass_all ;; -cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5* | nonstopux*) - libsuff= shlibsuff= + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ;; esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes ;; -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx) + lt_cv_deplibs_check_method=unknown ;; openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' else - shlibpath_overrides_runpath=yes + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; - -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH + lt_cv_deplibs_check_method=pass_all ;; solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; *) - dynamic_linker=no + AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi -# Report the final consequences. + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) @@ -3121,6 +3350,34 @@ aix4*) test "$enable_shared" = yes && enable_static=no fi ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; esac AC_MSG_RESULT([$enable_shared]) @@ -3129,211 +3386,1420 @@ AC_MSG_CHECKING([whether to build static libraries]) test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi +AC_LIBTOOL_CONFIG($1) -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG -AC_LIBTOOL_DLOPEN_SELF -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], - [$rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile); then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - ]) - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" +if test "$GXX" = yes; then + # Set up default GNU C++ configuration - echo creating $ofile + AC_PROG_LD - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - cat <<__EOF__ > "${ofile}T" -#! $SHELL + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= -# A sed that does not truncate output. -SED=$lt_SED + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +else + GXX=no + with_gnu_ld=no + wlarc= +fi -# ### BEGIN LIBTOOL CONFIG +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -# Whether or not to build static libraries. -build_old_libs=$enable_static + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -# The host system. -host_alias=$host_alias -host=$host + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' -# The default C compiler. -CC=$lt_CC + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; -# Is the compiler the GNU C compiler? -with_gcc=$GCC + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac -# The linker used to build libraries. -LD=$lt_LD + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler -# Whether we need hard or soft links. -LN_S=$lt_LN_S + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -# A BSD-compatible nm program. -NM=$lt_NM + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -# A symbol stripping program -STRIP=$STRIP + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" @@ -3352,7 +4818,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" @@ -3360,18 +4826,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -3392,19 +4861,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type @@ -3421,37 +4890,61 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib -# Method to check whether dependent libraries are shared objects. +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -3460,13 +4953,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -3478,36 +4971,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -3516,30 +5018,33 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) -# ### END LIBTOOL CONFIG +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ +ifelse([$1],[], [ case $host_os in aix3*) - cat <<\EOF >> "${ofile}T" + cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems @@ -3548,186 +5053,6 @@ if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi -EOF - ;; - esac - - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi +])# AC_LIBTOOL_CONFIG -])# _LT_AC_LTCONFIG_HACK -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -# AC_ENABLE_SHARED - implement the --enable-shared flag -# Usage: AC_ENABLE_SHARED[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(shared, -changequote(<<, >>)dnl -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl -]) +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no)]) + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI -# AC_ENABLE_STATIC - implement the --enable-static flag -# Usage: AC_ENABLE_STATIC[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(static, -changequote(<<, >>)dnl -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl -]) -# AC_DISABLE_STATIC - set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no)]) +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(fast-install, -changequote(<<, >>)dnl -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl -]) +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no)]) +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' -# AC_LIBTOOL_PICMODE - implement the --with-pic flag -# Usage: AC_LIBTOOL_PICMODE[(MODE)] -# Where MODE is either `yes' or `no'. If omitted, it defaults to -# `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default)]) +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -]) +esac +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac -# AC_PATH_MAGIC - find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) - else - MAGIC_CMD=: - fi -fi -]) +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_LIBTOOL_ARG_WITH(gnu-ld, -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -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(lt_cv_path_LD, -[if test -z "$LD"; then - IFS="${IFS= }"; ac_save_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 - lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" else - test "$with_gnu_ld" != yes && break + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi - done - IFS="$ac_save_ifs" -else - lt_cv_path_LD="$LD" # Let the user override the test with a path. -fi]) -LD="$lt_cv_path_LD" -if test -n "$LD"; then - AC_MSG_RESULT($LD) + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) else - AC_MSG_RESULT(no) + AC_MSG_RESULT(ok) fi -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU -]) +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# AC_PROG_LD_GNU - -AC_DEFUN([AC_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes -else - lt_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$lt_cv_prog_gnu_ld -]) -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, -[lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac +]) -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; -beos*) - lt_cv_deplibs_check_method=pass_all +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; - -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; - -cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -darwin* | rhapsody*) - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + openbsd*) + with_gnu_ld=no ;; esac - ;; -freebsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi ;; esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi else - lt_cv_deplibs_check_method=pass_all - fi - ;; + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# This must be Linux ELF. -linux-gnu*) - case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - ;; + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' - fi - ;; + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' - fi - ;; + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so - ;; + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -sysv5uw[[78]]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -]) + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# AC_PROG_NM - find the path to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -AC_MSG_CHECKING([for BSD-compatible nm]) -AC_CACHE_VAL(lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi - fi - done - IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -AC_MSG_RESULT([$NM]) + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -# AC_CHECK_LIBM - check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32*) - # These system don't have libm - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, main, LIBM="-lm") +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi ;; esac -]) +])# AC_LIBTOOL_PROG_LD_SHLIBS -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and LTDLINCL are not -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed -# with '${top_srcdir}/' (note the single quotes!). If your package is -# not flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, main, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) -dnl AC_LIBTOOL_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_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], -[AC_DEFUN([AC_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) @@ -4352,6 +6597,16 @@ AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # @@ -4365,79 +6620,51 @@ AC_DEFUN([LT_AC_PROG_SED], AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" 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_prog in sed gsed; do + for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done done - rm -rf "$tmp" +done +SED=$lt_cv_path_SED ]) -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi AC_MSG_RESULT([$SED]) ]) @@ -4535,8 +6762,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -4557,8 +6783,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], diff --git a/autoconf-lib-link/tests/rpathz/configure b/autoconf-lib-link/tests/rpathz/configure index e426b2165..ae1ade7e7 100755 --- a/autoconf-lib-link/tests/rpathz/configure +++ b/autoconf-lib-link/tests/rpathz/configure @@ -240,17 +240,6 @@ IFS=" $as_nl" $as_unset CDPATH -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -269,7 +258,7 @@ if test "X$1" = X--no-reexec; then elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else @@ -281,7 +270,7 @@ if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -325,7 +315,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -399,6 +389,11 @@ fi + +tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + +tagnames=`echo "$tagnames,F77" | sed 's/^,//'` + # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. @@ -467,7 +462,7 @@ ac_includes_default="\ # 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 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 AWK SET_MAKE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY global_top_auxdir LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY global_top_auxdir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -928,6 +923,26 @@ ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP +ac_env_CXX_set=${CXX+set} +ac_env_CXX_value=$CXX +ac_cv_env_CXX_set=${CXX+set} +ac_cv_env_CXX_value=$CXX +ac_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_env_CXXFLAGS_value=$CXXFLAGS +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. @@ -1009,9 +1024,12 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared=PKGS build shared libraries default=yes - --enable-static=PKGS build static libraries default=yes - --enable-fast-install=PKGS optimize for fast installation default=yes + --enable-shared[=PKGS] + build shared libraries [default=yes] + --enable-static[=PKGS] + build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-rpath do not hardcode runtime library paths @@ -1019,7 +1037,10 @@ 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-pic try to use only PIC/non-PIC objects [default=use both] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] + include additional configurations [automatic] --with-gnu-ld assume the C compiler uses GNU ld default=no --with-librpathx-prefix[=DIR] search for librpathx in DIR/include and DIR/lib --without-librpathx-prefix don't search for librpathx in includedir and libdir @@ -1034,6 +1055,11 @@ Some influential environment variables: CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1685,6 +1711,15 @@ 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 @@ -2698,16 +2733,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2821,11 +2847,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -2857,68 +2889,74 @@ fi if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_shared=yes fi; + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_static=yes fi; + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_fast_install=yes fi; + # 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 @@ -2973,16 +3011,77 @@ host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + +fi + +echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6 + +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 + # Check whether --with-gnu-ld or --without-gnu-ld was given. @@ -2995,8 +3094,8 @@ 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 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3006,12 +3105,12 @@ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 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'` + 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%/%"` + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -3035,22 +3134,26 @@ if test "${lt_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=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + case `"$lt_cv_path_LD" -v 2>&1 &6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then +case `"$LD" -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 @@ -3094,7 +3200,11 @@ fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -3105,120 +3215,42 @@ else # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac fi done - IFS="$ac_save_ifs" + IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi - +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" - -fi - -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi -echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 @@ -3246,7 +3278,7 @@ lt_cv_deplibs_check_method='unknown' # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. +# which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3266,21 +3298,24 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac + lt_cv_deplibs_check_method=pass_all ;; freebsd*) @@ -3303,10 +3338,22 @@ gnu*) lt_cv_deplibs_check_method=pass_all ;; -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' +hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) @@ -3331,9 +3378,9 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux-gnu*) +linux*) case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -3344,9 +3391,9 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; @@ -3356,6 +3403,10 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` @@ -3382,10 +3433,6 @@ solaris*) lt_cv_file_magic_test_file=/lib/libc.so ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) @@ -3409,6 +3456,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ;; esac ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; esac fi @@ -3416,211 +3467,200 @@ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} +# Allow CC to be a program name with arguments. +compiler=$CC +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:$LINENO: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris* | sysv5*) - symcode='[BDT]' - ;; -sysv4) - symcode='[DFNSTU]' +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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 + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[ABCDGISTW]' -fi - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - rm -f conftest* - cat > conftest.$ac_ext < conftest.$ac_ext 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 - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif + (exit $ac_status); }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + 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 - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = +int +main () { -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; -#ifdef __cplusplus + ; + return 0; } -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +_ACEOF +rm -f conftest.$ac_objext 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); } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done + (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 + lt_cv_cc_needs_belf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +lt_cv_cc_needs_belf=no fi +rm -f conftest.$ac_objext conftest$ac_exeext 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 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6 -else - echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 fi +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; + +esac + +need_locks="$enable_libtool_lock" + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -3857,21 +3897,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ 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 @@ -4237,160 +4262,23 @@ fi done - - - - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC + 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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -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. + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4399,7 +4287,7 @@ do 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" + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4408,69 +4296,31 @@ 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 +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi + test -n "$CXX" && break + done 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 +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 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 - -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 + # 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_STRIP+set}" = set; then +if test "${ac_cv_prog_ac_ct_CXX+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. + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4479,7 +4329,7 @@ do 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" + ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4488,114 +4338,102 @@ 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 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&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 + test -n "$ac_ct_CXX" && break 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 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++" - STRIP=$ac_ct_STRIP -else - STRIP="$ac_cv_prog_STRIP" + CXX=$ac_ct_CXX fi -enable_dlopen=no -enable_win32_dll=no +# 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); } -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" +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_cxx_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -fi; -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +int +main () +{ +#ifndef __GNUC__ + choke me +#endif -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 4560 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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 - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; + (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 -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +CXXFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - - 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 - - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -4611,591 +4449,10694 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - lt_cv_cc_needs_belf=yes + ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -lt_cv_cc_needs_belf=no +ac_cv_prog_cxx_g=no fi -rm -f conftest.$ac_objext conftest$ac_exeext 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 - +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" fi - ;; +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +for ac_declaration in \ + ''\ + '#include ' \ + '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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +$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>&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.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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>&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.$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 -esac +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' +depcc="$CXX" am_compiler_list= -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' +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_CXX_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 -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + am_cv_CXX_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 + # 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. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf -# Constants: -rm="rm -f" + 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=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h 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 + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done -# Global variables: -default_ofile=libtool -can_build_shared=yes + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +fi +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type -old_CC="$CC" -old_CFLAGS="$CFLAGS" -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' else - ac_tool_prefix= + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= fi -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_flag + else + ac_cpp_err= fi - ;; -esac +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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 + 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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # 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_F77="$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 +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 +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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_F77" && break +done + + F77=$ac_ct_F77 +fi + + +# Provide some information about the compiler. +echo "$as_me:4995:" \ + "checking for Fortran 77 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); } + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. +ac_save_ext=$ac_ext +ac_ext=F +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 +ac_ext=$ac_save_ext +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_f77_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "$G77" = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "$G77" = yes; then + FFLAGS="-O2" + else + FFLAGS= + fi +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 + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGISTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + 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); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6 +else + echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 +fi + +echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6 +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" + 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_AR" && ac_cv_prog_ac_ct_AR="false" +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AR=$ac_ct_AR +else + AR="$ac_cv_prog_AR" +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 + +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 + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=no + +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +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 + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6000: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6004: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6232: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6236: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6299: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:6303: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6 +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6 + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + tagnames="$withval" +fi; + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# 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; +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 $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $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. + [\\/]* | ?:[\\/]*) + 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 "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &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 "${lt_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}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10553: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:10557: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10620: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:10624: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6 + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12795: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:12799: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12862: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:12866: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6 +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6 + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +# ltmain only uses $CC for tagged configurations so make sure $CC is set. -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} # Allow CC to be a program name with arguments. -set dummy $CC -compiler="$2" +compiler=$CC -echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:14814: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:14818: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + fi -rmdir .libs 2>/dev/null -echo "$as_me:$LINENO: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi +fi -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" -else - pic_mode=default -fi; -test -z "$pic_mode" && pic_mode=default +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi ;; + amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' + lt_prog_compiler_pic_GCJ='-fno-common' ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no ;; + sysv4*MP*) if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic + lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + *) - lt_cv_prog_cc_pic='-fPIC' + lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else - # PORTME Check for PIC flags for the system compiler. + # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_static_GCJ='-Bstatic' else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac ;; osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_static_GCJ='-non_shared' ;; sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' ;; solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' fi ;; + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + *) - lt_cv_prog_cc_can_build_shared=no + lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi -fi - -if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -else - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 - - # Check to make sure the pic_flag actually works. - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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>&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 - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_prog_cc_pic_works=no - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - -fi - - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi - - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 -fi - -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : - else - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} - lt_cv_prog_cc_can_build_shared=no - fi -fi - -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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 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='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 - lt_cv_prog_cc_static_works=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi - - -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:5102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&5 - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null - -fi - -compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:$LINENO: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15046: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15050: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* fi -rm -f conftest.$ac_objext conftest.$ac_ext - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac - compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - compiler_o_lo=no + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15113: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15117: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 + -# Check to see if we can do hard links to lock some files if needed hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 @@ -5216,135 +15157,72 @@ else need_locks=no fi -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -int -main () -{ -int some_variable = 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no fi - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 - - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi -fi - -# See if the linker supports building shared libraries. -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= - -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then + ;; + openbsd*) with_gnu_ld=no - fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac + ;; + esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. @@ -5353,125 +15231,73 @@ if test "$with_gnu_ld" = yes; then *** so that a non-GNU linker is found, and then restart. EOF - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ + fi ;; - esac - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; + ld_shlibs=no + fi + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool @@ -5481,529 +15307,757 @@ EOF *** used, and then restart. EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no ;; + *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else - whole_archive_flag_spec= + ld_shlibs_GCJ=no fi ;; esac - fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi fi - ;; + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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 - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi - fi - - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + fi ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; - freebsd1*) - ld_shlibs=no - ;; + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + freebsd1*) + ld_shlibs_GCJ=no + ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [12].*) - cat <&2 + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -EOF - no_undefined_flag= - ;; + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; + link_all_deplibs_GCJ=yes + ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + *) + ld_shlibs_GCJ=no + ;; + esac + fi - *) - ld_shlibs=no - ;; - esac +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6 +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 -test "$ld_shlibs" = no && can_build_shared=no -# Check hardcoding attributes. +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 + ;; + esac + fi + ;; +esac + echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && + if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. - hardcode_action=relink + hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate + hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. - hardcode_action=unsupported + hardcode_action_GCJ=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless fi -echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 striplib= old_striplib= @@ -6015,19 +16069,31 @@ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= +shrext=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= @@ -6037,16 +16103,35 @@ shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown case $host_os in aix3*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) @@ -6056,7 +16141,7 @@ aix4* | aix5*) hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file @@ -6066,33 +16151,31 @@ aix4* | aix5*) # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' + soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi - hardcode_into_libs=yes ;; amigaos*) @@ -6102,7 +16185,7 @@ amigaos*) ;; beos*) - library_names_spec='${libname}.so' + library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; @@ -6110,13 +16193,12 @@ beos*) bsdi4*) version_type=linux need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs @@ -6124,29 +16206,55 @@ bsdi4*) cygwin* | mingw* | pw32*) version_type=windows + shrext=".dll" need_version=no need_lib_prefix=no + case $GCC,$host_os in - yes,cygwin*) + yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' - ;; + *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' @@ -6162,10 +16270,25 @@ darwin* | rhapsody*) # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) @@ -6176,8 +16299,8 @@ freebsd*-gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes @@ -6189,12 +16312,12 @@ freebsd*) version_type=freebsd-$objformat case $version_type in freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac @@ -6203,7 +16326,11 @@ freebsd*) freebsd2*) shlibpath_overrides_runpath=yes ;; - *) + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; @@ -6214,8 +16341,8 @@ gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; @@ -6223,14 +16350,45 @@ gnu*) hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. - dynamic_linker="$host_os dld.sl" version_type=sunos need_lib_prefix=no need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; @@ -6238,21 +16396,29 @@ hpux9* | hpux10* | hpux11*) irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; esac need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; @@ -6261,20 +16427,21 @@ irix5* | irix6* | nonstopux*) shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) +linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. -linux-gnu*) +linux*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no @@ -6297,12 +16464,12 @@ netbsd*) need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH @@ -6312,7 +16479,17 @@ netbsd*) newsos6) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; @@ -6321,46 +16498,47 @@ openbsd*) version_type=sunos need_lib_prefix=no need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else shlibpath_overrides_runpath=yes fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH ;; os2*) libname_spec='$name' + shrext=".dll" need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' + library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf + need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes ;; sco3.2v5*) version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; @@ -6368,8 +16546,8 @@ solaris*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes @@ -6379,7 +16557,7 @@ solaris*) sunos4*) version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -6391,8 +16569,8 @@ sunos4*) sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) @@ -6413,31 +16591,22 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - sysv4*MP*) if test -d /usr/nec ;then version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + *) dynamic_linker=no ;; @@ -6446,57 +16615,6 @@ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no -# Report the final consequences. -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6 - -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown @@ -6512,11 +16630,84 @@ else lt_cv_dlopen_self=yes ;; - cygwin* | mingw* | pw32*) + mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 @@ -6924,7 +17115,7 @@ fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" @@ -6940,10 +17131,10 @@ else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 - fi +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - $rm conftest* - echo 'static int dummy;' > conftest.$ac_ext +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ - 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 - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* +# ### END LIBTOOL TAG CONFIG: $tagname -fi +__EOF__ - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the @@ -7217,39 +17730,123 @@ else test -f Makefile && make "$ltmain" fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; @@ -7259,46 +17856,16 @@ if test -f "$ltmain"; then esac done - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +cfgfile="$ofile" -# ### BEGIN LIBTOOL CONFIG + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: @@ -7312,7 +17879,10 @@ build_libtool_libs=$enable_shared build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install @@ -7328,14 +17898,20 @@ echo=$lt_echo AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS -# The default C compiler. -CC=$lt_CC +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC # Is the compiler the GNU C compiler? -with_gcc=$GCC +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP # The linker used to build libraries. -LD=$lt_LD +LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S @@ -7366,7 +17942,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" @@ -7374,18 +17950,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -7406,19 +17985,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type @@ -7435,26 +18014,50 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -7462,10 +18065,10 @@ deplibs_check_method=$lt_deplibs_check_method file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -7474,13 +18077,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -7492,36 +18095,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -7530,234 +18142,72 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_include_expsyms_RC -# ### END LIBTOOL CONFIG +# ### END LIBTOOL TAG CONFIG: $tagname __EOF__ - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) +CC="$lt_save_CC" - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi @@ -7768,6 +18218,24 @@ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion + + + + + + + + + + + + + + + + + + @@ -7922,8 +18390,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -8926,6 +19392,13 @@ 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 "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" 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 @@ -9468,6 +19941,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -9492,12 +19966,24 @@ 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,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t +s,@AR@,$AR,;t t +s,@ac_ct_AR@,$ac_ct_AR,;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,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t +s,@ac_ct_CXX@,$ac_ct_CXX,;t t +s,@CXXDEPMODE@,$CXXDEPMODE,;t t +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@LIBRPATHX@,$LIBRPATHX,;t t s,@LTLIBRPATHX@,$LTLIBRPATHX,;t t diff --git a/config/config.rpath b/config/config.rpath index 2cad16996..fa24bfc2d 100755 --- a/config/config.rpath +++ b/config/config.rpath @@ -34,6 +34,12 @@ # # The set of defined variables is at the end of this script. +# Known limitations: +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer +# than 256 bytes, otherwise the compiler driver will dump core. The only +# known workaround is to choose shorter directory names for the build +# directory and/or the installation directory. + # All known linkers require a `.a' archive for static linking (except M$VC, # which needs '.lib'). libext=a diff --git a/configure b/configure index a5553c23c..315d9fae9 100755 --- a/configure +++ b/configure @@ -272,7 +272,7 @@ PACKAGE_BUGREPORT= ac_unique_file="gettext-tools/src/msgfmt.c" ac_subdirs_all="$ac_subdirs_all autoconf-lib-link gettext-runtime gettext-tools" -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 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 AWK SET_MAKE subdirs LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS CPP CXX CXXFLAGS CXXCPP F77 FFLAGS GCJ GCJFLAGS LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -713,6 +713,54 @@ 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 +ac_env_CXX_set=${CXX+set} +ac_env_CXX_value=$CXX +ac_cv_env_CXX_set=${CXX+set} +ac_cv_env_CXX_value=$CXX +ac_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_env_CXXFLAGS_value=$CXXFLAGS +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} +ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS +ac_env_GCJ_set=${GCJ+set} +ac_env_GCJ_value=$GCJ +ac_cv_env_GCJ_set=${GCJ+set} +ac_cv_env_GCJ_value=$GCJ +ac_env_GCJFLAGS_set=${GCJFLAGS+set} +ac_env_GCJFLAGS_value=$GCJFLAGS +ac_cv_env_GCJFLAGS_set=${GCJFLAGS+set} +ac_cv_env_GCJFLAGS_value=$GCJFLAGS # # Report the --help message. @@ -778,6 +826,10 @@ 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] _ACEOF fi @@ -785,6 +837,56 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-dependency-tracking Speeds up one-time builds + --enable-dependency-tracking Do not reject slow dependency extractors + --enable-shared=PKGS build shared libraries [default=yes] + --enable-static=PKGS build static libraries [default=yes] + --enable-fast-install=PKGS + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-relocatable install a package that can be moved in the filesystem + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths + +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-pic try to use only PIC/non-PIC objects + [default=use], [both] + --with-tags=TAGS include additional configurations [automatic] + --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 + --with-included-gettext use the GNU gettext library included here + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --with-libexpat-prefix[=DIR] search for libexpat in DIR/include and DIR/lib + --without-libexpat-prefix don't search for libexpat in includedir and libdir + --with-lispdir Override the default lisp directory + +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 + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags + GCJ Java native code compiler command + GCJFLAGS Java native code compiler flags + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + _ACEOF fi @@ -1434,6 +1536,15 @@ 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 @@ -1591,6 +1702,375 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" subdirs="$subdirs autoconf-lib-link gettext-runtime gettext-tools" +# 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/'` + + + + + + +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval="$enable_dependency_tracking" + +fi; +# Check whether --enable-shared or --disable-shared was given. +if test "${enable_shared+set}" = set; then + enableval="$enable_shared" + +fi; +# Check whether --enable-static or --disable-static was given. +if test "${enable_static+set}" = set; then + enableval="$enable_static" + +fi; +# Check whether --enable-fast-install or --disable-fast-install was given. +if test "${enable_fast_install+set}" = set; then + enableval="$enable_fast_install" + +fi; + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + +fi; +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; + + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + +fi; + + + + + + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; + + + + + + + +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval="$enable_dependency_tracking" + +fi; + + +# Check whether --enable-shared or --disable-shared was given. +if test "${enable_shared+set}" = set; then + enableval="$enable_shared" + +fi; +# Check whether --enable-static or --disable-static was given. +if test "${enable_static+set}" = set; then + enableval="$enable_static" + +fi; +# Check whether --enable-fast-install or --disable-fast-install was given. +if test "${enable_fast_install+set}" = set; then + enableval="$enable_fast_install" + +fi; + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + +fi; +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + +fi; + + + + + + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; + + + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; +# Check whether --enable-relocatable or --disable-relocatable was given. +if test "${enable_relocatable+set}" = set; then + enableval="$enable_relocatable" + +fi; +# Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + +fi; +# Check whether --enable-rpath or --disable-rpath was given. +if test "${enable_rpath+set}" = set; then + enableval="$enable_rpath" + +fi; + +# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then + withval="$with_libiconv_prefix" + +fi; +# Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + +fi; + +# Check whether --with-included-gettext or --without-included-gettext was given. +if test "${with_included_gettext+set}" = set; then + withval="$with_included_gettext" + +fi; + +# Check whether --with-libintl-prefix or --without-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then + withval="$with_libintl_prefix" + +fi; + + + + + + +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval="$enable_dependency_tracking" + +fi; + + + + +# Check whether --enable-shared or --disable-shared was given. +if test "${enable_shared+set}" = set; then + enableval="$enable_shared" + +fi; +# Check whether --enable-static or --disable-static was given. +if test "${enable_static+set}" = set; then + enableval="$enable_static" + +fi; +# Check whether --enable-fast-install or --disable-fast-install was given. +if test "${enable_fast_install+set}" = set; then + enableval="$enable_fast_install" + +fi; + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + +fi; +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + +fi; + + + + + + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; + + + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + +fi; +# Check whether --enable-relocatable or --disable-relocatable was given. +if test "${enable_relocatable+set}" = set; then + enableval="$enable_relocatable" + +fi; +# Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + +fi; +# Check whether --enable-rpath or --disable-rpath was given. +if test "${enable_rpath+set}" = set; then + enableval="$enable_rpath" + +fi; + +# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then + withval="$with_libiconv_prefix" + +fi; +# Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + +fi; + +# Check whether --with-included-gettext or --without-included-gettext was given. +if test "${with_included_gettext+set}" = set; then + withval="$with_included_gettext" + +fi; + +# Check whether --with-libintl-prefix or --without-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then + withval="$with_libintl_prefix" + +fi; + +# Check whether --with-libexpat-prefix or --without-libexpat-prefix was given. +if test "${with_libexpat_prefix+set}" = set; then + withval="$with_libexpat_prefix" + +fi; + +# Check whether --with-lispdir or --without-lispdir was given. +if test "${with_lispdir+set}" = set; then + withval="$with_lispdir" + +fi; + + + + ac_config_files="$ac_config_files Makefile" @@ -2246,7 +2726,28 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@subdirs@,$subdirs,;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,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@LDFLAGS@,$LDFLAGS,;t t +s,@CPPFLAGS@,$CPPFLAGS,;t t +s,@CPP@,$CPP,;t t +s,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@GCJ@,$GCJ,;t t +s,@GCJFLAGS@,$GCJFLAGS,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF diff --git a/gettext-runtime/ABOUT-NLS b/gettext-runtime/ABOUT-NLS index 931f90a10..47d5e39f0 100644 --- a/gettext-runtime/ABOUT-NLS +++ b/gettext-runtime/ABOUT-NLS @@ -171,274 +171,422 @@ Available Packages ================== Languages are not equally supported in all packages. The following -matrix shows the current state of internationalization, as of February -2003. The matrix shows, in regard of each package, for which languages -PO files have been submitted to translation coordination, with a +matrix shows the current state of internationalization, as of May 2003. +The matrix shows, in regard of each package, for which languages PO +files have been submitted to translation coordination, with a translation percentage of at least 50%. - Ready PO files az be bg ca cs da de el en en_GB eo es et fa fi - +-------------------------------------------------+ - a2ps | [] [] [] [] [] | - aegis | () | - anubis | | - ap-utils | | - bash | [] [] [] | - batchelor | | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] [] | - clisp | [] [] [] | - clisp | | - coreutils | [] [] [] [] | - cpio | [] [] [] | - darkstat | () [] | - diffutils | [] [] [] [] [] [] [] | - enscript | [] [] [] | - error | [] [] [] [] | - fetchmail | [] () [] [] [] | - fileutils | [] [] [] [] | - findutils | [] [] [] [] [] [] [] | - flex | [] [] [] [] | - gas | [] | - gawk | [] [] [] | - gcal | [] | - gcc | [] [] | - gettext | [] [] [] [] [] | - gimp-print | | - gliv | | - gnucash | [] () | - gnucash-glossary| [] () [] | - gnupg | [] [] [] [] [] [] [] | - gpe-todo | | - gphoto2 | [] [] | - gprof | [] [] | - gpsdrive | () () () () | - grep | [] [] [] [] [] [] [] | - gretl | [] | - hello | [] [] [] [] [] [] [] [] [] | - id-utils | [] [] | - indent | [] [] [] [] [] [] | - jpilot | () [] [] [] | - jwhois | [] | - kbd | [] [] [] | - ld | [] [] | - libc | [] [] [] [] [] [] [] | - libgpewidget | | - libiconv | [] [] [] [] [] [] | - lifelines | [] () | - lilypond | [] | - lingoteach | [] | - lingoteach_lessons| () () | - lynx | [] [] [] [] [] | - m4 | [] [] [] [] | - mailutils | [] [] | - make | [] [] [] | - man-db | [] () [] () | - mysecretdiary | [] [] [] | - nano | [] () [] [] [] | - nano_1_0 | [] () [] [] [] | - opcodes | [] [] | - parted | [] [] [] [] | - ptx | [] [] [] [] [] [] [] | - python | | - radius | | - recode | [] [] [] [] [] | - sed | [] [] [] [] [] [] | - sh-utils | [] [] [] [] | - sharutils | [] [] [] [] [] [] [] | - sketch | [] () [] | - soundtracker | [] [] [] | - sp | [] | - tar | [] [] [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] | - tin | () () [] | - util-linux | [] [] [] [] [] [] [] | - vorbis-tools | [] [] | - wastesedge | () | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] [] [] [] [] | - xchat | | - xpad | | - +-------------------------------------------------+ - az be bg ca cs da de el en en_GB eo es et fa fi - 0 1 2 26 9 49 46 9 1 1 11 52 19 1 15 + Ready PO files am az be bg ca cs da de el en en_GB eo es + +-------------------------------------------+ + a2ps | [] [] [] [] | + aegis | () | + anubis | | + ap-utils | | + bash | [] [] [] | + batchelor | | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] | + bluez-pin | [] [] | + clisp | | + clisp | [] [] [] | + coreutils | [] [] [] [] | + cpio | [] [] [] | + darkstat | () [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + error | [] [] [] [] [] | + fetchmail | [] () [] [] [] [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] [] | + flex | [] [] [] [] | + gas | [] | + gawk | [] [] [] [] | + gcal | [] | + gcc | [] [] | + gettext | [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] | + gimp-print | [] [] [] [] [] | + gliv | | + glunarclock | [] [] [] | + gnucash | () [] | + gnucash-glossary | [] () [] | + gnupg | [] () [] [] [] [] | + gpe-calendar | [] | + gpe-conf | [] | + gpe-contacts | [] | + gpe-edit | | + gpe-login | [] | + gpe-ownerinfo | [] | + gpe-sketchbook | [] | + gpe-timesheet | | + gpe-today | [] | + gpe-todo | [] | + gphoto2 | [] [] [] [] | + gprof | [] [] | + gpsdrive | () () () | + grep | [] [] [] [] [] | + gretl | [] | + hello | [] [] [] [] [] [] | + id-utils | [] [] | + indent | [] [] [] [] | + jpilot | [] [] [] [] | + jwhois | [] | + kbd | [] [] [] [] [] | + ld | [] [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] | + libiconv | [] [] [] [] [] | + lifelines | [] () | + lilypond | [] | + lingoteach | | + lingoteach_lessons | () () | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | [] [] | + make | [] [] [] | + man-db | [] () [] [] () | + mysecretdiary | [] [] [] | + nano | [] () [] [] [] | + nano_1_0 | [] () [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] [] | + ptx | [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] [] [] [] | + screem | | + sed | [] [] [] [] [] | + sh-utils | [] [] [] | + sharutils | [] [] [] [] [] [] | + sketch | [] () [] | + soundtracker | [] [] [] | + sp | [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] | + tin | () () | + util-linux | [] [] [] [] [] | + vorbis-tools | [] [] [] | + wastesedge | () | + wdiff | [] [] [] [] | + wget | [] [] [] [] [] [] [] | + xchat | [] [] [] | + xpad | | + +-------------------------------------------+ + am az be bg ca cs da de el en en_GB eo es + 0 1 4 2 31 17 54 60 14 1 4 12 56 - fr gl he hr hu id it ja ko lg lv ms nb nl - +-------------------------------------------+ - a2ps | [] () () [] [] | - aegis | () | - anubis | [] [] | - ap-utils | [] | - bash | [] [] | - batchelor | | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] [] | - clisp | [] [] | - clisp | | - coreutils | [] [] [] | - cpio | [] [] [] [] [] | - darkstat | () [] [] [] | - diffutils | [] [] [] [] [] [] | - enscript | [] [] [] | - error | [] [] [] | - fetchmail | [] | - fileutils | [] [] [] [] | - findutils | [] [] [] [] [] [] [] [] [] | - flex | [] [] | - gas | [] | - gawk | [] [] | - gcal | [] | - gcc | [] | - gettext | [] [] [] | - gimp-print | | - gliv | () | - gnucash | [] [] [] | - gnucash-glossary| [] [] | - gnupg | [] [] [] [] [] | - gpe-todo | | - gphoto2 | [] [] [] | - gprof | [] [] | - gpsdrive | () [] () () | - grep | [] [] [] [] [] [] [] [] | - gretl | [] | - hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | - id-utils | [] [] [] | - indent | [] [] [] [] [] [] | - jpilot | [] () () | - jwhois | [] [] [] [] | - kbd | [] | - ld | [] | - libc | [] [] [] [] [] [] | - libgpewidget | | - libiconv | [] [] [] [] [] [] | - lifelines | () | - lilypond | [] [] | - lingoteach | [] | - lingoteach_lessons| | - lynx | [] [] [] [] | - m4 | [] [] [] [] [] | - mailutils | | - make | [] [] [] [] [] [] [] | - man-db | [] () () | - mysecretdiary | [] [] | - nano | [] [] [] [] [] [] | - nano_1_0 | [] [] [] [] [] [] | - opcodes | [] [] [] | - parted | [] [] [] | - ptx | [] [] [] [] [] [] | - python | | - radius | | - recode | [] [] [] [] [] | - sed | [] [] [] [] [] | - sh-utils | [] [] [] [] [] | - sharutils | [] [] [] [] [] | - sketch | [] | - soundtracker | [] [] [] | - sp | [] () | - tar | [] [] [] [] [] [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] [] [] | - tin | | - util-linux | [] [] () [] [] | - vorbis-tools | [] | - wastesedge | () | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] [] [] | - xchat | | - xpad | | - +-------------------------------------------+ - fr gl he hr hu id it ja ko lg lv ms nb nl - 59 23 8 10 26 20 18 26 8 0 1 8 7 24 + et fa fi fr ga gl he hr hu id it ja ko + +----------------------------------------+ + a2ps | [] [] [] () () | + aegis | | + anubis | [] | + ap-utils | [] | + bash | [] [] | + batchelor | [] | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] [] | + bluez-pin | [] [] [] [] | + clisp | | + clisp | [] | + coreutils | [] [] [] [] | + cpio | [] [] [] [] | + darkstat | () [] [] [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | | + enscript | [] [] | + error | [] [] [] [] | + fetchmail | [] | + fileutils | [] [] [] [] [] | + findutils | [] [] [] [] [] [] [] [] [] [] [] | + flex | [] [] | + gas | [] | + gawk | [] [] | + gcal | [] | + gcc | [] | + gettext | [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] | + gimp-print | [] [] | + gliv | () | + glunarclock | [] [] [] [] | + gnucash | [] | + gnucash-glossary | [] | + gnupg | [] [] [] [] [] [] [] | + gpe-calendar | [] | + gpe-conf | | + gpe-contacts | [] | + gpe-edit | [] [] | + gpe-login | [] | + gpe-ownerinfo | [] [] [] | + gpe-sketchbook | [] | + gpe-timesheet | [] [] [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] | + gprof | [] [] | + gpsdrive | () [] () () | + grep | [] [] [] [] [] [] [] [] [] [] [] | + gretl | [] | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] | + indent | [] [] [] [] [] [] [] [] | + jpilot | [] () | + jwhois | [] [] [] [] | + kbd | [] | + ld | [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] [] | + libiconv | [] [] [] [] [] [] [] [] | + lifelines | () | + lilypond | [] | + lingoteach | [] [] | + lingoteach_lessons | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | | + make | [] [] [] [] [] [] | + man-db | [] () () | + mysecretdiary | [] [] | + nano | [] [] [] [] | + nano_1_0 | [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] [] [] [] | + screem | | + sed | [] [] [] [] [] [] [] [] | + sh-utils | [] [] [] [] [] [] | + sharutils | [] [] [] [] [] | + sketch | [] | + soundtracker | [] [] [] | + sp | [] () | + tar | [] [] [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] [] | + tin | [] () | + util-linux | [] [] [] [] () [] | + vorbis-tools | [] | + wastesedge | () | + wdiff | [] [] [] [] [] | + wget | [] [] [] [] [] [] [] [] | + xchat | [] [] [] | + xpad | | + +----------------------------------------+ + et fa fi fr ga gl he hr hu id it ja ko + 20 1 15 73 14 24 8 10 30 31 19 31 9 - nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW - +----------------------------------------------------+ - a2ps | () () () [] [] [] [] [] [] | 14 - aegis | () | 0 - anubis | [] [] | 4 - ap-utils | () () | 1 - bash | [] [] | 7 - batchelor | | 0 - bfd | [] [] | 6 - binutils | [] [] | 6 - bison | [] [] [] | 11 - clisp | | 5 - clisp | | 0 - coreutils | [] [] [] [] [] | 12 - cpio | [] [] [] [] [] | 13 - darkstat | [] [] () () | 6 - diffutils | [] [] [] [] [] [] | 19 - enscript | [] [] [] [] | 10 - error | [] [] [] [] | 11 - fetchmail | () () [] | 6 - fileutils | [] [] [] [] [] [] | 14 - findutils | [] [] [] [] [] [] [] [] | 24 - flex | [] [] [] [] | 10 - gas | [] | 3 - gawk | [] [] | 7 - gcal | [] [] | 4 - gcc | [] | 4 - gettext | [] [] [] [] [] [] | 14 - gimp-print | | 0 - gliv | [] | 1 - gnucash | [] [] [] [] [] | 9 - gnucash-glossary| [] [] [] [] | 8 - gnupg | [] [] [] [] | 16 - gpe-todo | | 0 - gphoto2 | [] [] | 7 - gprof | [] [] [] | 7 - gpsdrive | [] [] | 3 - grep | [] [] [] [] [] | 20 - gretl | | 2 - hello | [] [] [] [] [] [] [] [] [] | 31 - id-utils | [] [] [] [] | 9 - indent | [] [] [] [] [] | 17 - jpilot | () [] [] [] [] | 8 - jwhois | [] () () [] [] | 8 - kbd | [] [] | 6 - ld | [] [] | 5 - libc | [] [] [] [] [] [] [] | 20 - libgpewidget | | 0 - libiconv | [] [] [] [] [] [] | 18 - lifelines | [] | 2 - lilypond | [] | 4 - lingoteach | [] [] | 4 - lingoteach_lessons| () | 0 - lynx | [] [] [] [] | 13 - m4 | [] [] [] [] | 13 - mailutils | | 2 - make | [] [] [] [] [] | 15 - man-db | [] | 4 - mysecretdiary | [] [] [] | 8 - nano | [] [] [] | 13 - nano_1_0 | [] [] [] [] [] | 15 - opcodes | [] [] [] | 8 - parted | [] [] [] [] [] | 12 - ptx | [] [] [] [] [] [] [] | 20 - python | | 0 - radius | | 0 - recode | [] [] [] [] [] [] | 16 - sed | [] [] [] [] [] | 16 - sh-utils | [] [] [] | 12 - sharutils | [] [] [] [] | 16 - sketch | [] [] | 5 - soundtracker | [] | 7 - sp | [] | 3 - tar | [] [] [] [] [] [] [] [] [] | 24 - texinfo | [] [] [] [] | 12 - textutils | [] [] [] [] [] | 15 - tin | | 1 - util-linux | [] [] [] | 14 - vorbis-tools | [] | 4 - wastesedge | | 0 - wdiff | [] [] [] [] [] | 15 - wget | [] [] [] [] [] [] [] [] | 24 - xchat | | 0 - xpad | | 0 - +----------------------------------------------------+ - 43 teams nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW - 82 domains 3 4 14 4 34 1 29 14 13 53 46 6 9 13 723 + lg lt lv ms nb nl nn no pl pt pt_BR ro + +----------------------------------------+ + a2ps | [] [] () () () [] [] | + aegis | () | + anubis | [] [] | + ap-utils | () | + bash | [] | + batchelor | | + bfd | | + binutils | | + bison | [] [] [] [] | + bluez-pin | [] | + clisp | | + clisp | [] | + coreutils | [] | + cpio | [] [] [] | + darkstat | [] [] [] [] | + diffutils | [] [] [] | + e2fsprogs | | + enscript | [] [] | + error | [] [] | + fetchmail | () () | + fileutils | [] | + findutils | [] [] [] [] | + flex | [] | + gas | | + gawk | [] | + gcal | | + gcc | | + gettext | [] | + gettext-runtime | [] | + gettext-tools | | + gimp-print | [] | + gliv | [] | + glunarclock | [] | + gnucash | | + gnucash-glossary | [] [] | + gnupg | | + gpe-calendar | [] [] | + gpe-conf | [] [] | + gpe-contacts | [] | + gpe-edit | [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] | + gpe-sketchbook | [] [] | + gpe-timesheet | [] [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | | + gprof | [] | + gpsdrive | () () () | + grep | [] [] [] [] | + gretl | | + hello | [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] | + indent | [] [] [] | + jpilot | () () | + jwhois | [] [] [] | + kbd | | + ld | | + libc | [] [] [] [] | + libgpewidget | [] [] | + libiconv | [] [] | + lifelines | | + lilypond | [] | + lingoteach | | + lingoteach_lessons | | + lynx | [] [] | + m4 | [] [] [] [] | + mailutils | | + make | [] [] | + man-db | [] | + mysecretdiary | [] | + nano | [] [] [] [] | + nano_1_0 | [] [] [] [] | + opcodes | [] [] [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] | + screem | | + sed | [] [] | + sh-utils | [] | + sharutils | [] | + sketch | [] | + soundtracker | | + sp | | + tar | [] [] [] [] [] [] | + texinfo | [] | + textutils | [] | + tin | | + util-linux | [] [] | + vorbis-tools | [] [] | + wastesedge | | + wdiff | [] [] [] [] | + wget | [] [] [] | + xchat | [] [] | + xpad | [] | + +----------------------------------------+ + lg lt lv ms nb nl nn no pl pt pt_BR ro + 0 0 2 11 7 26 3 4 18 15 34 34 + + ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW + +-------------------------------------------+ + a2ps | [] [] [] [] [] | 16 + aegis | () | 0 + anubis | [] [] | 5 + ap-utils | () | 1 + bash | [] | 7 + batchelor | | 1 + bfd | [] [] [] | 7 + binutils | [] [] [] | 7 + bison | [] [] | 13 + bluez-pin | | 7 + clisp | | 0 + clisp | | 5 + coreutils | [] [] [] [] [] | 14 + cpio | [] [] [] | 13 + darkstat | [] () () | 9 + diffutils | [] [] [] [] | 21 + e2fsprogs | [] | 3 + enscript | [] [] [] | 11 + error | [] [] [] | 14 + fetchmail | [] | 7 + fileutils | [] [] [] [] [] [] | 15 + findutils | [] [] [] [] [] [] | 27 + flex | [] [] [] | 10 + gas | [] | 3 + gawk | [] [] | 9 + gcal | [] [] | 4 + gcc | [] | 4 + gettext | [] [] [] [] [] [] | 15 + gettext-runtime | [] [] [] [] [] [] | 16 + gettext-tools | [] [] | 5 + gimp-print | [] [] | 10 + gliv | | 1 + glunarclock | [] [] [] | 11 + gnucash | [] [] | 4 + gnucash-glossary | [] [] [] | 8 + gnupg | [] [] [] [] | 16 + gpe-calendar | [] | 5 + gpe-conf | | 3 + gpe-contacts | [] | 4 + gpe-edit | [] | 5 + gpe-login | [] | 5 + gpe-ownerinfo | [] | 7 + gpe-sketchbook | [] | 5 + gpe-timesheet | [] | 6 + gpe-today | [] | 6 + gpe-todo | [] | 6 + gphoto2 | [] [] | 9 + gprof | [] [] | 7 + gpsdrive | [] [] | 3 + grep | [] [] [] [] | 24 + gretl | | 2 + hello | [] [] [] [] [] | 33 + id-utils | [] [] [] | 11 + indent | [] [] [] [] | 19 + jpilot | [] [] [] [] [] | 10 + jwhois | () () [] [] | 10 + kbd | [] [] | 8 + ld | [] [] | 5 + libc | [] [] [] [] | 20 + libgpewidget | | 6 + libiconv | [] [] [] [] [] [] | 21 + lifelines | [] | 2 + lilypond | [] | 4 + lingoteach | | 2 + lingoteach_lessons | () | 0 + lynx | [] [] [] [] | 14 + m4 | [] [] [] | 15 + mailutils | | 2 + make | [] [] [] [] | 15 + man-db | [] | 6 + mysecretdiary | [] [] | 8 + nano | [] [] [] | 15 + nano_1_0 | [] [] [] | 15 + opcodes | [] [] | 9 + parted | [] [] | 13 + ptx | [] [] [] | 22 + python | | 0 + radius | | 0 + recode | [] [] [] [] | 19 + screem | [] | 1 + sed | [] [] [] [] [] | 20 + sh-utils | [] [] [] | 13 + sharutils | [] [] [] [] | 16 + sketch | [] | 5 + soundtracker | [] | 7 + sp | [] | 3 + tar | [] [] [] [] [] | 24 + texinfo | [] [] [] [] | 13 + textutils | [] [] [] [] [] | 15 + tin | | 1 + util-linux | [] [] | 14 + vorbis-tools | [] | 7 + wastesedge | | 0 + wdiff | [] [] [] [] | 17 + wget | [] [] [] [] [] [] [] | 25 + xchat | [] [] [] | 11 + xpad | | 1 + +-------------------------------------------+ + 50 teams ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW + 97 domains 32 19 16 0 56 0 48 10 1 1 12 23 913 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are @@ -451,9 +599,9 @@ distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. - If February 2003 seems to be old, you may fetch a more recent copy -of this `ABOUT-NLS' file on most GNU archive sites. The most -up-to-date matrix with full percentage details can be found at + If May 2003 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. Using `gettext' in new packages @@ -468,7 +616,7 @@ library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle -to use of `gettext' the only thing missing are the translations. The +the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact diff --git a/gettext-runtime/Makefile.in b/gettext-runtime/Makefile.in index 93156925e..eccfe604b 100644 --- a/gettext-runtime/Makefile.in +++ b/gettext-runtime/Makefile.in @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -58,17 +60,22 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ @@ -105,6 +112,7 @@ MAKEINFO = env LANG= LANGUAGE= @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -130,11 +138,19 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -175,7 +191,7 @@ DIST_SUBDIRS = doc intl intl-java lib libasprintf src po man m4 # vms_jackets.h is a header that comes with Compaq's "porting library". # KEEP_CRTL_SETLOCALE tells it to not override the native locale support. -EXTRA_DIST = BUGS Makefile.vms config.h.vms README.woe32 Makefile.msvc config.h.msvc windows/dllexport.h windows/intl.rc +EXTRA_DIST = BUGS Makefile.vms config.h_vms README.woe32 Makefile.msvc config.h.msvc windows/dllexport.h windows/intl.rc # Files installed for the user and for use by gettextize. @@ -222,7 +238,7 @@ $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): configure.ac m4/ansi-c++.m4 m4/codeset.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/intdiv0.m4 m4/intmax.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/longdouble.m4 m4/longlong.m4 m4/progtest.m4 m4/signed.m4 m4/stdint_h.m4 m4/uintmax_t.m4 m4/ulonglong.m4 m4/wchar_t.m4 m4/wint_t.m4 ../gettext-tools/m4/alloca.m4 ../gettext-tools/m4/backupfile.m4 ../gettext-tools/m4/canonicalize.m4 ../gettext-tools/m4/error.m4 ../gettext-tools/m4/flex.m4 ../gettext-tools/m4/fnmatch.m4 ../gettext-tools/m4/gcj.m4 ../gettext-tools/m4/getline.m4 ../gettext-tools/m4/hostname.m4 ../gettext-tools/m4/javacomp.m4 ../gettext-tools/m4/javaexec.m4 ../gettext-tools/m4/mbrtowc.m4 ../gettext-tools/m4/mbstate_t.m4 ../gettext-tools/m4/mbswidth.m4 ../gettext-tools/m4/mkdtemp.m4 ../gettext-tools/m4/onceonly.m4 ../gettext-tools/m4/pathmax.m4 ../gettext-tools/m4/relocatable.m4 ../gettext-tools/m4/setenv.m4 ../gettext-tools/m4/setlocale.m4 ../gettext-tools/m4/siginfo.m4 ../gettext-tools/m4/signalblocking.m4 ../gettext-tools/m4/ssize_t.m4 ../gettext-tools/m4/stdbool.m4 ../gettext-tools/m4/strerror.m4 ../gettext-tools/m4/tmpdir.m4 ../gettext-tools/m4/unionwait.m4 ../gettext-tools/m4/xreadlink.m4 ../autoconf-lib-link/m4/lib-ld.m4 ../autoconf-lib-link/m4/lib-link.m4 ../autoconf-lib-link/m4/lib-prefix.m4 ../config/m4/fixautomake.m4 ../config/m4/libtool.m4 +$(ACLOCAL_M4): configure.ac m4/ansi-c++.m4 m4/codeset.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/intdiv0.m4 m4/intmax.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/longdouble.m4 m4/longlong.m4 m4/nls.m4 m4/po.m4 m4/progtest.m4 m4/signed.m4 m4/stdint_h.m4 m4/uintmax_t.m4 m4/ulonglong.m4 m4/wchar_t.m4 m4/wint_t.m4 ../gettext-tools/m4/alloca.m4 ../gettext-tools/m4/backupfile.m4 ../gettext-tools/m4/canonicalize.m4 ../gettext-tools/m4/eaccess.m4 ../gettext-tools/m4/error.m4 ../gettext-tools/m4/flex.m4 ../gettext-tools/m4/fnmatch.m4 ../gettext-tools/m4/gcj.m4 ../gettext-tools/m4/getline.m4 ../gettext-tools/m4/hostname.m4 ../gettext-tools/m4/javacomp.m4 ../gettext-tools/m4/javaexec.m4 ../gettext-tools/m4/mbrtowc.m4 ../gettext-tools/m4/mbstate_t.m4 ../gettext-tools/m4/mbswidth.m4 ../gettext-tools/m4/mkdtemp.m4 ../gettext-tools/m4/onceonly.m4 ../gettext-tools/m4/pathmax.m4 ../gettext-tools/m4/relocatable.m4 ../gettext-tools/m4/setenv.m4 ../gettext-tools/m4/setlocale.m4 ../gettext-tools/m4/siginfo.m4 ../gettext-tools/m4/signalblocking.m4 ../gettext-tools/m4/ssize_t.m4 ../gettext-tools/m4/stdbool.m4 ../gettext-tools/m4/strerror.m4 ../gettext-tools/m4/strerror_r.m4 ../gettext-tools/m4/tmpdir.m4 ../gettext-tools/m4/unionwait.m4 ../gettext-tools/m4/unlocked-io.m4 ../gettext-tools/m4/xreadlink.m4 ../autoconf-lib-link/m4/lib-ld.m4 ../autoconf-lib-link/m4/lib-link.m4 ../autoconf-lib-link/m4/lib-prefix.m4 ../config/m4/fixautomake.m4 ../config/m4/libtool.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @@ -629,9 +645,11 @@ ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi # VMS support. -config.h.vms: config.h.in ../version.sh - (sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ +config.h_vms: config.h.in ../version.sh + (echo '#define KEEP_CRTL_SETLOCALE 1'; echo '#include '; echo '#undef realpath'; \ + sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_DECL_STRERROR$$/#define HAVE_DECL_STRERROR 1/' \ -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \ -e 's/#undef HAVE_ENVIRON_DECL$$/#define HAVE_ENVIRON_DECL 1/' \ -e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \ @@ -643,9 +661,10 @@ config.h.vms: config.h.in ../version.sh -e 's/#undef HAVE_GETUID$$/#define HAVE_GETUID 1/' \ -e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \ -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \ - -e 's/#undef HAVE_INTTYPES_H_WITH_UINTMAX$$/#define HAVE_INTTYPES_H_WITH_UINTMAX 1/' \ -e 's/#undef HAVE_LANGINFO_CODESET$$/#define HAVE_LANGINFO_CODESET 1/' \ -e 's/#undef HAVE_LC_MESSAGES$$/#define HAVE_LC_MESSAGES 1/' \ + -e 's/#undef HAVE_LIMITS_H$$/#define HAVE_LIMITS_H 1/' \ + -e 's/#undef HAVE_LOCALE_H$$/#define HAVE_LOCALE_H 1/' \ -e 's/#undef HAVE_MALLOC_H$$/#define HAVE_MALLOC_H 1/' \ -e 's/#undef HAVE_MEMMOVE$$/#define HAVE_MEMMOVE 1/' \ -e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \ @@ -667,16 +686,17 @@ config.h.vms: config.h.in ../version.sh -e 's/#undef HAVE_SYS_PARAM_H$$/#define HAVE_SYS_PARAM_H 1/' \ -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \ -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \ - -e 's/#undef HAVE_UINTMAX_T$$/#define HAVE_UINTMAX_T 1/' \ -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \ -e 's/#undef HAVE_UNSETENV$$/#define HAVE_UNSETENV 1/' \ -e 's/#undef HAVE_UNSIGNED_LONG_LONG$$/#define HAVE_UNSIGNED_LONG_LONG 1/' \ -e 's/#undef HAVE_VPRINTF$$/#define HAVE_VPRINTF 1/' \ + -e 's/#undef ICONV_CONST$$/#define ICONV_CONST/' \ -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ -e 's/#undef realpath$$/#define realpath rpl_realpath/' \ + -e 's/#undef uintmax_t$$/#define uintmax_t unsigned long long/' \ -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-runtime"/' \ -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ - < $<; echo; echo '#define alloca __ALLOCA'; echo '#define KEEP_CRTL_SETLOCALE 1'; echo '#include ') > $@ + < $<; echo; echo '#define alloca __ALLOCA') > $@ # Woe32 support. @@ -684,6 +704,7 @@ config.h.msvc: config.h.in ../version.sh sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ -e 's/#undef ENABLE_RELOCATABLE$$/#define ENABLE_RELOCATABLE 1/' \ -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_DECL_STRERROR$$/#define HAVE_DECL_STRERROR 1/' \ -e 's/#undef HAVE_ENVIRON_DECL$$/#define HAVE_ENVIRON_DECL 1/' \ -e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \ -e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \ diff --git a/gettext-runtime/aclocal.m4 b/gettext-runtime/aclocal.m4 index 254eacb85..c6fe7c959 100644 --- a/gettext-runtime/aclocal.m4 +++ b/gettext-runtime/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) + +# serial 5 -*- Autoconf -*- -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -935,15 +976,63 @@ AC_DEFUN([AC_ISC_POSIX], ] ) -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# The next line was added by Bruno Haible 2001-06-08. -builtin([undefine],[symbols]) +# serial 47 AC_PROG_LIBTOOL -# serial 46 AC_PROG_LIBTOOL +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_PROG_LIBTOOL +# --------------- AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -954,10 +1043,13 @@ AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) -]) +])# _AC_PROG_LIBTOOL + +# AC_LIBTOOL_SETUP +# ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.13)dnl +[AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl @@ -967,382 +1059,221 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl -AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi ;; esac -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -AC_ARG_ENABLE(libtool-lock, - [ --disable-libtool-lock avoid locking (might break parallel builds)]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_SAVE - AC_LANG_C - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_RESTORE]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Constants: +rm="rm -f" -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) - - case $host/$CC in - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) - # old mingw systems require "-dll" to link a DLL, while more recent ones - # require "-mdll" - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mdll" - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) - CFLAGS="$SAVE_CFLAGS" ;; - *-*-cygwin* | *-*-pw32*) - # cygwin systems need to pass --dll to the linker, and not link - # crt.o which will require a WinMain@16 definition. - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi ;; - ]) esac -_LT_AC_LTCONFIG_HACK - -]) +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) -# AC_LIBTOOL_HEADER_ASSERT -# ------------------------ -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], -[AC_CACHE_CHECK([whether $CC supports assert without backlinking], - [lt_cv_func_assert_works], - [case $host in - *-*-solaris*) - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) lt_cv_func_assert_works=no ;; - *) lt_cv_func_assert_works=yes ;; - esac - fi - ;; - esac]) +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -if test "x$lt_cv_func_assert_works" = xyes; then - AC_CHECK_HEADERS(assert.h) -fi -])# AC_LIBTOOL_HEADER_ASSERT +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h) -])# _LT_AC_CHECK_DLFCN +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[[ABCDGISTW]]' +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat < conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[[]] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC - fi - else - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC - fi - else - echo "$progname: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR -# --------------------------------- -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -1379,7 +1311,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -1452,17 +1384,291 @@ if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then fi AC_SUBST(ECHO) -AC_DIVERT_POP -])# _LT_AC_PROG_ECHO_BACKSLASH +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[if test "$cross_compiling" = yes; then : +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : [$4] else - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext </dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl -old_CC="$CC" -old_CFLAGS="$CFLAGS" +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs else - ac_tool_prefix= + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi - ;; -esac +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -if test -n "$RANLIB"; then + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + esac fi +])# AC_LIBTOOL_SYS_LIB_STRIP -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="[$]2" -AC_MSG_CHECKING([for objdir]) -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi -rmdir .libs 2>/dev/null -AC_MSG_RESULT($objdir) - +need_lib_prefix=unknown +hardcode_into_libs=no -AC_ARG_WITH(pic, -[ --with-pic try to use only PIC/non-PIC objects [default=use both]], -pic_mode="$withval", pic_mode=default) -test -z "$pic_mode" && pic_mode=default +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -AC_MSG_CHECKING([for $compiler option to produce PIC]) -AC_CACHE_VAL(lt_cv_prog_cc_pic, -[ lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - # PORTME Check for PIC flags for the system compiler. + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + can_build_shared=no fi ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; + esac + ;; - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - ;; + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER + + +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) + else + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; + + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; + + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG + + +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN + + +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL + + +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED + + +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED + + +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC + + +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC + + +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL + + +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL + + +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE + + +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [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]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX + + +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + + +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +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 $CC]) + 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. + [[\\/]]* | ?:[[\\/]]*) + 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(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + irix5* | nonstopux*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" + ;; + *) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" + ;; + esac + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + +osf3* | osf4* | osf5*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD + + +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG + + +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + AC_PROG_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext </dev/null; then : - else - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) - lt_cv_prog_cc_can_build_shared=no - fi -fi + cat <<__EOF__ >> "$cfgfile" +ifelse([$1], [], +[#! $SHELL -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) - LDFLAGS="$save_LDFLAGS" -]) +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) -AC_CACHE_VAL([lt_cv_compiler_c_o], [ -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&AC_FD_CC - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null -]) -compiler_c_o=$lt_cv_compiler_c_o -AC_MSG_RESULT([$compiler_c_o]) - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) - AC_CACHE_VAL([lt_cv_compiler_o_lo], [ - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - ]) - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - ]) - compiler_o_lo=$lt_cv_compiler_o_lo - AC_MSG_RESULT([$compiler_o_lo]) -else - compiler_o_lo=no -fi +# A sed program that does not truncate output. +SED=$lt_SED -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - ]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$compiler_rtti_exceptions]) +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi -fi +# The names of the tagged configurations supported by this script. +available_tags= -# See if the linker supports building shared libraries. -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 +# Whether or not to build static libraries. +build_old_libs=$enable_static -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) -EOF - ;; +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; +# The name of the directory that contains temporary libtool files. +objdir=$objdir - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ - ;; - esac +# How to pass a linker flag through the compiler. +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 +# Object file suffix (normally "o"). +objext="$ac_objext" - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi +# Old archive suffix (normally "a"). +libext="$libext" - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; +# Shared library suffix (normally ".so"). +shrext='$shrext' - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; +# Executable file suffix (normally ""). +exeext="$exeext" - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 +# Additional compiler flags for building library objects. +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) +pic_mode=$pic_mode -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac - fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; +# Do we need a version for libraries? +need_version=$need_version - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no +# Whether dlopen is supported. +dlopen_support=$enable_dlopen - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; +# Library versioning type. +version_type=$version_type - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[[012]]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' - ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; +# Format of library name prefix. +libname_spec=$lt_libname_spec - freebsd1*) - ld_shlibs=no - ;; +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; +# Commands used to build and install a shared archive. +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) - cat <&2 +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) -EOF - no_undefined_flag= - ;; - esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +# This is the shared library runtime path variable. +runpath_var=$runpath_var - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +# This is the shared library path variable. +shlibpath_var=$shlibpath_var - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; +# How to hardcode a shared library path into an executable. +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs - *) - ld_shlibs=no - ;; - esac -fi -AC_MSG_RESULT([$ld_shlibs]) -test "$ld_shlibs" = no && can_build_shared=no +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) -# Check hardcoding attributes. -AC_MSG_CHECKING([how to hardcode library paths into programs]) -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -AC_MSG_RESULT([$hardcode_action]) +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) -# PORTME Fill in your ld.so characteristics -AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' - shlibpath_var=LIBPATH +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' - ;; +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH - fi - hardcode_into_libs=yes - ;; +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' - ;; +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" -cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; +# Set to yes if exported symbols are required. +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - ;; +# The commands to list exported symbols. +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) -freebsd1*) - dynamic_linker=no - ;; +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - esac - ;; +# Symbols that must always be exported. +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; +__EOF__ -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' +ifelse([$1],[], [ case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF ;; esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no - ;; + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +fi +])# AC_LIBTOOL_CONFIG -# This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; -osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes - ;; +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] -sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - ;; +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac -*) - dynamic_linker=no +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no -# Report the final consequences. -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) + # Check to see that the pipe works correctly. + pipe_works=no -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif -AC_LIBTOOL_DLOPEN_SELF +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], - [$rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile); then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_archive_cmds_need_lc=no +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi else - lt_cv_archive_cmds_need_lc=yes + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi - allow_undefined_flag=$save_allow_undefined_flag else - cat conftest.err 1>&5 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi - $rm conftest* - ]) - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + AC_MSG_RESULT(ok) fi +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac ;; *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac - done - - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi - -# ### BEGIN LIBTOOL CONFIG - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; -# The host system. -host_alias=$host_alias -host=$host + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; -# The default C compiler. -CC=$lt_CC + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; -# Is the compiler the GNU C compiler? -with_gcc=$GCC + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; -# The linker used to build libraries. -LD=$lt_LD + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; -# Whether we need hard or soft links. -LN_S=$lt_LN_S + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; -# A BSD-compatible nm program. -NM=$lt_NM + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; -# A symbol stripping program -STRIP=$STRIP + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" + linux*) + case $CC in + icc|ecc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; -# Used on cygwin: assembler. -AS="$AS" + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; -# The name of the directory that contains temporary libtool files. -objdir=$objdir + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# How to pass a linker flag through the compiler. -wl=$lt_wl + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Object file suffix (normally "o"). -objext="$ac_objext" + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Old archive suffix (normally "a"). -libext="$libext" + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; -# Executable file suffix (normally ""). -exeext="$exeext" + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag -pic_mode=$pic_mode + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac +]) -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo -# Must we lock files when doing compilation ? -need_locks=$lt_need_locks +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac -# Do we need a version for libraries? -need_version=$need_version + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' -# Whether dlopen is supported. -dlopen_support=$enable_dlopen + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static +EOF + fi + ;; -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 -# Library versioning type. -version_type=$version_type +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. -# Format of library name prefix. -libname_spec=$lt_libname_spec +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# This is the shared library runtime path variable. -runpath_var=$runpath_var + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; -# This is the shared library path variable. -shlibpath_var=$shlibpath_var + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# ### END LIBTOOL CONFIG + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -__EOF__ +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi + ;; +esac +])# AC_LIBTOOL_PROG_LD_SHLIBS -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include @@ -3742,364 +6729,241 @@ EOF # return TRUE; # } # /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) +])# _LT_AC_FILE_LTDLL_C - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi -])# _LT_AC_LTCONFIG_HACK - -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) -# AC_ENABLE_SHARED - implement the --enable-shared flag -# Usage: AC_ENABLE_SHARED[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(shared, -changequote(<<, >>)dnl -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl -]) +# old names +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no)]) +# This is just to silence aclocal about the macro not being used +ifelse([AC_DISABLE_FAST_INSTALL]) -# AC_ENABLE_STATIC - implement the --enable-static flag -# Usage: AC_ENABLE_STATIC[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(static, -changequote(<<, >>)dnl -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) ]) -# AC_DISABLE_STATIC - set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no)]) - - -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(fast-install, -changequote(<<, >>)dnl -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) ]) -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no)]) - -# AC_LIBTOOL_PICMODE - implement the --with-pic flag -# Usage: AC_LIBTOOL_PICMODE[(MODE)] -# Where MODE is either `yes' or `no'. If omitted, it defaults to -# `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default)]) - - -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +# LT_AC_PROG_SED +# -------------- +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +AC_DEFUN([LT_AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi - break + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed fi done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi +done +SED=$lt_cv_path_SED +]) +AC_MSG_RESULT([$SED]) ]) +# relocatable.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. -# AC_PATH_MAGIC - find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) +dnl Support for relocateble programs. +AC_DEFUN([AC_RELOCATABLE], +[ + AC_REQUIRE([AC_PROG_INSTALL]) + AC_BEFORE([AC_PROG_INSTALL],[AC_RELOCATABLE]) + AC_REQUIRE([AC_LIB_LIBPATH]) + AC_REQUIRE([AC_RELOCATABLE_LIBRARY]) + use_elf_origin_trick=no + if test $RELOCATABLE = yes; then + # --enable-relocatable implies --disable-rpath + enable_rpath=no + AC_LIBOBJ([relocatable]) + AC_DEFINE([ENABLE_RELOCATABLE], 1, + [Define to 1 if the package shall run at any location in the filesystem.]) + case "$host_os" in + linux*) use_elf_origin_trick=yes ;; + esac + if test $use_elf_origin_trick = yes; then + dnl Use the dynamic linker's support for relocatable programs. + case "$ac_aux_dir" in + /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;; + *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;; + esac + SET_RELOCATABLE="RELOCATABLE_LDFLAGS = \"$reloc_ldflags\" \"@host@\" \"\$(RELOCATABLE_LIBRARY_PATH)\"" + else + dnl Unfortunately we cannot define INSTALL_PROGRAM to a command + dnl consisting of more than one word - libtool doesn't support this. + dnl So we abuse the INSTALL_PROGRAM_ENV hook, originally meant for the + dnl 'install-strip' target. + SET_RELOCATABLE="INSTALL_PROGRAM_ENV = RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\"" + case "$ac_aux_dir" in + /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;; + *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;; + esac + fi else - MAGIC_CMD=: + SET_RELOCATABLE= fi -fi + AC_SUBST([SET_RELOCATABLE]) + AM_CONDITIONAL([RELOCATABLE_VIA_LD], + [test $use_elf_origin_trick = yes]) +]) + +dnl Support for relocatable libraries. +AC_DEFUN([AC_RELOCATABLE_LIBRARY], +[ + AC_REQUIRE([AC_RELOCATABLE_NOP]) + dnl Easier to put this here once, instead of into the DEFS of each Makefile. + if test "X$prefix" = "XNONE"; then + reloc_final_prefix="$ac_default_prefix" + else + reloc_final_prefix="$prefix" + fi + AC_DEFINE_UNQUOTED([INSTALLPREFIX], ["${reloc_final_prefix}"], + [Define to the value of ${prefix}, as a string.]) ]) +dnl Support for relocatable packages for which it is a nop. +AC_DEFUN([AC_RELOCATABLE_NOP], +[ + AC_MSG_CHECKING([whether to activate relocatable installation]) + AC_ARG_ENABLE(relocatable, + [ --enable-relocatable install a package that can be moved in the filesystem], + [if test "$enableval" != no; then + RELOCATABLE=yes + else + RELOCATABLE=no + fi + ], RELOCATABLE=no) + AC_SUBST(RELOCATABLE) + AC_MSG_RESULT([$RELOCATABLE]) +]) -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], +dnl Determine the platform dependent parameters needed to use relocatability: +dnl shlibpath_var. +AC_DEFUN([AC_LIB_LIBPATH], +[ + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $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 path variable], acl_cv_libpath, [ + LD="$LD" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_libpath=${acl_cv_shlibpath_var:-none} + ]) + shlibpath_var="$acl_cv_shlibpath_var" +]) + +# lib-ld.m4 serial 2 (gettext-0.12) +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. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi]) +with_gnu_ld=$acl_cv_prog_gnu_ld +]) + +dnl From libtool-1.4. Sets the variable LD. +AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld, [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl +# 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. @@ -4113,8 +6977,8 @@ if test "$GCC" = yes; then esac case $ac_prog in # Accept absolute paths. - [[\\/]]* | [[A-Za-z]]:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' + [[\\/]* | [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 @@ -4136,17 +7000,17 @@ elif test "$with_gnu_ld" = yes; then else AC_MSG_CHECKING([for non-GNU ld]) fi -AC_CACHE_VAL(lt_cv_path_LD, +AC_CACHE_VAL(acl_cv_path_LD, [if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + 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 - lt_cv_path_LD="$ac_dir/$ac_prog" + 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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break @@ -4155,438 +7019,362 @@ AC_CACHE_VAL(lt_cv_path_LD, done IFS="$ac_save_ifs" else - lt_cv_path_LD="$LD" # Let the user override the test with a path. + acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) -LD="$lt_cv_path_LD" +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_PROG_LD_GNU -]) - -# AC_PROG_LD_GNU - -AC_DEFUN([AC_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes -else - lt_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$lt_cv_prog_gnu_ld -]) - -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, -[lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +AC_LIB_PROG_LD_GNU ]) -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` - ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' - ;; - esac - ;; +# stdbool.m4 serial 3 (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. -freebsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac +dnl From Bruno Haible. +dnl Test whether is supported or must be substituted. + +AC_DEFUN([gt_STDBOOL_H], +[dnl gcc 2.95.2 has an for which both 'true' and 'false' evaluate +dnl to 0 in preprocessor expressions. +dnl HP-UX 11 cc has an but the compiler doesn't understand the +dnl type '_Bool' (to which 'bool' expands). +AC_MSG_CHECKING([for stdbool.h]) +AC_CACHE_VAL(gt_cv_header_stdbool_h, [ + AC_TRY_COMPILE([#include +#if false +int A[-1]; +#endif +#define b -1 +#if true +#undef b +#define b 1 +#endif +int B[b]; +bool c; +], [], gt_cv_header_stdbool_h=yes, gt_cv_header_stdbool_h=no)]) +AC_MSG_RESULT([$gt_cv_header_stdbool_h]) +if test $gt_cv_header_stdbool_h = yes; then + AC_DEFINE(HAVE_STDBOOL_H, 1, + [Define if you have a working header file.]) + STDBOOL_H='' +else + STDBOOL_H='stdbool.h' + AC_MSG_CHECKING([for _Bool type]) + AC_CACHE_VAL(gt_cv_type_Bool, [ + AC_TRY_COMPILE([_Bool x = sizeof (_Bool);], [], + gt_cv_type_Bool=yes, gt_cv_type_Bool=no)]) + AC_MSG_RESULT([$gt_cv_type_Bool]) + if test $gt_cv_type_Bool = yes; then + HAVE__BOOL=1 else - lt_cv_deplibs_check_method=pass_all + HAVE__BOOL=0 fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux-gnu*) - case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - ;; + AC_SUBST(HAVE__BOOL) +fi +AC_SUBST(STDBOOL_H) +]) -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' - fi - ;; +# alloca.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 2002-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. -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; +AC_DEFUN([gl_FUNC_ALLOCA], +[ + dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. + AC_REQUIRE([AC_PROG_CPP]) + AC_REQUIRE([AC_PROG_EGREP]) -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + AC_REQUIRE([AC_FUNC_ALLOCA]) + if test $ac_cv_func_alloca_works = no; then + gl_PREREQ_ALLOCA fi - ;; -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; + # Define an additional variable used in the Makefile substitution. -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; + AC_EGREP_CPP([Need own alloca], [ +#if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H + Need own alloca +#endif + ], + ALLOCA_H=alloca.h, + ALLOCA_H=) + AC_SUBST([ALLOCA_H]) +]) -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so - ;; +# Prerequisites of lib/alloca.c. +# STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. +AC_DEFUN([gl_PREREQ_ALLOCA], [ + AC_CHECK_HEADERS_ONCE(stdlib.h string.h) +]) -sysv5uw[[78]]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; +# onceonly.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 2002, 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. -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; -esac +dnl This file defines some "once only" variants of standard autoconf macros. +dnl AC_CHECK_HEADERS_ONCE like AC_CHECK_HEADERS +dnl AC_CHECK_FUNCS_ONCE like AC_CHECK_FUNCS +dnl AC_CHECK_DECLS_ONCE like AC_CHECK_DECLS +dnl AC_REQUIRE([AC_HEADER_STDC]) like AC_HEADER_STDC +dnl The advantage is that the check for each of the headers/functions/decls +dnl will be put only once into the 'configure' file. It keeps the size of +dnl the 'configure' file down, and avoids redundant output when 'configure' +dnl is run. +dnl The drawback is that the checks cannot be conditionalized. If you write +dnl if some_condition; then gl_CHECK_HEADERS(stdlib.h); fi +dnl inside an AC_DEFUNed function, the gl_CHECK_HEADERS macro call expands to +dnl empty, and the check will be inserted before the body of the AC_DEFUNed +dnl function. + +dnl Autoconf version 2.57 or newer is recommended. +AC_PREREQ(2.54) + +# AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of +# AC_CHECK_HEADERS(HEADER1 HEADER2 ...). +AC_DEFUN([AC_CHECK_HEADERS_ONCE], [ + : + AC_FOREACH([gl_HEADER_NAME], [$1], [ + AC_DEFUN([gl_CHECK_HEADER_]m4_quote(translit(m4_defn([gl_HEADER_NAME]), + [-./], [___])), [ + AC_CHECK_HEADERS(gl_HEADER_NAME) + ]) + AC_REQUIRE([gl_CHECK_HEADER_]m4_quote(translit(gl_HEADER_NAME, + [-./], [___]))) + ]) ]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method + +# AC_CHECK_FUNCS_ONCE(FUNC1 FUNC2 ...) is a once-only variant of +# AC_CHECK_FUNCS(FUNC1 FUNC2 ...). +AC_DEFUN([AC_CHECK_FUNCS_ONCE], [ + : + AC_FOREACH([gl_FUNC_NAME], [$1], [ + AC_DEFUN([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME]), [ + AC_CHECK_FUNCS(m4_defn([gl_FUNC_NAME])) + ]) + AC_REQUIRE([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME])) + ]) ]) +# AC_CHECK_DECLS_ONCE(DECL1 DECL2 ...) is a once-only variant of +# AC_CHECK_DECLS(DECL1, DECL2, ...). +AC_DEFUN([AC_CHECK_DECLS_ONCE], [ + : + AC_FOREACH([gl_DECL_NAME], [$1], [ + AC_DEFUN([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME]), [ + AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) + ]) + AC_REQUIRE([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME])) + ]) +]) -# AC_PROG_NM - find the path to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -AC_MSG_CHECKING([for BSD-compatible nm]) -AC_CACHE_VAL(lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi - fi - done - IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -AC_MSG_RESULT([$NM]) +# setenv.m4 serial 2 (gettext-0.11.1) +dnl Copyright (C) 2001-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. + +# Check if a variable is properly declared. +# gt_CHECK_VAR_DECL(includes,variable) +AC_DEFUN([gt_CHECK_VAR_DECL], +[ + define(gt_cv_var, [gt_cv_var_]$2[_declaration]) + AC_MSG_CHECKING([if $2 is properly declared]) + AC_CACHE_VAL(gt_cv_var, [ + AC_TRY_COMPILE([$1 + extern struct { int foo; } $2;], + [$2.foo = 1;], + gt_cv_var=no, + gt_cv_var=yes)]) + AC_MSG_RESULT($gt_cv_var) + if test $gt_cv_var = yes; then + AC_DEFINE([HAVE_]translit($2, [a-z], [A-Z])[_DECL], 1, + [Define if you have the declaration of $2.]) + fi ]) -# AC_CHECK_LIBM - check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32*) - # These system don't have libm - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, main, LIBM="-lm") - ;; -esac +# Prerequisites of lib/setenv.c + +AC_DEFUN([gt_FUNC_SETENV], +[ + AC_REPLACE_FUNCS(setenv unsetenv) + AC_CHECK_HEADERS(search.h stdlib.h string.h unistd.h) + AC_CHECK_FUNCS(tsearch) + gt_CHECK_VAR_DECL([#include ], errno) + gt_CHECK_VAR_DECL([#include ], environ) ]) -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and LTDLINCL are not -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" +# strerror.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. + +AC_DEFUN([gl_FUNC_STRERROR], +[ + AC_REPLACE_FUNCS(strerror) + if test $ac_cv_func_strerror = no; then + gl_PREREQ_STRERROR + fi ]) -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed -# with '${top_srcdir}/' (note the single quotes!). If your package is -# not flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, main, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) +# Prerequisites of lib/strerror.c. +AC_DEFUN([gl_PREREQ_STRERROR], [ + : +]) + +#serial 7 -*- autoconf -*- + +dnl From Jim Meyering. +dnl +dnl See if the glibc *_unlocked I/O macros or functions are available. +dnl Use only those *_unlocked macros or functions that are declared +dnl (because some of them were declared in Solaris 2.5.1 but were removed +dnl in Solaris 2.6, whereas we want binaries built on Solaris 2.5.1 to run +dnl on Solaris 2.6). + +AC_DEFUN([jm_FUNC_GLIBC_UNLOCKED_IO], +[ + dnl Persuade glibc to declare fgets_unlocked(), fputs_unlocked() + dnl etc. + AC_REQUIRE([AC_GNU_SOURCE]) + + AC_CHECK_DECLS_ONCE( + [clearerr_unlocked feof_unlocked ferror_unlocked + fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked + fread_unlocked fwrite_unlocked getc_unlocked + getchar_unlocked putc_unlocked putchar_unlocked]) +]) + +# error.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 2002-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. + +# A modified version of AM_FUNC_ERROR_AT_LINE that triggers HAVE_ERROR_AT_LINE +# in config.h instead of modifying LIBOBJS. +AC_DEFUN([gt_FUNC_ERROR_AT_LINE], +[ + AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, + [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], + am_cv_lib_error_at_line=yes, + am_cv_lib_error_at_line=no)]) + if test $am_cv_lib_error_at_line = yes; then + AC_DEFINE(HAVE_ERROR_AT_LINE, 1, + [Define to 1 if you have the functions error() and error_at_line().]) else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= + jm_PREREQ_ERROR fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" ]) -# old names -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) +# Prerequisites of lib/error.c. +AC_DEFUN([jm_PREREQ_ERROR], +[ + AC_REQUIRE([AC_HEADER_STDC]) + AC_REQUIRE([AC_FUNC_VPRINTF]) + AC_CHECK_FUNCS(strerror) + AC_CHECK_DECLS([strerror]) + AC_FUNC_STRERROR_R +]) -# This is just to silence aclocal about the macro not being used -ifelse([AC_DISABLE_FAST_INSTALL]) +#serial 1003 +# Experimental replacement for the function in the latest CVS autoconf. +# Use with the error.c file in ../lib. -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -# LT_AC_PROG_SED -# -------------- -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -AC_DEFUN([LT_AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done +# Copyright 2001 Free Software Foundation, Inc. - # 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 -} +# 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. -# Create a (secure) tmp directory for tmp files. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break +# 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. */ + +undefine([AC_FUNC_STRERROR_R]) + +# AC_FUNC_STRERROR_R +# ------------------ +AC_DEFUN([AC_FUNC_STRERROR_R], +[AC_CHECK_DECLS([strerror_r]) +AC_CHECK_FUNCS([strerror_r]) +AC_CACHE_CHECK([whether strerror_r returns char *], + ac_cv_func_strerror_r_char_p, + [ + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], + [[ + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); + ]])], + ac_cv_func_strerror_r_char_p=yes) + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT + extern char *strerror_r ();], + [[char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + exit (!isalpha (x));]])], + ac_cv_func_strerror_r_char_p=yes, , :) fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" -]) -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED + ]) +if test $ac_cv_func_strerror_r_char_p = yes; then + AC_DEFINE([STRERROR_R_CHAR_P], 1, + [Define to 1 if strerror_r returns char *.]) fi -AC_MSG_RESULT([$SED]) +])# AC_FUNC_STRERROR_R + +# pathmax.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. + +AC_DEFUN([gl_PATHMAX], +[ + dnl Prerequisites of lib/pathmax.h. + AC_CHECK_HEADERS_ONCE(limits.h sys/param.h unistd.h) ]) -# error.m4 serial 1 (gettext-0.11) +# xreadlink.m4 serial 1 (gettext-0.12) dnl Copyright (C) 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 @@ -4594,21 +7382,41 @@ 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. -# A modified version of AM_FUNC_ERROR_AT_LINE that triggers HAVE_ERROR_AT_LINE -# in config.h instead of modifying LIBOBJS. -AC_DEFUN([gt_FUNC_ERROR_AT_LINE], +AC_DEFUN([gl_XREADLINK], [ - AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, - [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], - am_cv_lib_error_at_line=yes, - am_cv_lib_error_at_line=no)]) - if test $am_cv_lib_error_at_line = yes; then - AC_DEFINE(HAVE_ERROR_AT_LINE, 1, - [Define to 1 if you have the functions error() and error_at_line().]) + dnl Prerequisites of lib/xreadlink.c. + AC_CHECK_HEADERS_ONCE(limits.h stdlib.h sys/types.h unistd.h) +]) + +# canonicalize.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. + +AC_DEFUN([gl_CANONICALIZE], +[ + dnl Do this replacement check manually because the file name is shorter + dnl than the function name. + AC_CHECK_FUNCS(canonicalize_file_name) + if test $ac_cv_func_canonicalize_file_name = no; then + AC_LIBOBJ(canonicalize) + AC_DEFINE([realpath], [rpl_realpath], + [Define to a replacement function name for realpath().]) + gl_PREREQ_CANONICALIZE fi ]) -# gettext.m4 serial 18 (gettext-0.11.6) +# Prerequisites of lib/canonicalize.c. +AC_DEFUN([gl_PREREQ_CANONICALIZE], +[ + AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h) + AC_CHECK_FUNCS(getcwd) +]) + +# gettext.m4 serial 20 (gettext-0.12) dnl Copyright (C) 1995-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 @@ -4627,7 +7435,7 @@ dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. -dnl Bruno Haible , 2000-2002. +dnl Bruno Haible , 2000-2003. dnl Macro to add for using GNU gettext. @@ -4702,13 +7510,8 @@ AC_DEFUN([AM_GNU_GETTEXT], AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) - AC_MSG_CHECKING([whether NLS is requested]) - dnl Default is enabled NLS - AC_ARG_ENABLE(nls, - [ --disable-nls do not use Native Language Support], - USE_NLS=$enableval, USE_NLS=yes) - AC_MSG_RESULT($USE_NLS) - AC_SUBST(USE_NLS) + dnl Set USE_NLS. + AM_NLS ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no @@ -4846,7 +7649,6 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. - INTLOBJS="\$(GETTOBJS)" BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" @@ -4918,7 +7720,6 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", AC_SUBST(BUILD_INCLUDED_LIBINTL) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATOBJEXT) - AC_SUBST(INTLOBJS) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= @@ -4936,6 +7737,12 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", GENCAT=gencat AC_SUBST(GENCAT) + dnl For backward compatibility. Some Makefiles may be using this. + if test "$USE_INCLUDED_LIBINTL" = yes; then + INTLOBJS="\$(GETTOBJS)" + fi + AC_SUBST(INTLOBJS) + dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) @@ -4952,13 +7759,107 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", ]) -dnl Checks for all prerequisites of the po subdirectory, -dnl except for USE_NLS. +dnl Checks for all prerequisites of the intl subdirectory, +dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, +dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. +AC_DEFUN([AM_INTL_SUBDIR], +[ + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_MKINSTALLDIRS])dnl + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_ISC_POSIX])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([jm_GLIBC21])dnl + AC_REQUIRE([gt_INTDIV0])dnl + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl + AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl + AC_REQUIRE([gt_INTTYPES_PRI])dnl + + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ +stdlib.h string.h unistd.h sys/param.h]) + AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ +geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ +strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \ +__fsetlocking]) + + AM_ICONV + AM_LANGINFO_CODESET + if test $ac_cv_header_locale_h = yes; then + AM_LC_MESSAGES + fi + + dnl intl/plural.c is generated from intl/plural.y. It requires bison, + dnl because plural.y uses bison specific features. It requires at least + dnl bison-1.26 because earlier versions generate a plural.c that doesn't + dnl compile. + dnl bison is only needed for the maintainer (who touches plural.y). But in + dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put + dnl the rule in general Makefile. Now, some people carelessly touch the + dnl files or have a broken "make" program, hence the plural.c rule will + dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not + dnl present or too old. + AC_CHECK_PROGS([INTLBISON], [bison]) + if test -z "$INTLBISON"; then + ac_verc_fail=yes + else + dnl Found it, now check the version. + AC_MSG_CHECKING([version of bison]) +changequote(<<,>>)dnl + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) +changequote([,])dnl + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + esac + AC_MSG_RESULT([$ac_prog_version]) + fi + if test $ac_verc_fail = yes; then + INTLBISON=: + fi +]) + + +dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) +AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) + +# po.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 1995-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 +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_MKINSTALLDIRS])dnl + AC_REQUIRE([AM_NLS])dnl dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. @@ -4972,12 +7873,12 @@ AC_DEFUN([AM_PO_SUBDIRS], :) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) - dnl Search for GNU xgettext 0.11 or newer in the PATH. + dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, - [$ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po @@ -5007,8 +7908,8 @@ AC_DEFUN([AM_PO_SUBDIRS], if test "$XGETTEXT" != ":"; then dnl If it is no GNU xgettext we define it as : so that the dnl Makefiles still can work. - if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else AC_MSG_RESULT( @@ -5129,84 +8030,49 @@ AC_DEFUN([AM_PO_SUBDIRS], ]) ]) +# nls.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 1995-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 +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. -dnl Checks for all prerequisites of the intl subdirectory, -dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, -dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. -AC_DEFUN([AM_INTL_SUBDIR], -[ - AC_REQUIRE([AC_PROG_INSTALL])dnl - AC_REQUIRE([AM_MKINSTALLDIRS])dnl - AC_REQUIRE([AC_PROG_CC])dnl - AC_REQUIRE([AC_CANONICAL_HOST])dnl - AC_REQUIRE([AC_PROG_RANLIB])dnl - AC_REQUIRE([AC_ISC_POSIX])dnl - AC_REQUIRE([AC_HEADER_STDC])dnl - AC_REQUIRE([AC_C_CONST])dnl - AC_REQUIRE([AC_C_INLINE])dnl - AC_REQUIRE([AC_TYPE_OFF_T])dnl - AC_REQUIRE([AC_TYPE_SIZE_T])dnl - AC_REQUIRE([AC_FUNC_ALLOCA])dnl - AC_REQUIRE([AC_FUNC_MMAP])dnl - AC_REQUIRE([jm_GLIBC21])dnl - AC_REQUIRE([gt_INTDIV0])dnl - AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl - AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl - AC_REQUIRE([gt_INTTYPES_PRI])dnl - - AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ -stdlib.h string.h unistd.h sys/param.h]) - AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ -geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ -strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next]) - - AM_ICONV - AM_LANGINFO_CODESET - if test $ac_cv_header_locale_h = yes; then - AM_LC_MESSAGES - fi +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. - dnl intl/plural.c is generated from intl/plural.y. It requires bison, - dnl because plural.y uses bison specific features. It requires at least - dnl bison-1.26 because earlier versions generate a plural.c that doesn't - dnl compile. - dnl bison is only needed for the maintainer (who touches plural.y). But in - dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put - dnl the rule in general Makefile. Now, some people carelessly touch the - dnl files or have a broken "make" program, hence the plural.c rule will - dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not - dnl present or too old. - AC_CHECK_PROGS([INTLBISON], [bison]) - if test -z "$INTLBISON"; then - ac_verc_fail=yes - else - dnl Found it, now check the version. - AC_MSG_CHECKING([version of bison]) -changequote(<<,>>)dnl - ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in - '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; - 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) -changequote([,])dnl - ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; - esac - AC_MSG_RESULT([$ac_prog_version]) - fi - if test $ac_verc_fail = yes; then - INTLBISON=: - fi +AC_DEFUN([AM_NLS], +[ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) ]) - AC_DEFUN([AM_MKINSTALLDIRS], [ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but $(top_srcdir). - dnl Try to locate is. + dnl Try to locate it. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then - MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" @@ -5214,12 +8080,100 @@ AC_DEFUN([AM_MKINSTALLDIRS], AC_SUBST(MKINSTALLDIRS) ]) +# progtest.m4 serial 3 (gettext-0.12) +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 +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1996. + +# Search path for a program which passes the given test. + +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN([AM_PATH_PROG_WITH_TEST], +[ +# 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 + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file -dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) -AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) +# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + [[\\/]]* | ?:[[\\/]]*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in ifelse([$5], , $PATH, [$5]); do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) -# lib-prefix.m4 serial 1 (gettext-0.11) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# lib-prefix.m4 serial 2 (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 @@ -5228,6 +8182,13 @@ 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 @@ -5246,7 +8207,7 @@ AC_DEFUN([AC_LIB_PREFIX], eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) - AC_ARG_WITH([lib-prefix], + 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], [ @@ -5367,8 +8328,8 @@ AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], prefix="$acl_save_prefix" ]) -# lib-link.m4 serial 3 (gettext-0.11.3) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# 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 @@ -5461,8 +8422,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -5483,8 +8443,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], @@ -5504,7 +8462,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) - AC_ARG_WITH([lib$1-prefix], + 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], [ @@ -5922,117 +8880,6 @@ AC_DEFUN([AC_LIB_APPENDTOVAR], done ]) -# lib-ld.m4 serial 2 (gettext-0.11.6) -dnl Copyright (C) 1996-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 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. -if $LD -v 2>&1 &5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$acl_cv_prog_gnu_ld -]) - -dnl From libtool-1.4. Sets the variable LD. -AC_DEFUN([AC_LIB_PROG_LD], -[AC_ARG_WITH(gnu-ld, -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -# 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. - 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. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - 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 -]) - # 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 @@ -6137,98 +8984,6 @@ size_t iconv(); fi ]) -# progtest.m4 serial 3 (gettext-0.11.6) -dnl Copyright (C) 1996-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 -dnl This file can can be used in projects which are not available under -dnl the GNU General Public License or the GNU Library General Public -dnl License but which still want to provide support for the GNU gettext -dnl functionality. -dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Library General Public License, and the rest of the GNU -dnl gettext package package is covered by the GNU General Public License. -dnl They are *not* in the public domain. - -dnl Authors: -dnl Ulrich Drepper , 1996. - -# Search path for a program which passes the given test. - -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN([AM_PATH_PROG_WITH_TEST], -[ -# 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 - -# Find out how to test for executable files. Don't use a zero-byte file, -# as systems may use methods other than mode bits to determine executability. -cat >conf$$.file <<_ASEOF -#! /bin/sh -exit 0 -_ASEOF -chmod +x conf$$.file -if test -x conf$$.file >/dev/null 2>&1; then - ac_executable_p="test -x" -else - ac_executable_p="test -f" -fi -rm -f conf$$.file - -# Extract the first word of "$2", so it can be a program name with args. -set dummy $2; ac_word=[$]2 -AC_MSG_CHECKING([for $ac_word]) -AC_CACHE_VAL(ac_cv_path_$1, -[case "[$]$1" in - [[\\/]]* | ?:[[\\/]]*) - ac_cv_path_$1="[$]$1" # Let the user override the test with a path. - ;; - *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in ifelse([$5], , $PATH, [$5]); do - IFS="$ac_save_IFS" - test -z "$ac_dir" && ac_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - if [$3]; then - ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" - break 2 - fi - fi - done - done - IFS="$ac_save_IFS" -dnl If no 4th arg is given, leave the cache variable unset, -dnl so AC_PATH_PROGS will keep looking. -ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" -])dnl - ;; -esac])dnl -$1="$ac_cv_path_$1" -if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then - AC_MSG_RESULT([$]$1) -else - AC_MSG_RESULT(no) -fi -AC_SUBST($1)dnl -]) - # glibc21.m4 serial 2 (fileutils-4.1.3, 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 @@ -6335,8 +9090,8 @@ int main () [Define if integer division by zero raises signal SIGFPE.]) ]) -# uintmax_t.m4 serial 7 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# uintmax_t.m4 serial 7 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -6368,8 +9123,8 @@ AC_DEFUN([jm_AC_TYPE_UINTMAX_T], fi ]) -# inttypes_h.m4 serial 5 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# inttypes_h.m4 serial 5 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -6397,8 +9152,8 @@ AC_DEFUN([jm_AC_HEADER_INTTYPES_H], fi ]) -# stdint_h.m4 serial 3 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# stdint_h.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -6568,7 +9323,7 @@ AC_DEFUN([AM_LC_MESSAGES], fi ]) -# ansi-c++.m4 serial 1 (gettext-0.11.6) +# ansi-c++.m4 serial 1 (gettext-0.12) dnl Copyright (C) 2002-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 @@ -6633,8 +9388,8 @@ EOF fi ]) -# fixautomake.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# fixautomake.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -6655,7 +9410,7 @@ AC_DEFUN([FIX_MAKEFILE_DISTRIB], [ mv $1.tmp $1 ]) -dnl Fix an automake-1-5.1.7.2 bug: all info files are erased by "make". +dnl Fix an automake-1.5-1.7.2 bug: all info files are erased by "make". AC_DEFUN([FIX_MAKEFILE_INFO], [ sed -e '/@rm -f \$''@/d' < $1 > $1.tmp mv $1.tmp $1 diff --git a/gettext-runtime/config.h.in b/gettext-runtime/config.h.in index 5a5ba0715..bc0d2423d 100644 --- a/gettext-runtime/config.h.in +++ b/gettext-runtime/config.h.in @@ -12,6 +12,9 @@ language is requested. */ #undef ENABLE_NLS +/* Define to 1 if the package shall run at any location in the filesystem. */ +#undef ENABLE_RELOCATABLE + /* Define to 1 if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA @@ -22,16 +25,85 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ARGZ_H +/* Define to 1 if you have the `canonicalize_file_name' function. */ +#undef HAVE_CANONICALIZE_FILE_NAME + /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_CLEARERR_UNLOCKED + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_FEOF_UNLOCKED + +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FERROR_UNLOCKED + +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FFLUSH_UNLOCKED + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FGETS_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 `fread_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FREAD_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 `getchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_GETCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_GETC_UNLOCKED + +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_PUTCHAR_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 declaration of `strerror', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR + +/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR_R + /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ #undef HAVE_DOPRNT +/* Define if you have the declaration of environ. */ +#undef HAVE_ENVIRON_DECL + +/* Define if you have the declaration of errno. */ +#undef HAVE_ERRNO_DECL + /* Define to 1 if you have the functions error() and error_at_line(). */ #undef HAVE_ERROR_AT_LINE @@ -90,6 +162,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_MALLOC_H +/* Define to 1 if you have the `memmove' function. */ +#undef HAVE_MEMMOVE + /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H @@ -108,12 +183,18 @@ /* Define to 1 if you have the `putenv' function. */ #undef HAVE_PUTENV +/* Define to 1 if you have the header file. */ +#undef HAVE_SEARCH_H + /* Define to 1 if you have the `setenv' function. */ #undef HAVE_SETENV /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE +/* 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 @@ -139,6 +220,9 @@ /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R + /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H @@ -166,6 +250,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the `unsetenv' function. */ +#undef HAVE_UNSETENV + /* Define if you have the unsigned long long type. */ #undef HAVE_UNSIGNED_LONG_LONG @@ -181,9 +268,15 @@ /* Define to 1 if you have the `__argz_stringify' function. */ #undef HAVE___ARGZ_STRINGIFY +/* Define to 1 if you have the `__fsetlocking' function. */ +#undef HAVE___FSETLOCKING + /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST +/* Define to the value of ${prefix}, as a string. */ +#undef INSTALLPREFIX + /* Define if integer division by zero raises signal SIGFPE. */ #undef INTDIV0_RAISES_SIGFPE @@ -219,11 +312,16 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define to 1 if strerror_r returns char *. */ +#undef STRERROR_R_CHAR_P + /* Version number of package */ #undef VERSION -/* Make sure we see all GNU extensions. */ -#undef _GNU_SOURCE +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif /* Define to empty if `const' does not conform to ANSI C. */ #undef const @@ -235,6 +333,9 @@ /* Define to `long' if does not define. */ #undef off_t +/* Define to a replacement function name for realpath(). */ +#undef realpath + /* Define to `unsigned' if does not define. */ #undef size_t diff --git a/gettext-runtime/config.h.msvc b/gettext-runtime/config.h.msvc index e977134b3..19fcabcb2 100644 --- a/gettext-runtime/config.h.msvc +++ b/gettext-runtime/config.h.msvc @@ -25,10 +25,73 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ARGZ_H +/* Define to 1 if you have the `canonicalize_file_name' function. */ +#undef HAVE_CANONICALIZE_FILE_NAME + /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_CLEARERR_UNLOCKED + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_FEOF_UNLOCKED + +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FERROR_UNLOCKED + +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FFLUSH_UNLOCKED + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FGETS_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 `fread_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FREAD_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 `getchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_GETCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_GETC_UNLOCKED + +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_PUTCHAR_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 declaration of `strerror', and to 0 if you + don't. */ +#define HAVE_DECL_STRERROR 1 + +/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR_R + /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H @@ -157,6 +220,9 @@ /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R + /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H @@ -245,11 +311,16 @@ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 +/* Define to 1 if strerror_r returns char *. */ +#undef STRERROR_R_CHAR_P + /* Version number of package */ -#define VERSION "0.12-pre3" +#define VERSION "0.12" -/* Make sure we see all GNU extensions. */ -#undef _GNU_SOURCE +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif /* Define to empty if `const' does not conform to ANSI C. */ #undef const diff --git a/gettext-runtime/configure b/gettext-runtime/configure index 40656817b..dd0980238 100755 --- a/gettext-runtime/configure +++ b/gettext-runtime/configure @@ -240,17 +240,6 @@ IFS=" $as_nl" $as_unset CDPATH -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -269,7 +258,7 @@ if test "X$1" = X--no-reexec; then elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else @@ -281,7 +270,7 @@ if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -325,7 +315,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -399,6 +389,11 @@ fi + +tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + +tagnames=`echo "$tagnames,F77" | sed 's/^,//'` + # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. @@ -468,7 +463,7 @@ ac_includes_default="\ #endif" ac_subdirs_all="$ac_subdirs_all libasprintf" -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 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 AWK SET_MAKE 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 YACC CPP EGREP HAVE_GCJ_IN_PATH HAVE_JAVAC_IN_PATH HAVE_JIKES_IN_PATH JAVAC CLASSPATH CLASSPATH_SEPARATOR HAVE_GCJ_C HAVE_JAVAC HAVE_JIKES JAR BUILDJAVA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB PERL CROSS_COMPILING CXX CXXFLAGS SUBDIR_libasprintf subdirs LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 YACC CPP EGREP HAVE_GCJ_IN_PATH HAVE_JAVAC_IN_PATH HAVE_JIKES_IN_PATH JAVAC CLASSPATH CLASSPATH_SEPARATOR HAVE_GCJ_C HAVE_JAVAC HAVE_JIKES JAR BUILDJAVA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RELOCATABLE LIBOBJS SET_RELOCATABLE RELOCATABLE_VIA_LD_TRUE RELOCATABLE_VIA_LD_FALSE HAVE__BOOL STDBOOL_H ALLOCA ALLOCA_H MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB PERL CROSS_COMPILING SUBDIR_libasprintf subdirs LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -937,6 +932,18 @@ ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. @@ -1018,22 +1025,30 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared=PKGS build shared libraries default=yes - --enable-static=PKGS build static libraries default=yes - --enable-fast-install=PKGS optimize for fast installation default=yes + --enable-shared[=PKGS] + build shared libraries [default=yes] + --enable-static[=PKGS] + build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) - --disable-rpath do not hardcode runtime library paths + --enable-relocatable install a package that can be moved in the filesystem --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths 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-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] + include additional configurations [automatic] --with-gnu-ld assume the C compiler uses GNU ld default=no - --with-pic try to use only PIC/non-PIC objects default=use both - --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib + --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 --with-included-gettext use the GNU gettext library included here - --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir Some influential environment variables: @@ -1046,6 +1061,9 @@ Some influential environment variables: CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1699,6 +1717,15 @@ 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 @@ -1848,6 +1875,8 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" ac_config_headers="$ac_config_headers config.h" +test "$mandir" != '${prefix}/man' || mandir='${datadir}/man' + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2715,16 +2744,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2838,11 +2858,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -3592,83 +3618,143 @@ fi +cat >>confdefs.h <<\_ACEOF +#define _GNU_SOURCE 1 +_ACEOF + + + + + # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_shared=yes fi; + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_static=yes fi; + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_fast_install=yes fi; -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator + +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + fi +echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6 + # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then @@ -3680,8 +3766,8 @@ 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 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3691,12 +3777,12 @@ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 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'` + 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%/%"` + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -3720,22 +3806,26 @@ if test "${lt_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=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + case `"$lt_cv_path_LD" -v 2>&1 &6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then +case `"$LD" -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 @@ -3779,7 +3872,11 @@ fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -3790,120 +3887,42 @@ else # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac fi done - IFS="$ac_save_ifs" + IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi - +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" - -fi - -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi -echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 @@ -3931,7 +3950,7 @@ lt_cv_deplibs_check_method='unknown' # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. +# which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3951,21 +3970,24 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac + lt_cv_deplibs_check_method=pass_all ;; freebsd*) @@ -3988,10 +4010,22 @@ gnu*) lt_cv_deplibs_check_method=pass_all ;; -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' +hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) @@ -4016,9 +4050,9 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux-gnu*) +linux*) case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -4029,9 +4063,9 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; @@ -4041,6 +4075,10 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` @@ -4067,10 +4105,6 @@ solaris*) lt_cv_file_magic_test_file=/lib/libc.so ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) @@ -4094,6 +4128,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ;; esac ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; esac fi @@ -4101,225 +4139,149 @@ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} +# Allow CC to be a program name with arguments. +compiler=$CC +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:$LINENO: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris* | sysv5*) - symcode='[BDT]' - ;; -sysv4) - symcode='[DFNSTU]' +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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 + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[ABCDGISTW]' -fi - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - rm -f conftest* - cat > conftest.$ac_ext < conftest.$ac_ext 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 - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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); } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= + (exit $ac_status); }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac fi -done - -fi - -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6 -else - echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 -fi + rm -rf conftest* + ;; -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 +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF + 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 + + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include -#include -#include int main () @@ -4329,72 +4291,379 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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_header_stdc=yes + lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_header_stdc=no +lt_cv_cc_needs_belf=no fi -rm -f 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 -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include +rm -f conftest.$ac_objext conftest$ac_exeext 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 -_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* +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*-cygwin* | *-*-mingw* | *-*-pw32*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done 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 -#line $LINENO "configure" -/* 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 - : +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + echo "$as_me:$LINENO: result: $DLLTOOL" >&5 +echo "${ECHO_T}$DLLTOOL" >&6 else - ac_cv_header_stdc=no + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* fi - -if test $ac_cv_header_stdc = yes; then +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; 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_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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_DLLTOOL="dlltool" + 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_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + DLLTOOL=$ac_ct_DLLTOOL +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. +set dummy ${ac_tool_prefix}as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AS"; then + ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AS=$ac_cv_prog_AS +if test -n "$AS"; then + echo "$as_me:$LINENO: result: $AS" >&5 +echo "${ECHO_T}$AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AS"; then + ac_ct_AS=$AS + # Extract the first word of "as", so it can be a program name with args. +set dummy as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AS"; then + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # 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_AS="as" + 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_AS" && ac_cv_prog_ac_ct_AS="false" +fi +fi +ac_ct_AS=$ac_cv_prog_ac_ct_AS +if test -n "$ac_ct_AS"; then + echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 +echo "${ECHO_T}$ac_ct_AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AS=$ac_ct_AS +else + AS="$ac_cv_prog_AS" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + echo "$as_me:$LINENO: result: $OBJDUMP" >&5 +echo "${ECHO_T}$OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_OBJDUMP="objdump" + 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_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + OBJDUMP=$ac_ct_OBJDUMP +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + + ;; + +esac + +need_locks="$enable_libtool_lock" + + +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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 +#line $LINENO "configure" +/* 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 : @@ -4669,160 +4938,23 @@ fi done - - - - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 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 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC + 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_RANLIB+set}" = set; then +if test "${ac_cv_prog_CXX+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. + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4831,7 +4963,7 @@ do 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" + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4840,27 +4972,31 @@ 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 +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi + test -n "$CXX" && break + done 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 +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC +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_RANLIB+set}" = set; then +if test "${ac_cv_prog_ac_ct_CXX+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. + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4869,594 +5005,412 @@ do 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" + ac_cv_prog_ac_ct_CXX="$ac_prog" 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 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&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" + test -n "$ac_ct_CXX" && break +done +test -n "$ac_ct_CXX" || ac_ct_CXX="g++" + + CXX=$ac_ct_CXX fi -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 + +# 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); } + +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_cxx_compiler_gnu+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 + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6 +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>&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:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +ac_compiler_gnu=no 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 +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +CXXFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cxx_g+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 + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ - 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 +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_cxx_g=yes else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - STRIP=$ac_ct_STRIP +ac_cv_prog_cxx_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi else - STRIP="$ac_cv_prog_STRIP" + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi fi - - -enable_dlopen=no -enable_win32_dll=no - -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" - -fi; -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 4992 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +for ac_declaration in \ + ''\ + '#include ' \ + '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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +$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>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + (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 - - 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 - - cat >conftest.$ac_ext <<_ACEOF +continue +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* 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 conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - lt_cv_cc_needs_belf=yes + break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -lt_cv_cc_needs_belf=no fi -rm -f conftest.$ac_objext conftest$ac_exeext 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 - +rm -f 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 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -esac +depcc="$CXX" am_compiler_list= -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' +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_CXX_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 -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + am_cv_CXX_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 + # 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. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + 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=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h 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 + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done -# Constants: -rm="rm -f" + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o - -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- -else - ac_tool_prefix= -fi - -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="$2" - -echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs -fi -rmdir .libs 2>/dev/null -echo "$as_me:$LINENO: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 +fi +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" -else - pic_mode=default -fi; -test -z "$pic_mode" && pic_mode=default - -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' else - lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared - - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' - - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac - else - # PORTME Check for PIC flags for the system compiler. - case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' - else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; - - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; - - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - ;; - - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; - - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; - - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' - fi - ;; - - *) - lt_cv_prog_cc_can_build_shared=no - ;; - esac - fi - + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= fi -if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -else - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 - # Check to make sure the pic_flag actually works. - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_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 #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error _ACEOF -rm -f conftest.$ac_objext -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); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_prog_cc_pic_works=no - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - -fi - - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" + ac_cpp_err= fi - - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 +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 -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : - else - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} - lt_cv_prog_cc_can_build_shared=no - fi + # Broken: fails on valid input. +continue fi +rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ @@ -5464,113 +5418,63 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} +#include _ACEOF -rm -f conftest.$ac_objext 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='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - lt_cv_prog_cc_static_works=yes + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_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.$ac_objext conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" +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 - -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:5534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&5 - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null + done + ac_cv_prog_CXXCPP=$CXXCPP fi - -compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:$LINENO: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + CXXCPP=$ac_cv_prog_CXXCPP else - - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo + ac_cv_prog_CXXCPP=$CXXCPP +fi +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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 #line $LINENO "configure" /* confdefs.h. */ @@ -5578,84 +5482,42 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error _ACEOF -rm -f conftest.$ac_objext -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); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag + else + ac_cpp_err= + fi else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - + ac_cpp_err=yes fi - - compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 +if test -z "$ac_cpp_err"; then + : else - compiler_o_lo=no -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6 - if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no + # Broken: fails on valid input. +continue fi +rm -f conftest.err conftest.$ac_ext -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ @@ -5663,1296 +5525,15713 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} +#include _ACEOF -rm -f conftest.$ac_objext -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); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_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.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 +rm -f conftest.err conftest.$ac_ext - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi +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 \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi -# See if the linker supports building shared libraries. -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 + 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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # 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_F77="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac - -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - ;; +done +done - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes +fi +fi +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 +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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ - ;; - esac +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 + test -n "$ac_ct_F77" && break +done - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + F77=$ac_ct_F77 +fi - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; +# Provide some information about the compiler. +echo "$as_me:5671:" \ + "checking for Fortran 77 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); } - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. +ac_save_ext=$ac_ext +ac_ext=F +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 +ac_ext=$ac_save_ext +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac +ac_cv_prog_f77_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "$G77" = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" fi else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + if test "$G77" = yes; then + FFLAGS="-O2" + else + FFLAGS= + fi +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 - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi +# find the maximum length of command line arguments +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + testring="ABCD" - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' - ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; + esac - freebsd1*) - ld_shlibs=no - ;; +fi - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +if test -n $lt_cv_sys_max_cmd_len ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [12].*) - cat <&2 +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGISTW]' ;; +esac -EOF - no_undefined_flag= - ;; - esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + # Check to see that the pipe works correctly. + pipe_works=no - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + 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); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac -fi -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 -test "$ld_shlibs" = no && can_build_shared=no - -# Check hardcoding attributes. -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate + lt_cv_sys_global_symbol_pipe= fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported +done + fi -echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 -striplib= -old_striplib= -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6 else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 -library_names_spec= -libname_spec='lib$name' -soname_spec= -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' - ;; +echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6 +objdir=$lt_cv_objdir -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH - fi - hardcode_into_libs=yes - ;; -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' - ;; -beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; -cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi ;; +esac -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - ;; +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' -freebsd1*) - dynamic_linker=no - ;; +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - esac - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; +# Constants: +rm="rm -f" -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; +# Global variables: +default_ofile=libtool +can_build_shared=yes -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no - ;; +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -# This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" + 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_AR" && ac_cv_prog_ac_ct_AR="false" +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AR=$ac_ct_AR +else + AR="$ac_cv_prog_AR" +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 + +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 + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=yes + +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +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 + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6676: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6680: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6908: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6912: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6975: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:6979: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6 +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6 + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + tagnames="$withval" +fi; + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# 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; +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 $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $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. + [\\/]* | ?:[\\/]*) + 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 "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &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 "${lt_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}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11229: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:11233: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11296: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:11300: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6 + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13471: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:13475: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13538: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:13542: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6 +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6 + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15490: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15494: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_GCJ='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_GCJ=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + else + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_GCJ=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15722: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15726: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15789: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15793: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; + + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + fi + ;; + + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + freebsd1*) + ld_shlibs_GCJ=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; + + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; + + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_GCJ=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no + ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + *) + ld_shlibs_GCJ=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6 +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_GCJ" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_GCJ=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_GCJ=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_GCJ=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do + + case $var in + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_RC + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_RC + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_RC +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_RC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_RC +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_RC + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_RC + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_RC + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_RC + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_RC + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_RC + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_RC" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_RC + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_RC + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_RC + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_RC + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +# Prevent multiple expansion + + + + + + + + + + + + + + + + + + + + + + +# 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. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + 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. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&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 path variable" >&5 +echo $ECHO_N "checking for shared library path variable... $ECHO_C" >&6 +if test "${acl_cv_libpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + LD="$LD" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_libpath=${acl_cv_shlibpath_var:-none} + +fi +echo "$as_me:$LINENO: result: $acl_cv_libpath" >&5 +echo "${ECHO_T}$acl_cv_libpath" >&6 + shlibpath_var="$acl_cv_shlibpath_var" + + + echo "$as_me:$LINENO: checking whether to activate relocatable installation" >&5 +echo $ECHO_N "checking whether to activate relocatable installation... $ECHO_C" >&6 + # Check whether --enable-relocatable or --disable-relocatable was given. +if test "${enable_relocatable+set}" = set; then + enableval="$enable_relocatable" + if test "$enableval" != no; then + RELOCATABLE=yes + else + RELOCATABLE=no + fi + +else + RELOCATABLE=no +fi; + + echo "$as_me:$LINENO: result: $RELOCATABLE" >&5 +echo "${ECHO_T}$RELOCATABLE" >&6 + + + + if test "X$prefix" = "XNONE"; then + reloc_final_prefix="$ac_default_prefix" + else + reloc_final_prefix="$prefix" + fi + +cat >>confdefs.h <<_ACEOF +#define INSTALLPREFIX "${reloc_final_prefix}" +_ACEOF + + + + + + + + use_elf_origin_trick=no + if test $RELOCATABLE = yes; then + # --enable-relocatable implies --disable-rpath + enable_rpath=no + LIBOBJS="$LIBOBJS relocatable.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_RELOCATABLE 1 +_ACEOF + + case "$host_os" in + linux*) use_elf_origin_trick=yes ;; + esac + if test $use_elf_origin_trick = yes; then + case "$ac_aux_dir" in + /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;; + *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;; + esac + SET_RELOCATABLE="RELOCATABLE_LDFLAGS = \"$reloc_ldflags\" \"@host@\" \"\$(RELOCATABLE_LIBRARY_PATH)\"" + else + SET_RELOCATABLE="INSTALL_PROGRAM_ENV = RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\"" + case "$ac_aux_dir" in + /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;; + *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;; + esac + fi + else + SET_RELOCATABLE= + fi + + + +if test $use_elf_origin_trick = yes; then + RELOCATABLE_VIA_LD_TRUE= + RELOCATABLE_VIA_LD_FALSE='#' +else + RELOCATABLE_VIA_LD_TRUE='#' + RELOCATABLE_VIA_LD_FALSE= +fi + + + + + +for ac_header in string.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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 + 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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 + +echo "$as_me:$LINENO: checking for stdbool.h" >&5 +echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6 +if test "${gt_cv_header_stdbool_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if false +int A[-1]; +#endif +#define b -1 +#if true +#undef b +#define b 1 +#endif +int B[b]; +bool c; + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + gt_cv_header_stdbool_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_header_stdbool_h=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi + +echo "$as_me:$LINENO: result: $gt_cv_header_stdbool_h" >&5 +echo "${ECHO_T}$gt_cv_header_stdbool_h" >&6 +if test $gt_cv_header_stdbool_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_STDBOOL_H 1 +_ACEOF + + STDBOOL_H='' +else + STDBOOL_H='stdbool.h' + echo "$as_me:$LINENO: checking for _Bool type" >&5 +echo $ECHO_N "checking for _Bool type... $ECHO_C" >&6 + if test "${gt_cv_type_Bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +_Bool x = sizeof (_Bool); +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + gt_cv_type_Bool=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_type_Bool=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $gt_cv_type_Bool" >&5 +echo "${ECHO_T}$gt_cv_type_Bool" >&6 + if test $gt_cv_type_Bool = yes; then + HAVE__BOOL=1 + else + HAVE__BOOL=0 + fi + +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 +#line $LINENO "configure" +/* 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>&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.$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 + + +# 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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 +#line $LINENO "configure" +/* 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.* *.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 + + + +for ac_header in stdlib.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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 + 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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 + + + + +for ac_header in string.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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 + 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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 + + + + + + + + if test $ac_cv_func_alloca_works = no; then + + + : + + + + + + + + + + fi + + # Define an additional variable used in the Makefile substitution. + + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H + Need own alloca +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Need own alloca" >/dev/null 2>&1; then + ALLOCA_H=alloca.h +else + ALLOCA_H= +fi +rm -f conftest* + + + + +for ac_func in vprintf +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 + +echo "$as_me:$LINENO: checking for _doprnt" >&5 +echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 +if test "${ac_cv_func__doprnt+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char _doprnt (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 _doprnt (); +/* 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__doprnt) || defined (__stub____doprnt) +choke me +#else +char (*f) () = _doprnt; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != _doprnt; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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__doprnt=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func__doprnt=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 +echo "${ECHO_T}$ac_cv_func__doprnt" >&6 +if test $ac_cv_func__doprnt = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_DOPRNT 1 +_ACEOF + +fi + +fi +done + + + + +for ac_func in setlocale strerror +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 + + +for ac_func in memmove +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + + +for ac_func in setenv unsetenv +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + + + + +for ac_header in search.h stdlib.h string.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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 + 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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 + + +for ac_func in tsearch +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 if errno is properly declared" >&5 +echo $ECHO_N "checking if errno is properly declared... $ECHO_C" >&6 + if test "${gt_cv_var_errno_declaration+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + extern struct { int foo; } errno; +int +main () +{ +errno.foo = 1; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + gt_cv_var_errno_declaration=no +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_var_errno_declaration=yes +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $gt_cv_var_errno_declaration" >&5 +echo "${ECHO_T}$gt_cv_var_errno_declaration" >&6 + if test $gt_cv_var_errno_declaration = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ERRNO_DECL 1 +_ACEOF + + fi + + + + echo "$as_me:$LINENO: checking if environ is properly declared" >&5 +echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6 + if test "${gt_cv_var_environ_declaration+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + extern struct { int foo; } environ; +int +main () +{ +environ.foo = 1; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + gt_cv_var_environ_declaration=no +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_var_environ_declaration=yes +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $gt_cv_var_environ_declaration" >&5 +echo "${ECHO_T}$gt_cv_var_environ_declaration" >&6 + if test $gt_cv_var_environ_declaration = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ENVIRON_DECL 1 +_ACEOF + + fi + + + + +for ac_func in strerror +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + if test $ac_cv_func_strerror = no; then + + : + + fi + + + echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5 +echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef clearerr_unlocked + char *p = (char *) clearerr_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_clearerr_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_clearerr_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6 +if test $ac_cv_have_decl_clearerr_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CLEARERR_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CLEARERR_UNLOCKED 0 +_ACEOF + + +fi + + + + + echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5 +echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef feof_unlocked + char *p = (char *) feof_unlocked; +#endif -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_feof_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; +ac_cv_have_decl_feof_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6 +if test $ac_cv_have_decl_feof_unlocked = yes; then -openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED 1 +_ACEOF -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; -osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes - ;; +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED 0 +_ACEOF -sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - ;; -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; +fi -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; + echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5 +echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef ferror_unlocked + char *p = (char *) ferror_unlocked; +#endif -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_ferror_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -*) - dynamic_linker=no - ;; -esac -echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6 -test "$dynamic_linker" = no && can_build_shared=no +ac_cv_have_decl_ferror_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6 +if test $ac_cv_have_decl_ferror_unlocked = yes; then -# Report the final consequences. -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FERROR_UNLOCKED 1 +_ACEOF -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 -test "$can_build_shared" = "no" && enable_shared=no -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FERROR_UNLOCKED 0 +_ACEOF + + +fi + + + + + echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5 +echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fflush_unlocked + char *p = (char *) fflush_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_fflush_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6 +ac_cv_have_decl_fflush_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6 +if test $ac_cv_have_decl_fflush_unlocked = yes; then -echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6 +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FFLUSH_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FFLUSH_UNLOCKED 0 +_ACEOF -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - cygwin* | mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - *) - echo "$as_me:$LINENO: checking for shl_load" >&5 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 -if test "${ac_cv_func_shl_load+set}" = set; then + echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5 +echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -6962,129 +21241,127 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char shl_load (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif -/* 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 shl_load (); -/* 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_shl_load) || defined (__stub___shl_load) -choke me -#else -char (*f) () = shl_load; -#endif -#ifdef __cplusplus -} -#endif - +$ac_includes_default int main () { -return f != shl_load; +#ifndef fgets_unlocked + char *p = (char *) fgets_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_func_shl_load=yes + ac_cv_have_decl_fgets_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_func_shl_load=no +ac_cv_have_decl_fgets_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6 -if test $ac_cv_func_shl_load = yes; then - lt_cv_dlopen="shl_load" +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6 +if test $ac_cv_have_decl_fgets_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FGETS_UNLOCKED 1 +_ACEOF + + else - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FGETS_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 - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* 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 shl_load (); +$ac_includes_default int main () { -shl_load (); +#ifndef fputc_unlocked + char *p = (char *) fputc_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_lib_dld_shl_load=yes + ac_cv_have_decl_fputc_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_dld_shl_load=no +ac_cv_have_decl_fputc_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 -if test $ac_cv_lib_dld_shl_load = yes; then - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +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 - echo "$as_me:$LINENO: checking for dlopen" >&5 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 -if test "${ac_cv_func_dlopen+set}" = set; then + 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 @@ -7094,1124 +21371,1406 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif -/* 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 dlopen (); -/* 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_dlopen) || defined (__stub___dlopen) -choke me -#else -char (*f) () = dlopen; -#endif -#ifdef __cplusplus -} -#endif - +$ac_includes_default int main () { -return f != dlopen; +#ifndef fputs_unlocked + char *p = (char *) fputs_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_func_dlopen=yes + ac_cv_have_decl_fputs_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_func_dlopen=no +ac_cv_have_decl_fputs_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6 -if test $ac_cv_func_dlopen = yes; then - lt_cv_dlopen="dlopen" +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 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTS_UNLOCKED 0 +_ACEOF + + +fi + + + + + echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5 +echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* 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 dlopen (); +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default int main () { -dlopen (); +#ifndef fread_unlocked + char *p = (char *) fread_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_lib_dl_dlopen=yes + ac_cv_have_decl_fread_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_dl_dlopen=no +ac_cv_have_decl_fread_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 -if test $ac_cv_lib_dl_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6 +if test $ac_cv_have_decl_fread_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREAD_UNLOCKED 1 +_ACEOF + + else - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREAD_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 - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* 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 dlopen (); +$ac_includes_default int main () { -dlopen (); +#ifndef fwrite_unlocked + char *p = (char *) fwrite_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_lib_svld_dlopen=yes + ac_cv_have_decl_fwrite_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_svld_dlopen=no +ac_cv_have_decl_fwrite_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 -if test $ac_cv_lib_svld_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +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 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FWRITE_UNLOCKED 0 +_ACEOF + + +fi + + + + + echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* 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 dld_link (); +$ac_includes_default int main () { -dld_link (); +#ifndef getc_unlocked + char *p = (char *) getc_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_lib_dld_dld_link=yes + ac_cv_have_decl_getc_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_dld_dld_link=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 -if test $ac_cv_lib_dld_dld_link = yes; then - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" -fi - - +ac_cv_have_decl_getc_unlocked=no fi - - +rm -f conftest.$ac_objext conftest.$ac_ext fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6 +if test $ac_cv_have_decl_getc_unlocked = yes; then - -fi +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED 1 +_ACEOF -fi +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED 0 +_ACEOF fi - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - save_LDFLAGS="$LDFLAGS" - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 -if test "${lt_cv_dlopen_self+set}" = set; then + echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5 +echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () { - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } +#ifndef getchar_unlocked + char *p = (char *) getchar_unlocked; +#endif - exit (status); + ; + return 0; } -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +_ACEOF +rm -f conftest.$ac_objext +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); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_unknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi + (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_getchar_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_getchar_unlocked=no fi -rm -fr conftest* +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6 +if test $ac_cv_have_decl_getchar_unlocked = yes; then +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCHAR_UNLOCKED 1 +_ACEOF -fi -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6 - if test "x$lt_cv_dlopen_self" = xyes; then - LDFLAGS="$LDFLAGS $link_static_flag" - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 -if test "${lt_cv_dlopen_self_static+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCHAR_UNLOCKED 0 +_ACEOF -#if HAVE_DLFCN_H -#include -#endif -#include +fi -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif -#ifdef __cplusplus -extern "C" void exit (int); -#endif -void fnord() { int i=42;} -int main () + 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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () { - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } +#ifndef putc_unlocked + char *p = (char *) putc_unlocked; +#endif - exit (status); + ; + return 0; } -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +_ACEOF +rm -f conftest.$ac_objext +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); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi + (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 -fr conftest* +rm -f 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 -fi -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 - fi - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED 0 +_ACEOF - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac fi -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then + + + echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5 +echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - $rm conftest* - echo 'static int dummy;' > conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef putchar_unlocked + char *p = (char *) putchar_unlocked; +#endif - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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 - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&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 - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* + (exit $ac_status); }; }; then + ac_cv_have_decl_putchar_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +ac_cv_have_decl_putchar_unlocked=no fi - - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 - ;; - esac +rm -f conftest.$ac_objext conftest.$ac_ext fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} +echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6 +if test $ac_cv_have_decl_putchar_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTCHAR_UNLOCKED 1 +_ACEOF + -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTCHAR_UNLOCKED 0 +_ACEOF + + fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - cat <<__EOF__ > "${ofile}T" -#! $SHELL -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. -# A sed that does not truncate output. -SED=$lt_SED + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi -# ### BEGIN LIBTOOL CONFIG -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared -# Whether or not to build static libraries. -build_old_libs=$enable_static -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install -# The host system. -host_alias=$host_alias -host=$host -# An echo program that does not interpret backslashes. -echo=$lt_echo + echo "$as_me:$LINENO: checking for error_at_line" >&5 +echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 +if test "${am_cv_lib_error_at_line+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS +int +main () +{ +error_at_line(0, 0, "", 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>&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_error_at_line=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# The default C compiler. -CC=$lt_CC +am_cv_lib_error_at_line=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $am_cv_lib_error_at_line" >&5 +echo "${ECHO_T}$am_cv_lib_error_at_line" >&6 + if test $am_cv_lib_error_at_line = yes; then -# Is the compiler the GNU C compiler? -with_gcc=$GCC +cat >>confdefs.h <<\_ACEOF +#define HAVE_ERROR_AT_LINE 1 +_ACEOF -# The linker used to build libraries. -LD=$lt_LD + else -# Whether we need hard or soft links. -LN_S=$lt_LN_S -# A BSD-compatible nm program. -NM=$lt_NM -# A symbol stripping program -STRIP=$STRIP -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD +for ac_func in strerror +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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 -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" +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>&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 -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" +eval "$as_ac_var=no" +fi +rm -f 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 -# Used on cygwin: assembler. -AS="$AS" +fi +done -# The name of the directory that contains temporary libtool files. -objdir=$objdir + echo "$as_me:$LINENO: checking whether strerror is declared" >&5 +echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strerror+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strerror + char *p = (char *) strerror; +#endif -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_strerror=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# How to pass a linker flag through the compiler. -wl=$lt_wl +ac_cv_have_decl_strerror=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6 +if test $ac_cv_have_decl_strerror = yes; then -# Object file suffix (normally "o"). -objext="$ac_objext" +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR 1 +_ACEOF -# Old archive suffix (normally "a"). -libext="$libext" -# Executable file suffix (normally ""). -exeext="$exeext" +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR 0 +_ACEOF -# Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag -pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +fi + + + echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 +echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strerror_r+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strerror_r + char *p = (char *) strerror_r; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_strerror_r=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +ac_cv_have_decl_strerror_r=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6 +if test $ac_cv_have_decl_strerror_r = yes; then -# Must we lock files when doing compilation ? -need_locks=$lt_need_locks +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR_R 1 +_ACEOF -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix -# Do we need a version for libraries? -need_version=$need_version +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR_R 0 +_ACEOF -# Whether dlopen is supported. -dlopen_support=$enable_dlopen -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self +fi -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +for ac_func in strerror_r +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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 -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +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>&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 -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +eval "$as_ac_var=no" +fi +rm -f 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 -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +fi +done -# Library versioning type. -version_type=$version_type +echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 +echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6 +if test "${ac_cv_func_strerror_r_char_p+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else -# Format of library name prefix. -libname_spec=$lt_libname_spec + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_func_strerror_r_char_p=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds +fi +rm -f conftest.$ac_objext conftest.$ac_ext + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + extern char *strerror_r (); +int +main () +{ +char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + exit (!isalpha (x)); + ; + 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_func_strerror_r_char_p=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + fi -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +fi +echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 +echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6 +if test $ac_cv_func_strerror_r_char_p = yes; then -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds +cat >>confdefs.h <<\_ACEOF +#define STRERROR_R_CHAR_P 1 +_ACEOF -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib +fi -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd + fi -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds +for ac_header in limits.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 +#line $LINENO "configure" +/* 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>&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 -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +# 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 +#line $LINENO "configure" +/* 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 + 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 -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl + 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 -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 -# This is the shared library runtime path variable. -runpath_var=$runpath_var +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF -# This is the shared library path variable. -shlibpath_var=$shlibpath_var +fi -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath +done -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +for ac_header in sys/param.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 +#line $LINENO "configure" +/* 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>&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 -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L +# 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 +#line $LINENO "configure" +/* 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 + 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 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var + 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 -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec +fi -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec +done -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds +for ac_header in 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 +#line $LINENO "configure" +/* 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>&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 -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +# 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 +#line $LINENO "configure" +/* 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 + 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 -# ### END LIBTOOL CONFIG + 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 -__EOF__ +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi + : -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -# Prevent multiple expansion -cat >>confdefs.h <<\_ACEOF -#define _GNU_SOURCE 1 -_ACEOF -for ac_header in string.h +for ac_header in sys/types.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -8342,77 +22901,38 @@ 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 +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 + + + + + : + + + -fi -done -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 -#line $LINENO "configure" -/* 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>&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.$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 -for ac_func in vprintf + + + + +for ac_func in canonicalize_file_name do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -8492,93 +23012,29 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -echo "$as_me:$LINENO: checking for _doprnt" >&5 -echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 -if test "${ac_cv_func__doprnt+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char _doprnt (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif -/* 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 _doprnt (); -/* 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__doprnt) || defined (__stub____doprnt) -choke me -#else -char (*f) () = _doprnt; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != _doprnt; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext 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='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__doprnt=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_func__doprnt=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 -echo "${ECHO_T}$ac_cv_func__doprnt" >&6 -if test $ac_cv_func__doprnt = yes; then +done + + if test $ac_cv_func_canonicalize_file_name = no; then + LIBOBJS="$LIBOBJS canonicalize.$ac_objext" cat >>confdefs.h <<\_ACEOF -#define HAVE_DOPRNT 1 +#define realpath rpl_realpath _ACEOF -fi -fi -done + + : -for ac_func in setlocale strerror + + + + + +for ac_func in getcwd do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -8662,63 +23118,16 @@ fi done - echo "$as_me:$LINENO: checking for error_at_line" >&5 -echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 -if test "${am_cv_lib_error_at_line+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -error_at_line(0, 0, "", 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>&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_error_at_line=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -am_cv_lib_error_at_line=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $am_cv_lib_error_at_line" >&5 -echo "${ECHO_T}$am_cv_lib_error_at_line" >&6 - if test $am_cv_lib_error_at_line = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_ERROR_AT_LINE 1 -_ACEOF - fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then - MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" @@ -8726,6 +23135,20 @@ _ACEOF + echo "$as_me:$LINENO: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 + # Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + USE_NLS=$enableval +else + USE_NLS=yes +fi; + echo "$as_me:$LINENO: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6 + + + @@ -8885,8 +23308,8 @@ else test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi @@ -8991,8 +23414,8 @@ echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6 fi if test "$XGETTEXT" != ":"; then - if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 @@ -9000,59 +23423,21 @@ echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 XGETTEXT=":" fi rm -f messages.po - fi - - ac_config_commands="$ac_config_commands default-1" - - -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 -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 + ac_config_commands="$ac_config_commands default-1" + + +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_ac_ct_RANLIB+set}" = set; then +if test "${ac_cv_prog_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. + 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 @@ -9061,300 +23446,71 @@ do 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" + 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 - 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 - -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 -#line $LINENO "configure" -/* 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>&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.$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 -#line $LINENO "configure" -/* 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>&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.$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) ;; - no) -cat >>confdefs.h <<\_ACEOF -#define inline -_ACEOF - ;; - *) cat >>confdefs.h <<_ACEOF -#define inline $ac_cv_c_inline -_ACEOF - ;; -esac - -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 -#line $LINENO "configure" -/* 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>&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.$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 - : +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 else - -cat >>confdefs.h <<_ACEOF -#define off_t long -_ACEOF - -fi - -# 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 "$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 - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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>&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 + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +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 -ac_cv_working_alloca_h=no + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi -rm -f 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 +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 -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 "$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 @@ -9364,202 +23520,154 @@ _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); +/* 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 conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_func_alloca_works=yes + ac_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_func_alloca_works=no +ac_cv_c_const=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext 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 +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 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 -#line $LINENO "configure" -/* confdefs.h. */ +#define const _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 "$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 #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* 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 -/* 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 -} +/* 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 -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>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_var=yes" + ac_cv_c_inline=$ac_kw; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" -fi -rm -f 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 +rm -f conftest.$ac_objext conftest.$ac_ext +done - 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) ;; + no) +cat >>confdefs.h <<\_ACEOF +#define inline +_ACEOF + ;; + *) cat >>confdefs.h <<_ACEOF +#define inline $ac_cv_c_inline +_ACEOF + ;; +esac -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 "$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 - if test "$cross_compiling" = yes; then - ac_cv_c_stack_direction=0 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -9568,57 +23676,49 @@ _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; -} - +$ac_includes_default int main () { - exit (find_stack_direction () < 0); +if ((off_t *) 0) + return 0; +if (sizeof (off_t)) + return 0; + ; + return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && { ac_try='./conftest$ac_exeext' + (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_stack_direction=1 + ac_cv_type_off_t=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&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.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +ac_cv_type_off_t=no fi +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 +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 STACK_DIRECTION $ac_cv_c_stack_direction +#define off_t long _ACEOF - fi @@ -10481,119 +24581,6 @@ _ACEOF 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. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - 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. -if $LD -v 2>&1 &5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&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 @@ -10616,8 +24603,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -11182,11 +25167,13 @@ done + for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ -strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next +strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \ +__fsetlocking do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -11667,6 +25654,7 @@ echo "${ECHO_T}$ac_prog_version" >&6 + echo "$as_me:$LINENO: checking whether NLS is requested" >&5 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 # Check whether --enable-nls or --disable-nls was given. @@ -11681,6 +25669,7 @@ echo "${ECHO_T}$USE_NLS" >&6 + BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no @@ -12265,8 +26254,7 @@ echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6 fi if test "$nls_cv_use_gnu_gettext" = "yes"; then - INTLOBJS="\$(GETTOBJS)" - BUILD_INCLUDED_LIBINTL=yes + BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV" LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV" @@ -12368,7 +26356,6 @@ _ACEOF - nls_cv_header_intl= nls_cv_header_libgt= @@ -12381,6 +26368,11 @@ _ACEOF GENCAT=gencat + if test "$USE_INCLUDED_LIBINTL" = yes; then + INTLOBJS="\$(GETTOBJS)" + fi + + INTL_LIBTOOL_SUFFIX_PREFIX=l @@ -12708,6 +26700,20 @@ 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 "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"RELOCATABLE_VIA_LD\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"RELOCATABLE_VIA_LD\" 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 @@ -13275,6 +27281,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -13315,27 +27322,53 @@ s,@host_vendor@,$host_vendor,;t t s,@host_os@,$host_os,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t +s,@AR@,$AR,;t t +s,@ac_ct_AR@,$ac_ct_AR,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@DLLTOOL@,$DLLTOOL,;t t +s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t +s,@AS@,$AS,;t t +s,@ac_ct_AS@,$ac_ct_AS,;t t +s,@OBJDUMP@,$OBJDUMP,;t t +s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t +s,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t +s,@ac_ct_CXX@,$ac_ct_CXX,;t t +s,@CXXDEPMODE@,$CXXDEPMODE,;t t +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t +s,@RELOCATABLE@,$RELOCATABLE,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@SET_RELOCATABLE@,$SET_RELOCATABLE,;t t +s,@RELOCATABLE_VIA_LD_TRUE@,$RELOCATABLE_VIA_LD_TRUE,;t t +s,@RELOCATABLE_VIA_LD_FALSE@,$RELOCATABLE_VIA_LD_FALSE,;t t +s,@HAVE__BOOL@,$HAVE__BOOL,;t t +s,@STDBOOL_H@,$STDBOOL_H,;t t +s,@ALLOCA@,$ALLOCA,;t t +s,@ALLOCA_H@,$ALLOCA_H,;t t s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t +s,@USE_NLS@,$USE_NLS,;t t s,@MSGFMT@,$MSGFMT,;t t s,@GMSGFMT@,$GMSGFMT,;t t s,@XGETTEXT@,$XGETTEXT,;t t s,@MSGMERGE@,$MSGMERGE,;t t -s,@ALLOCA@,$ALLOCA,;t t s,@GLIBC21@,$GLIBC21,;t t s,@LIBICONV@,$LIBICONV,;t t s,@LTLIBICONV@,$LTLIBICONV,;t t s,@INTLBISON@,$INTLBISON,;t t -s,@USE_NLS@,$USE_NLS,;t t s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t s,@CATOBJEXT@,$CATOBJEXT,;t t -s,@INTLOBJS@,$INTLOBJS,;t t s,@DATADIRNAME@,$DATADIRNAME,;t t s,@INSTOBJEXT@,$INSTOBJEXT,;t t s,@GENCAT@,$GENCAT,;t t +s,@INTLOBJS@,$INTLOBJS,;t t s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t s,@INTLLIBS@,$INTLLIBS,;t t s,@LIBINTL@,$LIBINTL,;t t @@ -13343,11 +27376,8 @@ s,@LTLIBINTL@,$LTLIBINTL,;t t s,@POSUB@,$POSUB,;t t s,@PERL@,$PERL,;t t s,@CROSS_COMPILING@,$CROSS_COMPILING,;t t -s,@CXX@,$CXX,;t t -s,@CXXFLAGS@,$CXXFLAGS,;t t s,@SUBDIR_libasprintf@,$SUBDIR_libasprintf,;t t s,@subdirs@,$subdirs,;t t -s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF @@ -13785,7 +27815,16 @@ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} cat $tmp/config.h rm -f $tmp/config.h fi -_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +# 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\(//\)[^/]' \| \ diff --git a/gettext-runtime/doc/Makefile.in b/gettext-runtime/doc/Makefile.in index 14542533a..2cfaabba9 100644 --- a/gettext-runtime/doc/Makefile.in +++ b/gettext-runtime/doc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -38,9 +38,12 @@ POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -57,17 +60,22 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ @@ -77,6 +85,7 @@ HAVE_JAVAC = @HAVE_JAVAC@ HAVE_JAVAC_IN_PATH = @HAVE_JAVAC_IN_PATH@ HAVE_JIKES = @HAVE_JIKES@ HAVE_JIKES_IN_PATH = @HAVE_JIKES_IN_PATH@ +HAVE__BOOL = @HAVE__BOOL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -102,6 +111,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -113,8 +123,13 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ +STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ SUBDIR_libasprintf = @SUBDIR_libasprintf@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -122,12 +137,21 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -160,7 +184,11 @@ target_alias = @target_alias@ AUTOMAKE_OPTIONS = 1.2 gnits -EXTRA_DIST = nls.texi matrix.texi + +# VMS support. + +# Woe32 support. +EXTRA_DIST = nls.texi matrix.texi Makefile.vms Makefile.msvc subdir = doc mkinstalldirs = $(SHELL) $(top_srcdir)/../config/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h @@ -308,11 +336,7 @@ uninstall-am: uninstall-info-am uninstall-info-am -# Documentation tags not known to automake. - -ps: - -pdf: +# Documentation tag not known to automake. html: # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/gettext-runtime/intl-java/Makefile.in b/gettext-runtime/intl-java/Makefile.in index a87015ee2..118b5b84d 100644 --- a/gettext-runtime/intl-java/Makefile.in +++ b/gettext-runtime/intl-java/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -38,9 +38,12 @@ POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -57,17 +60,22 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ @@ -77,6 +85,7 @@ HAVE_JAVAC = @HAVE_JAVAC@ HAVE_JAVAC_IN_PATH = @HAVE_JAVAC_IN_PATH@ HAVE_JIKES = @HAVE_JIKES@ HAVE_JIKES_IN_PATH = @HAVE_JIKES_IN_PATH@ +HAVE__BOOL = @HAVE__BOOL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -103,6 +112,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -114,8 +124,13 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ +STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ SUBDIR_libasprintf = @SUBDIR_libasprintf@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -123,12 +138,21 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -168,7 +192,7 @@ CLEANFILES = libintl.jar gnu/gettext/*.class RM = rm -f jardir = $(datadir)/gettext -docdir = $(prefix)/doc/gettext +docdir = $(datadir)/doc/gettext htmldir = $(docdir) JAVACOMP = $(SHELL) ../lib/javacomp.sh JAVADOC1 = test ! -d /usr/lib/jdk1.1.8 || env PATH=/usr/lib/jdk1.1.8/bin:$$PATH javadoc @@ -279,6 +303,8 @@ check-am: all-am check: check-am all-am: Makefile all-local +installdirs: installdirs-local + install: install-am install-exec: install-exec-am install-data: install-data-am @@ -438,9 +464,6 @@ uninstall-javadoc2: echo "$(RM) $(DESTDIR)$(htmldir)/$$f"; \ $(RM) $(DESTDIR)$(htmldir)/$$f; \ done - -# One more automake bug. -installdirs: installdirs-local # 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/gettext-runtime/lib/Makefile.in b/gettext-runtime/lib/Makefile.in index b12daab88..474e33bdb 100644 --- a/gettext-runtime/lib/Makefile.in +++ b/gettext-runtime/lib/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -38,9 +38,12 @@ POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -57,17 +60,23 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ -DEFS = @DEFS@ + +DEFS = -DDEPENDS_ON_LIBINTL=1 @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ @@ -77,6 +86,7 @@ HAVE_JAVAC = @HAVE_JAVAC@ HAVE_JAVAC_IN_PATH = @HAVE_JAVAC_IN_PATH@ HAVE_JIKES = @HAVE_JIKES@ HAVE_JIKES_IN_PATH = @HAVE_JIKES_IN_PATH@ +HAVE__BOOL = @HAVE__BOOL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -102,6 +112,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -113,8 +124,13 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ +STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ SUBDIR_libasprintf = @SUBDIR_libasprintf@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -122,12 +138,21 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -160,18 +185,52 @@ target_alias = @target_alias@ AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies + +# List of files to be distributed. + +# >>> gnulib module stdbool. +# <<< gnulib module stdbool. + +# >>> gnulib module alloca. +# <<< gnulib module alloca. + +# VMS support. + +# Woe32 support. +EXTRA_DIST = $(LIBADD_SOURCE) ../../gettext-tools/lib/stdbool.h.in ../../gettext-tools/lib/alloca_.h Makefile.vms Makefile.msvc +MOSTLYCLEANFILES = stdbool.h alloca.h + noinst_LIBRARIES = libgrt.a # Sources that are compiled on all platforms. libgrt_a_SOURCES = \ - basename.h basename.c \ - error.h error.c \ - exit.h \ - getopt.h getopt.c getopt1.c \ - xmalloc.h xmalloc.c + ../../gettext-tools/lib/basename.h ../../gettext-tools/lib/basename.c \ + ../../gettext-tools/lib/error.h ../../gettext-tools/lib/error.c \ + ../../gettext-tools/lib/exit.h \ + ../../gettext-tools/lib/getopt.h ../../gettext-tools/lib/getopt.c ../../gettext-tools/lib/getopt1.c \ + ../../gettext-tools/lib/pathmax.h \ + ../../gettext-tools/lib/progname.h ../../gettext-tools/lib/progname.c ../../gettext-tools/lib/progreloc.c \ + ../../gettext-tools/lib/unlocked-io.h \ + ../../gettext-tools/lib/xmalloc.h ../../gettext-tools/lib/xmalloc.c ../../gettext-tools/lib/xstrdup.c \ + ../../gettext-tools/lib/xreadlink.h ../../gettext-tools/lib/xreadlink.c + + + +# Sources that are compiled only on platforms that lack the functions. +LIBADD_SOURCE = \ + alloca.c \ + ../../gettext-tools/lib/canonicalize.h canonicalize.c \ + memmove.c \ + ../../gettext-tools/lib/relocatable.h relocatable.c \ + ../../gettext-tools/lib/setenv.h setenv.c unsetenv.c \ + strerror.c + +# How to build libgrt.a. +libgrt_a_LIBADD = @ALLOCA@ @LIBOBJS@ + INCLUDES = \ -I. -I$(srcdir) \ -I.. \ @@ -185,9 +244,11 @@ CONFIG_CLEAN_FILES = javacomp.sh LIBRARIES = $(noinst_LIBRARIES) libgrt_a_AR = $(AR) cru -libgrt_a_LIBADD = +libgrt_a_DEPENDENCIES = @ALLOCA@ @LIBOBJS@ am_libgrt_a_OBJECTS = basename.$(OBJEXT) error.$(OBJEXT) \ - getopt.$(OBJEXT) getopt1.$(OBJEXT) xmalloc.$(OBJEXT) + getopt.$(OBJEXT) getopt1.$(OBJEXT) progname.$(OBJEXT) \ + progreloc.$(OBJEXT) xmalloc.$(OBJEXT) xstrdup.$(OBJEXT) \ + xreadlink.$(OBJEXT) libgrt_a_OBJECTS = $(am_libgrt_a_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) @@ -201,7 +262,8 @@ CCLD = $(CC) LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(libgrt_a_SOURCES) -DIST_COMMON = ChangeLog Makefile.am Makefile.in +DIST_COMMON = ChangeLog Makefile.am Makefile.in alloca.c canonicalize.c \ + memmove.c relocatable.c setenv.c strerror.c unsetenv.c SOURCES = $(libgrt_a_SOURCES) all: all-am @@ -216,8 +278,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status javacomp.sh: $(top_builddir)/config.status $(top_srcdir)/../gettext-tools/lib/javacomp.sh.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -AR = ar - clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libgrt.a: $(libgrt_a_OBJECTS) $(libgrt_a_DEPENDENCIES) @@ -240,6 +300,87 @@ distclean-compile: .c.lo: $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< +basename.o: ../../gettext-tools/lib/basename.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o basename.o `test -f '../../gettext-tools/lib/basename.c' || echo '$(srcdir)/'`../../gettext-tools/lib/basename.c + +basename.obj: ../../gettext-tools/lib/basename.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o basename.obj `if test -f '../../gettext-tools/lib/basename.c'; then $(CYGPATH_W) '../../gettext-tools/lib/basename.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/basename.c'; fi` + +basename.lo: ../../gettext-tools/lib/basename.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o basename.lo `test -f '../../gettext-tools/lib/basename.c' || echo '$(srcdir)/'`../../gettext-tools/lib/basename.c + +error.o: ../../gettext-tools/lib/error.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o error.o `test -f '../../gettext-tools/lib/error.c' || echo '$(srcdir)/'`../../gettext-tools/lib/error.c + +error.obj: ../../gettext-tools/lib/error.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o error.obj `if test -f '../../gettext-tools/lib/error.c'; then $(CYGPATH_W) '../../gettext-tools/lib/error.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/error.c'; fi` + +error.lo: ../../gettext-tools/lib/error.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o error.lo `test -f '../../gettext-tools/lib/error.c' || echo '$(srcdir)/'`../../gettext-tools/lib/error.c + +getopt.o: ../../gettext-tools/lib/getopt.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.o `test -f '../../gettext-tools/lib/getopt.c' || echo '$(srcdir)/'`../../gettext-tools/lib/getopt.c + +getopt.obj: ../../gettext-tools/lib/getopt.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.obj `if test -f '../../gettext-tools/lib/getopt.c'; then $(CYGPATH_W) '../../gettext-tools/lib/getopt.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/getopt.c'; fi` + +getopt.lo: ../../gettext-tools/lib/getopt.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.lo `test -f '../../gettext-tools/lib/getopt.c' || echo '$(srcdir)/'`../../gettext-tools/lib/getopt.c + +getopt1.o: ../../gettext-tools/lib/getopt1.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt1.o `test -f '../../gettext-tools/lib/getopt1.c' || echo '$(srcdir)/'`../../gettext-tools/lib/getopt1.c + +getopt1.obj: ../../gettext-tools/lib/getopt1.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt1.obj `if test -f '../../gettext-tools/lib/getopt1.c'; then $(CYGPATH_W) '../../gettext-tools/lib/getopt1.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/getopt1.c'; fi` + +getopt1.lo: ../../gettext-tools/lib/getopt1.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt1.lo `test -f '../../gettext-tools/lib/getopt1.c' || echo '$(srcdir)/'`../../gettext-tools/lib/getopt1.c + +progname.o: ../../gettext-tools/lib/progname.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o progname.o `test -f '../../gettext-tools/lib/progname.c' || echo '$(srcdir)/'`../../gettext-tools/lib/progname.c + +progname.obj: ../../gettext-tools/lib/progname.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o progname.obj `if test -f '../../gettext-tools/lib/progname.c'; then $(CYGPATH_W) '../../gettext-tools/lib/progname.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/progname.c'; fi` + +progname.lo: ../../gettext-tools/lib/progname.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o progname.lo `test -f '../../gettext-tools/lib/progname.c' || echo '$(srcdir)/'`../../gettext-tools/lib/progname.c + +progreloc.o: ../../gettext-tools/lib/progreloc.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o progreloc.o `test -f '../../gettext-tools/lib/progreloc.c' || echo '$(srcdir)/'`../../gettext-tools/lib/progreloc.c + +progreloc.obj: ../../gettext-tools/lib/progreloc.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o progreloc.obj `if test -f '../../gettext-tools/lib/progreloc.c'; then $(CYGPATH_W) '../../gettext-tools/lib/progreloc.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/progreloc.c'; fi` + +progreloc.lo: ../../gettext-tools/lib/progreloc.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o progreloc.lo `test -f '../../gettext-tools/lib/progreloc.c' || echo '$(srcdir)/'`../../gettext-tools/lib/progreloc.c + +xmalloc.o: ../../gettext-tools/lib/xmalloc.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xmalloc.o `test -f '../../gettext-tools/lib/xmalloc.c' || echo '$(srcdir)/'`../../gettext-tools/lib/xmalloc.c + +xmalloc.obj: ../../gettext-tools/lib/xmalloc.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xmalloc.obj `if test -f '../../gettext-tools/lib/xmalloc.c'; then $(CYGPATH_W) '../../gettext-tools/lib/xmalloc.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/xmalloc.c'; fi` + +xmalloc.lo: ../../gettext-tools/lib/xmalloc.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xmalloc.lo `test -f '../../gettext-tools/lib/xmalloc.c' || echo '$(srcdir)/'`../../gettext-tools/lib/xmalloc.c + +xstrdup.o: ../../gettext-tools/lib/xstrdup.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xstrdup.o `test -f '../../gettext-tools/lib/xstrdup.c' || echo '$(srcdir)/'`../../gettext-tools/lib/xstrdup.c + +xstrdup.obj: ../../gettext-tools/lib/xstrdup.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xstrdup.obj `if test -f '../../gettext-tools/lib/xstrdup.c'; then $(CYGPATH_W) '../../gettext-tools/lib/xstrdup.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/xstrdup.c'; fi` + +xstrdup.lo: ../../gettext-tools/lib/xstrdup.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xstrdup.lo `test -f '../../gettext-tools/lib/xstrdup.c' || echo '$(srcdir)/'`../../gettext-tools/lib/xstrdup.c + +xreadlink.o: ../../gettext-tools/lib/xreadlink.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xreadlink.o `test -f '../../gettext-tools/lib/xreadlink.c' || echo '$(srcdir)/'`../../gettext-tools/lib/xreadlink.c + +xreadlink.obj: ../../gettext-tools/lib/xreadlink.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xreadlink.obj `if test -f '../../gettext-tools/lib/xreadlink.c'; then $(CYGPATH_W) '../../gettext-tools/lib/xreadlink.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-tools/lib/xreadlink.c'; fi` + +xreadlink.lo: ../../gettext-tools/lib/xreadlink.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xreadlink.lo `test -f '../../gettext-tools/lib/xreadlink.c' || echo '$(srcdir)/'`../../gettext-tools/lib/xreadlink.c + mostlyclean-libtool: -rm -f *.lo @@ -309,6 +450,7 @@ top_distdir = .. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) + $(mkinstalldirs) $(distdir)/../../gettext-tools/lib @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ @@ -356,6 +498,7 @@ install-strip: `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: @@ -423,6 +566,18 @@ uninstall-am: uninstall-info-am mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \ pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am + +# The following is needed in order to create an when the system +# doesn't have one that works. +all-local $(libgrt_a_OBJECTS): @STDBOOL_H@ +stdbool.h: ../../gettext-tools/lib/stdbool.h.in + sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/../../gettext-tools/lib/stdbool.h.in > stdbool.h + +# The following is needed in order to create an when the system +# doesn't have one that works with the given compiler. +all-local $(libgrt_a_OBJECTS): @ALLOCA_H@ +alloca.h: ../../gettext-tools/lib/alloca_.h + cp $(srcdir)/../../gettext-tools/lib/alloca_.h alloca.h # 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/gettext-runtime/libasprintf/Makefile.in b/gettext-runtime/libasprintf/Makefile.in index a37093fab..ac32fb1e7 100644 --- a/gettext-runtime/libasprintf/Makefile.in +++ b/gettext-runtime/libasprintf/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -52,11 +54,13 @@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ +CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ # Documentation in Postscript format. @@ -67,6 +71,8 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -79,6 +85,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = env LANG= LANGUAGE= @MAKEINFO@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -97,8 +104,13 @@ STRIP = @STRIP@ # Documentation in Portable Document Format. TEXI2PDF = @TEXI2PDF@ VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ @@ -106,6 +118,7 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -139,23 +152,10 @@ AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies ACLOCAL_AMFLAGS = -I ../../config/m4 -I ../m4 # >>> gnulib module alloca. -EXTRA_DIST = $(lib_asprintf_EXTRASOURCES) alloca_.h texi2html autosprintf.html - -# Temporary index files. automake doesn't remove them reliably by itself. -MOSTLYCLEANFILES = alloca.h \ - autosprintf.am autosprintf.ams \ - autosprintf.cp autosprintf.cps \ - autosprintf.ef autosprintf.efs \ - autosprintf.em autosprintf.ems \ - autosprintf.ev autosprintf.evs \ - autosprintf.fn autosprintf.fns \ - autosprintf.kw autosprintf.kws \ - autosprintf.ky autosprintf.kys \ - autosprintf.op autosprintf.ops \ - autosprintf.pg autosprintf.pgs \ - autosprintf.tp autosprintf.tps \ - autosprintf.vr autosprintf.vrs +EXTRA_DIST = autosprintf.h.in $(lib_asprintf_EXTRASOURCES) alloca_.h texi2html autosprintf.html Makefile.vms config.h_vms README.woe32 Makefile.msvc config.h.msvc autosprintf.h.msvc-shared windows/dllexport.h windows/asprintf.rc +# Temporary index files. automake removes only the predefined ones by itself. +MOSTLYCLEANFILES = autosprintf.h alloca.h # Library include file. @@ -180,7 +180,7 @@ lib_asprintf_EXTRASOURCES = \ # Documentation. -docdir = $(prefix)/doc/@PACKAGE@ +docdir = $(datadir)/doc/@PACKAGE@ dvidir = $(docdir) psdir = $(docdir) pdfdir = $(docdir) @@ -234,14 +234,15 @@ PSS = autosprintf.ps TEXINFOS = autosprintf.texi HEADERS = $(include_HEADERS) -DIST_COMMON = README $(include_HEADERS) ../../config/config.guess \ - ../../config/config.rpath ../../config/config.sub \ - ../../config/elisp-comp ../../config/install-sh \ - ../../config/ltmain.sh ../../config/mdate-sh \ - ../../config/missing ../../config/mkinstalldirs \ - ../../config/texinfo.tex ../../config/ylwrap AUTHORS COPYING \ - COPYING.LIB ChangeLog INSTALL Makefile.am Makefile.in NEWS \ - aclocal.m4 config.h.in configure configure.ac +DIST_COMMON = README $(include_HEADERS) ../../config/compile \ + ../../config/config.guess ../../config/config.rpath \ + ../../config/config.sub ../../config/elisp-comp \ + ../../config/install-sh ../../config/ltmain.sh \ + ../../config/mdate-sh ../../config/missing \ + ../../config/mkinstalldirs ../../config/texinfo.tex \ + ../../config/ylwrap AUTHORS COPYING COPYING.LIB ChangeLog \ + INSTALL Makefile.am Makefile.in NEWS aclocal.m4 config.h.in \ + configure configure.ac SOURCES = $(libasprintf_la_SOURCES) all: config.h @@ -263,7 +264,7 @@ $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): configure.ac ../../config/m4/fixautomake.m4 ../../config/m4/libtool.m4 ../m4/ansi-c++.m4 ../m4/codeset.m4 ../m4/error.m4 ../m4/gettext.m4 ../m4/glibc21.m4 ../m4/iconv.m4 ../m4/intdiv0.m4 ../m4/intmax.m4 ../m4/inttypes-pri.m4 ../m4/inttypes.m4 ../m4/inttypes_h.m4 ../m4/isc-posix.m4 ../m4/lcmessage.m4 ../m4/longdouble.m4 ../m4/longlong.m4 ../m4/progtest.m4 ../m4/signed.m4 ../m4/stdint_h.m4 ../m4/uintmax_t.m4 ../m4/ulonglong.m4 ../m4/wchar_t.m4 ../m4/wint_t.m4 +$(ACLOCAL_M4): configure.ac ../../config/m4/fixautomake.m4 ../../config/m4/libtool.m4 ../m4/ansi-c++.m4 ../m4/codeset.m4 ../m4/gettext.m4 ../m4/glibc21.m4 ../m4/iconv.m4 ../m4/intdiv0.m4 ../m4/intmax.m4 ../m4/inttypes-pri.m4 ../m4/inttypes.m4 ../m4/inttypes_h.m4 ../m4/isc-posix.m4 ../m4/lcmessage.m4 ../m4/longdouble.m4 ../m4/longlong.m4 ../m4/nls.m4 ../m4/po.m4 ../m4/progtest.m4 ../m4/signed.m4 ../m4/stdint_h.m4 ../m4/uintmax_t.m4 ../m4/ulonglong.m4 ../m4/wchar_t.m4 ../m4/wint_t.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @@ -347,7 +348,7 @@ distclean-libtool: -rm -f libtool .texi.info: - @rm -f $@ $@-[0-9] $@-[0-9][0-9] + @rm -f $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9] $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ -o $@ `test -f '$<' || echo '$(srcdir)/'`$< @@ -377,9 +378,10 @@ uninstall-info-am: @list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ + relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ (if cd $(DESTDIR)$(infodir); then \ - echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9])"; \ - rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9]; \ + echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \ + rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ else :; fi); \ done @@ -403,11 +405,10 @@ mostlyclean-aminfo: autosprintf.dvi autosprintf.pdf autosprintf.ps maintainer-clean-aminfo: - list='$(INFO_DEPS)'; for i in $$list; do \ - rm -f $$i; \ - if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ - rm -f $$i-[0-9]*; \ - fi; \ + @list='$(INFO_DEPS)'; for i in $$list; do \ + i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \ + echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \ + rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \ done includeHEADERS_INSTALL = $(INSTALL_HEADER) install-includeHEADERS: $(include_HEADERS) @@ -498,7 +499,7 @@ distcleancheck_listfiles = find . -type f -print distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) - $(mkinstalldirs) $(distdir)/../../config + $(mkinstalldirs) $(distdir)/../../config $(distdir)/windows @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ @@ -527,7 +528,7 @@ distdir: $(DISTFILES) done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-info + dist-info dist-hook -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 \ @@ -548,12 +549,12 @@ distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/=build - mkdir $(distdir)/=inst + mkdir $(distdir)/_build + mkdir $(distdir)/_inst chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/=build \ + && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ @@ -602,6 +603,9 @@ check: check-am all-am: Makefile $(INFO_DEPS) $(LTLIBRARIES) $(HEADERS) config.h \ all-local +installdirs: installdirs-local + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) $(DESTDIR)$(includedir) + install: install-am install-exec: install-exec-am install-data: install-data-am @@ -659,7 +663,9 @@ install-info-am: $(INFO_DEPS) @list='$(INFO_DEPS)'; \ for file in $$list; do \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ - for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \ + file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \ + for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ + $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ if test -f $$ifile; then \ relfile=`echo "$$ifile" | sed 's|^.*/||'`; \ echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \ @@ -720,6 +726,13 @@ uninstall-am: uninstall-includeHEADERS uninstall-info-am \ uninstall-includeHEADERS uninstall-info-am \ uninstall-libLTLIBRARIES uninstall-local + +all-local $(libasprintf_la_OBJECTS): autosprintf.h +autosprintf.h: autosprintf.h.in + cp $(srcdir)/autosprintf.h.in autosprintf.h + +dist-hook: + rm -f $(distdir)/autosprintf.h lib-asprintf.lo: $(lib_asprintf_EXTRASOURCES) # The following is needed in order to create an when the system @@ -802,8 +815,46 @@ installdirs-html: uninstall-html: $(RM) $(DESTDIR)$(htmldir)/autosprintf.html -# One more automake bug. -installdirs: installdirs-local +# VMS support. + +config.h_vms: config.h.in + (echo '#include '; \ + sed -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \ + -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \ + -e 's/#undef HAVE_LONG_DOUBLE$$/#define HAVE_LONG_DOUBLE 1/' \ + -e 's/#undef HAVE_LONG_LONG$$/#define HAVE_LONG_LONG 1/' \ + -e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \ + -e 's/#undef HAVE_PTRDIFF_T$$/#define HAVE_PTRDIFF_T 1/' \ + -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \ + -e 's/#undef HAVE_STRINGS_H$$/#define HAVE_STRINGS_H 1/' \ + -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ + -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \ + -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \ + -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \ + -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \ + -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ + -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ + < $<; echo; echo '#define alloca __ALLOCA') > $@ + +# Woe32 support. + +config.h.msvc: config.h.in + (sed -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_LONG_DOUBLE$$/#define HAVE_LONG_DOUBLE 1/' \ + -e 's/#undef HAVE_PTRDIFF_T$$/#define HAVE_PTRDIFF_T 1/' \ + -e 's/#undef HAVE_SNPRINTF$$/#define HAVE_SNPRINTF 1/' \ + -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \ + -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ + -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \ + -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ + < $<; echo; echo '#define snprintf _snprintf') > $@ + +autosprintf.h.msvc-shared: autosprintf.h.in windows/dllexport.h + sed -e 's/extern \([^"]\)/extern LIBASPRINTF_DLL_EXPORTED \1/' \ + -e 's/class /class LIBASPRINTF_DLL_EXPORTED /' \ + -e 's/struct /struct LIBASPRINTF_DLL_EXPORTED /' \ + -e '/#define _AUTOSPRINTF_H/r windows/dllexport.h' < $< > $@ # 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/gettext-runtime/libasprintf/aclocal.m4 b/gettext-runtime/libasprintf/aclocal.m4 index ac3b01348..1513d3a0f 100644 --- a/gettext-runtime/libasprintf/aclocal.m4 +++ b/gettext-runtime/libasprintf/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) + +# serial 5 -*- Autoconf -*- -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -809,15 +850,63 @@ AC_PREREQ([2.52]) # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +# serial 47 AC_PROG_LIBTOOL -# The next line was added by Bruno Haible 2001-06-08. -builtin([undefine],[symbols]) -# serial 46 AC_PROG_LIBTOOL +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + +# AC_PROG_LIBTOOL +# --------------- AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -828,10 +917,13 @@ AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) -]) +])# _AC_PROG_LIBTOOL + +# AC_LIBTOOL_SETUP +# ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.13)dnl +[AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl @@ -841,382 +933,221 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl -AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi ;; esac -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -AC_ARG_ENABLE(libtool-lock, - [ --disable-libtool-lock avoid locking (might break parallel builds)]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_SAVE - AC_LANG_C - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_RESTORE]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Constants: +rm="rm -f" -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) - - case $host/$CC in - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) - # old mingw systems require "-dll" to link a DLL, while more recent ones - # require "-mdll" - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mdll" - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) - CFLAGS="$SAVE_CFLAGS" ;; - *-*-cygwin* | *-*-pw32*) - # cygwin systems need to pass --dll to the linker, and not link - # crt.o which will require a WinMain@16 definition. - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi ;; - ]) esac -_LT_AC_LTCONFIG_HACK - -]) +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) -# AC_LIBTOOL_HEADER_ASSERT -# ------------------------ -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], -[AC_CACHE_CHECK([whether $CC supports assert without backlinking], - [lt_cv_func_assert_works], - [case $host in - *-*-solaris*) - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) lt_cv_func_assert_works=no ;; - *) lt_cv_func_assert_works=yes ;; - esac - fi - ;; - esac]) +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -if test "x$lt_cv_func_assert_works" = xyes; then - AC_CHECK_HEADERS(assert.h) -fi -])# AC_LIBTOOL_HEADER_ASSERT +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h) -])# _LT_AC_CHECK_DLFCN +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[[ABCDGISTW]]' +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat < conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[[]] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC - fi - else - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC - fi - else - echo "$progname: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR -# --------------------------------- -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -1253,7 +1185,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -1326,17 +1258,291 @@ if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then fi AC_SUBST(ECHO) -AC_DIVERT_POP -])# _LT_AC_PROG_ECHO_BACKSLASH +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[if test "$cross_compiling" = yes; then : +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : [$4] else - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext </dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl -old_CC="$CC" -old_CFLAGS="$CFLAGS" +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs else - ac_tool_prefix= + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi - ;; -esac +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -if test -n "$RANLIB"; then + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + esac fi +])# AC_LIBTOOL_SYS_LIB_STRIP -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="[$]2" -AC_MSG_CHECKING([for objdir]) -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi -rmdir .libs 2>/dev/null -AC_MSG_RESULT($objdir) - +need_lib_prefix=unknown +hardcode_into_libs=no -AC_ARG_WITH(pic, -[ --with-pic try to use only PIC/non-PIC objects [default=use both]], -pic_mode="$withval", pic_mode=default) -test -z "$pic_mode" && pic_mode=default +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -AC_MSG_CHECKING([for $compiler option to produce PIC]) -AC_CACHE_VAL(lt_cv_prog_cc_pic, -[ lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - # PORTME Check for PIC flags for the system compiler. + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + can_build_shared=no fi ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; + esac + ;; - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; +freebsd1*) + dynamic_linker=no + ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' - fi + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; *) - lt_cv_prog_cc_can_build_shared=no - ;; - esac - fi -]) -if test -z "$lt_cv_prog_cc_pic"; then - AC_MSG_RESULT([none]) -else - AC_MSG_RESULT([$lt_cv_prog_cc_pic]) - - # Check to make sure the pic_flag actually works. - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - AC_TRY_COMPILE([], [], [dnl - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - ], [dnl - lt_cv_prog_cc_pic_works=no - ]) - CFLAGS="$save_CFLAGS" - ]) - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) -fi +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : - else - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) - lt_cv_prog_cc_can_build_shared=no - fi -fi +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) - LDFLAGS="$save_LDFLAGS" -]) + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) -AC_CACHE_VAL([lt_cv_compiler_c_o], [ -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' else - lt_cv_compiler_c_o=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&AC_FD_CC - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null -]) -compiler_c_o=$lt_cv_compiler_c_o -AC_MSG_RESULT([$compiler_c_o]) - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) - AC_CACHE_VAL([lt_cv_compiler_o_lo], [ - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - ]) - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - ]) - compiler_o_lo=$lt_cv_compiler_o_lo - AC_MSG_RESULT([$compiler_o_lo]) -else - compiler_o_lo=no -fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - ]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$compiler_rtti_exceptions]) +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else - no_builtin_flag=' -fno-builtin' + shlibpath_overrides_runpath=yes fi -fi + ;; -# See if the linker supports building shared libraries. -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no fi + need_version=yes ;; -openbsd*) - with_gnu_ld=no + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac ;; -esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER -EOF - ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else - ld_shlibs=no + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi - ;; + fi - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ - ;; + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; esac - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 - - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" fi - ;; - esac + fi + done + IFS="$lt_save_ifs" - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; +fi +])# _LT_AC_TAGCONFIG - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes fi - fi - fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[[012]]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC - freebsd1*) - ld_shlibs=no - ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [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]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' +EOF + fi ;; + esac + fi + break fi - hardcode_libdir_separator=: - ;; + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) - cat <&2 +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. -EOF - no_undefined_flag= +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +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 $CC]) + 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. + [[\\/]]* | ?:[[\\/]]*) + 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(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 &1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics -AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; +freebsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH + else + lt_cv_deplibs_check_method=pass_all fi - hardcode_into_libs=yes - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH ;; -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs +gnu*) + lt_cv_deplibs_check_method=pass_all ;; -cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5* | nonstopux*) - libsuff= shlibsuff= + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ;; esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes ;; -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx) + lt_cv_deplibs_check_method=unknown ;; openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' else - shlibpath_overrides_runpath=yes + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; - -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH + lt_cv_deplibs_check_method=pass_all ;; solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; *) - dynamic_linker=no + AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi -# Report the final consequences. + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) @@ -3147,6 +3376,34 @@ aix4*) test "$enable_shared" = yes && enable_static=no fi ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; esac AC_MSG_RESULT([$enable_shared]) @@ -3155,210 +3412,1419 @@ AC_MSG_CHECKING([whether to build static libraries]) test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi +AC_LIBTOOL_CONFIG($1) -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG -AC_LIBTOOL_DLOPEN_SELF -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], - [$rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile); then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - ]) - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" +if test "$GXX" = yes; then + # Set up default GNU C++ configuration - echo creating $ofile + AC_PROG_LD - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - cat <<__EOF__ > "${ofile}T" -#! $SHELL + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= -# A sed that does not truncate output. -SED=$lt_SED + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +else + GXX=no + with_gnu_ld=no + wlarc= +fi -# ### BEGIN LIBTOOL CONFIG +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -# Whether or not to build static libraries. -build_old_libs=$enable_static + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -# The host system. -host_alias=$host_alias -host=$host + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' -# The default C compiler. -CC=$lt_CC + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; -# Is the compiler the GNU C compiler? -with_gcc=$GCC + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac -# The linker used to build libraries. -LD=$lt_LD + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler -# Whether we need hard or soft links. -LN_S=$lt_LN_S + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -# A BSD-compatible nm program. -NM=$lt_NM + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -# A symbol stripping program -STRIP=$STRIP + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' -# Used to examine libraries when file_magic_cmd begins "file" + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. @@ -3378,7 +4844,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" @@ -3386,18 +4852,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -3418,19 +4887,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type @@ -3447,37 +4916,61 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -3486,13 +4979,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -3504,36 +4997,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -3542,30 +5044,33 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) -# ### END LIBTOOL CONFIG +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ +ifelse([$1],[], [ case $host_os in aix3*) - cat <<\EOF >> "${ofile}T" + cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems @@ -3574,186 +5079,6 @@ if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi -EOF - ;; - esac - - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi +])# AC_LIBTOOL_CONFIG -])# _LT_AC_LTCONFIG_HACK -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -# AC_ENABLE_SHARED - implement the --enable-shared flag -# Usage: AC_ENABLE_SHARED[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(shared, -changequote(<<, >>)dnl -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl -]) +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no)]) + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI -# AC_ENABLE_STATIC - implement the --enable-static flag -# Usage: AC_ENABLE_STATIC[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(static, -changequote(<<, >>)dnl -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl -]) -# AC_DISABLE_STATIC - set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no)]) +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(fast-install, -changequote(<<, >>)dnl -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl -]) +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no)]) +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' -# AC_LIBTOOL_PICMODE - implement the --with-pic flag -# Usage: AC_LIBTOOL_PICMODE[(MODE)] -# Where MODE is either `yes' or `no'. If omitted, it defaults to -# `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default)]) +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -]) + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif -# AC_PATH_MAGIC - find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) - else - MAGIC_CMD=: - fi -fi -]) +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_ARG_WITH(gnu-ld, -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -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(lt_cv_path_LD, -[if test -z "$LD"; then - IFS="${IFS= }"; ac_save_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 - lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi else - test "$with_gnu_ld" != yes && break + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi - done - IFS="$ac_save_ifs" -else - lt_cv_path_LD="$LD" # Let the user override the test with a path. -fi]) -LD="$lt_cv_path_LD" -if test -n "$LD"; then - AC_MSG_RESULT($LD) + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) else - AC_MSG_RESULT(no) + AC_MSG_RESULT(ok) fi -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU -]) +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# AC_PROG_LD_GNU - -AC_DEFUN([AC_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes -else - lt_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$lt_cv_prog_gnu_ld + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, -[lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac ]) -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; -beos*) - lt_cv_deplibs_check_method=pass_all +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; - -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; - -cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -darwin* | rhapsody*) - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + openbsd*) + with_gnu_ld=no ;; esac - ;; -freebsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi ;; esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi else - lt_cv_deplibs_check_method=pass_all - fi - ;; + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; -# This must be Linux ELF. -linux-gnu*) - case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - ;; + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' - fi - ;; + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' - fi - ;; + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -sysv5uw[[78]]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -]) + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; -# AC_PROG_NM - find the path to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -AC_MSG_CHECKING([for BSD-compatible nm]) -AC_CACHE_VAL(lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi - fi - done - IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -AC_MSG_RESULT([$NM]) + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi ]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -# AC_CHECK_LIBM - check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32*) - # These system don't have libm - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, main, LIBM="-lm") +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi ;; esac -]) +])# AC_LIBTOOL_PROG_LD_SHLIBS -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and LTDLINCL are not -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed -# with '${top_srcdir}/' (note the single quotes!). If your package is -# not flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, main, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) + # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) @@ -4371,6 +6623,16 @@ AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # @@ -4384,79 +6646,51 @@ AC_DEFUN([LT_AC_PROG_SED], AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" 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_prog in sed gsed; do + for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done done - rm -rf "$tmp" +done +SED=$lt_cv_path_SED ]) -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi AC_MSG_RESULT([$SED]) ]) @@ -4480,8 +6714,8 @@ AC_DEFUN([bh_C_SIGNED], fi ]) -# longlong.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# longlong.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -4508,8 +6742,8 @@ AC_DEFUN([gt_TYPE_LONGLONG], fi ]) -# longdouble.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# longdouble.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -4539,8 +6773,8 @@ AC_DEFUN([gt_TYPE_LONGDOUBLE], fi ]) -# wchar_t.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# wchar_t.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -4562,7 +6796,7 @@ AC_DEFUN([gt_TYPE_WCHAR_T], fi ]) -# wint_t.m4 serial 1 +# wint_t.m4 serial 1 (gettext-0.12) dnl Copyright (C) 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 @@ -4585,8 +6819,8 @@ AC_DEFUN([gt_TYPE_WINT_T], fi ]) -# intmax.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# intmax.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -4618,8 +6852,8 @@ AC_DEFUN([gt_TYPE_INTMAX_T], fi ]) -# inttypes_h.m4 serial 5 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# inttypes_h.m4 serial 5 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -4647,8 +6881,8 @@ AC_DEFUN([jm_AC_HEADER_INTTYPES_H], fi ]) -# stdint_h.m4 serial 3 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# stdint_h.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -4676,8 +6910,8 @@ AC_DEFUN([jm_AC_HEADER_STDINT_H], fi ]) -# fixautomake.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# fixautomake.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -4698,7 +6932,7 @@ AC_DEFUN([FIX_MAKEFILE_DISTRIB], [ mv $1.tmp $1 ]) -dnl Fix an automake-1-5.1.7.2 bug: all info files are erased by "make". +dnl Fix an automake-1.5-1.7.2 bug: all info files are erased by "make". AC_DEFUN([FIX_MAKEFILE_INFO], [ sed -e '/@rm -f \$''@/d' < $1 > $1.tmp mv $1.tmp $1 diff --git a/gettext-runtime/libasprintf/autosprintf.html b/gettext-runtime/libasprintf/autosprintf.html index 651acfb87..1c90be994 100644 --- a/gettext-runtime/libasprintf/autosprintf.html +++ b/gettext-runtime/libasprintf/autosprintf.html @@ -1,7 +1,7 @@ + from autosprintf.texi on 25 Febuary 2003 --> GNU autosprintf @@ -133,7 +133,7 @@ it provides.


-This document was generated on 27 October 2002 using the +This document was generated on 25 Febuary 2003 using the texi2html translator version 1.52a.

diff --git a/gettext-runtime/libasprintf/configure b/gettext-runtime/libasprintf/configure index 0c4470f36..82be4f939 100755 --- a/gettext-runtime/libasprintf/configure +++ b/gettext-runtime/libasprintf/configure @@ -240,17 +240,6 @@ IFS=" $as_nl" $as_unset CDPATH -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -269,7 +258,7 @@ if test "X$1" = X--no-reexec; then elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else @@ -281,7 +270,7 @@ if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -325,7 +315,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -399,6 +389,11 @@ fi + +tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + +tagnames=`echo "$tagnames,F77" | sed 's/^,//'` + # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. @@ -467,7 +462,7 @@ ac_includes_default="\ # 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 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 AWK SET_MAKE 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL ALLOCA ALLOCA_H DVIPS TEXI2PDF PERL LIBOBJS LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ALLOCA ALLOCA_H DVIPS TEXI2PDF PERL LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -936,6 +931,18 @@ ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. @@ -1017,16 +1024,22 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared=PKGS build shared libraries default=yes - --enable-static=PKGS build static libraries default=yes - --enable-fast-install=PKGS optimize for fast installation default=yes + --enable-shared[=PKGS] + build shared libraries [default=yes] + --enable-static[=PKGS] + build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) 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-pic try to use only PIC/non-PIC objects default=use both + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] + include additional configurations [automatic] Some influential environment variables: CC C compiler command @@ -1038,6 +1051,9 @@ Some influential environment variables: CXX C++ compiler command CXXFLAGS C++ compiler flags CPP C preprocessor + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1690,6 +1706,15 @@ 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 @@ -2706,16 +2731,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2829,11 +2845,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -3230,11 +3252,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CXX_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi fi done @@ -3399,82 +3427,150 @@ host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_shared=yes fi; + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_static=yes fi; + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_fast_install=yes fi; -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator + +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + +fi + +echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6 + +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 + # Check whether --with-gnu-ld or --without-gnu-ld was given. @@ -3487,8 +3583,8 @@ 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 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3498,12 +3594,12 @@ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 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'` + 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%/%"` + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -3527,22 +3623,26 @@ if test "${lt_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=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + case `"$lt_cv_path_LD" -v 2>&1 &6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then +case `"$LD" -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 @@ -3586,7 +3689,11 @@ fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -3597,120 +3704,42 @@ else # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac fi done - IFS="$ac_save_ifs" + IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi - +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" - -fi - -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi -echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 @@ -3738,7 +3767,7 @@ lt_cv_deplibs_check_method='unknown' # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. +# which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -3758,21 +3787,24 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac + lt_cv_deplibs_check_method=pass_all ;; freebsd*) @@ -3795,10 +3827,22 @@ gnu*) lt_cv_deplibs_check_method=pass_all ;; -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' +hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) @@ -3823,9 +3867,9 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux-gnu*) +linux*) case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -3836,9 +3880,9 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; @@ -3848,6 +3892,10 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` @@ -3874,10 +3922,6 @@ solaris*) lt_cv_file_magic_test_file=/lib/libc.so ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) @@ -3901,6 +3945,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ;; esac ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; esac fi @@ -3908,336 +3956,460 @@ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} +# Allow CC to be a program name with arguments. +compiler=$CC +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:$LINENO: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris* | sysv5*) - symcode='[BDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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 + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[ABCDGISTW]' -fi - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - rm -f conftest* - cat > conftest.$ac_ext < conftest.$ac_ext 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 - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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); } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= + (exit $ac_status); }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac fi -done - -fi + rm -rf conftest* + ;; -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6 +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 -fi - -ac_ext=c + 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 + + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* 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 - 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 +int +main () +{ - # OK, works on sane cases. Now check whether non-existent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include + ; + return 0; +} _ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 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 - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - # Broken: success on invalid input. -continue + (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 + lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break +lt_cv_cc_needs_belf=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.$ac_objext conftest$ac_exeext 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 +fi +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*-cygwin* | *-*-mingw* | *-*-pw32*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi 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 +done + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + echo "$as_me:$LINENO: result: $DLLTOOL" >&5 +echo "${ECHO_T}$DLLTOOL" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - done - ac_cv_prog_CPP=$CPP +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; 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_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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_DLLTOOL="dlltool" + 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_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" fi - CPP=$ac_cv_prog_CPP +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 else - ac_cv_prog_CPP=$CPP + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6 -ac_preproc_ok=false + + DLLTOOL=$ac_ct_DLLTOOL +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. +set dummy ${ac_tool_prefix}as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AS"; then + ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AS=$ac_cv_prog_AS +if test -n "$AS"; then + echo "$as_me:$LINENO: result: $AS" >&5 +echo "${ECHO_T}$AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AS"; then + ac_ct_AS=$AS + # Extract the first word of "as", so it can be a program name with args. +set dummy as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AS"; then + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # 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_AS="as" + 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_AS" && ac_cv_prog_ac_ct_AS="false" +fi +fi +ac_ct_AS=$ac_cv_prog_ac_ct_AS +if test -n "$ac_ct_AS"; then + echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 +echo "${ECHO_T}$ac_ct_AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AS=$ac_ct_AS +else + AS="$ac_cv_prog_AS" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + echo "$as_me:$LINENO: result: $OBJDUMP" >&5 +echo "${ECHO_T}$OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_OBJDUMP="objdump" + 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_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + OBJDUMP=$ac_ct_OBJDUMP +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + + ;; + +esac + +need_locks="$enable_libtool_lock" + + +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 @@ -4331,53 +4503,145 @@ 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; }; } + break 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 - + done + ac_cv_prog_CPP=$CPP -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 + CPP=$ac_cv_prog_CPP else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include + 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 +#line $LINENO "configure" +/* 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 + 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 +#line $LINENO "configure" +/* 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 + 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 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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include int main () @@ -4727,198 +4991,253 @@ fi done - - - - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 +if test -z "$ac_cpp_err"; then + : else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 + 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 -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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_cxx_preproc_warn_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 -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac +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 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 + ac_cv_prog_CXXCPP=$CXXCPP fi - +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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 +#line $LINENO "configure" +/* 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_cxx_preproc_warn_flag else - MAGIC_CMD=: + 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 - fi - ;; -esac + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext -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 + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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_cxx_preproc_warn_flag + else + ac_cpp_err= + fi else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue 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 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + # Passes both tests. +ac_preproc_ok=: +break fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - echo "$as_me:$LINENO: result: $RANLIB" >&5 -echo "${ECHO_T}$RANLIB" >&6 +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: result: no" >&5 -echo "${ECHO_T}no" >&6 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } 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 +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 + 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_ac_ct_RANLIB+set}" = set; then +if test "${ac_cv_prog_F77+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. + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4927,40 +5246,40 @@ do 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" + ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 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 +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&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" + test -n "$F77" && break + done fi - -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 +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 +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_STRIP+set}" = set; then +if test "${ac_cv_prog_ac_ct_F77+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. + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -4969,7 +5288,7 @@ do 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" + ac_cv_prog_ac_ct_F77="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4978,658 +5297,10481 @@ 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 +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi + test -n "$ac_ct_F77" && break +done + + F77=$ac_ct_F77 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 - - -enable_dlopen=no -enable_win32_dll=no - -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" -fi; -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 5050 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +# Provide some information about the compiler. +echo "$as_me:5317:" \ + "checking for Fortran 77 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); }; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; + (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); } -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. +ac_save_ext=$ac_ext +ac_ext=F +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif - - 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 - - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ + end _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +rm -f conftest.$ac_objext +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); } && + { 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 -int -main () -{ +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 +ac_ext=$ac_save_ext +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main - ; - return 0; -} + end _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - lt_cv_cc_needs_belf=yes + ac_cv_prog_f77_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -lt_cv_cc_needs_belf=no +ac_cv_prog_f77_g=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - ac_ext=c +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "$G77" = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "$G77" = yes; then + FFLAGS="-O2" + else + FFLAGS= + fi +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 + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac + fi -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" + +if test -n $lt_cv_sys_max_cmd_len ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDT]' + ;; +sysv4) + symcode='[DFNSTU]' ;; +esac +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGISTW]' ;; esac -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + # Check to see that the pipe works correctly. + pipe_works=no -# Constants: -rm="rm -f" + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + 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); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6 +else + echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 +fi + +echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6 +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" + 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_AR" && ac_cv_prog_ac_ct_AR="false" +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AR=$ac_ct_AR +else + AR="$ac_cv_prog_AR" +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 + +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 + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=yes + +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +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 + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6322: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6326: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6554: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:6558: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:6621: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:6625: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6 +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6 + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + tagnames="$withval" +fi; + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# 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; +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 $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $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. + [\\/]* | ?:[\\/]*) + 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 "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &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 "${lt_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}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10875: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:10879: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:10942: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:10946: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6 + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13117: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:13121: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13184: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:13188: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6 +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6 + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" -old_CC="$CC" -old_CFLAGS="$CFLAGS" +# Source file extension for Java test sources. +ac_ext=java -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- -else - ac_tool_prefix= -fi +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac +# ltmain only uses $CC for tagged configurations so make sure $CC is set. -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi # Allow CC to be a program name with arguments. -set dummy $CC -compiler="$2" +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC -echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15136: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15140: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + fi -rmdir .libs 2>/dev/null -echo "$as_me:$LINENO: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi +fi -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" -else - pic_mode=default -fi; -test -z "$pic_mode" && pic_mode=default +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi ;; + amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' + lt_prog_compiler_pic_GCJ='-fno-common' ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no ;; + sysv4*MP*) if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic + lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + *) - lt_cv_prog_cc_pic='-fPIC' + lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else - # PORTME Check for PIC flags for the system compiler. + # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_static_GCJ='-Bstatic' else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac ;; osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' + lt_prog_compiler_static_GCJ='-non_shared' ;; sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' ;; solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' fi ;; + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + *) - lt_cv_prog_cc_can_build_shared=no + lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi -fi - -if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -else - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 - # Check to make sure the pic_flag actually works. - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15368: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15372: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_prog_cc_pic_works=no - + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15435: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15439: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi - - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : - else - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} - lt_cv_prog_cc_can_build_shared=no + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn fi +else + need_locks=no fi -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. -int -main () -{ +EOF + fi + ;; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext 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='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 - lt_cv_prog_cc_static_works=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; -fi + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; -# Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:5592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi + fi else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&5 - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; -fi + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:$LINENO: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - cat >conftest.$ac_ext <<_ACEOF + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -5640,81 +15782,47 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -int some_variable = 0; + ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - -fi - - compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 -else - compiler_o_lo=no -fi - -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6 - if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - cat >conftest.$ac_ext <<_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -5725,775 +15833,553 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -int some_variable = 0; + ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 - - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi -fi - -# See if the linker supports building shared libraries. -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= - -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac - -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi ;; - esac - - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 - - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi - - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi - ;; - esac - fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported + module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes fi - ;; + ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + freebsd1*) + ld_shlibs_GCJ=no + ;; - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi - fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac fi - fi - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' + + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; - freebsd1*) - ld_shlibs=no - ;; + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_GCJ=yes + ;; - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; esac - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [12].*) - cat <&2 + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; -EOF - no_undefined_flag= - ;; - esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; + *) + ld_shlibs_GCJ=no + ;; esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + fi - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6 +test "$ld_shlibs_GCJ" = no && can_build_shared=no - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext - *) - ld_shlibs=no - ;; - esac -fi -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 -test "$ld_shlibs" = no && can_build_shared=no + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 + ;; + esac + fi + ;; +esac -# Check hardcoding attributes. echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && + if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. - hardcode_action=relink + hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate + hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. - hardcode_action=unsupported + hardcode_action_GCJ=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless fi -echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 striplib= old_striplib= @@ -6505,19 +16391,31 @@ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -# PORTME Fill in your ld.so characteristics echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= +shrext=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= @@ -6527,16 +16425,35 @@ shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown case $host_os in aix3*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) @@ -6546,7 +16463,7 @@ aix4* | aix5*) hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file @@ -6556,33 +16473,31 @@ aix4* | aix5*) # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' + soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi - hardcode_into_libs=yes ;; amigaos*) @@ -6592,7 +16507,7 @@ amigaos*) ;; beos*) - library_names_spec='${libname}.so' + library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; @@ -6600,13 +16515,12 @@ beos*) bsdi4*) version_type=linux need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs @@ -6614,29 +16528,55 @@ bsdi4*) cygwin* | mingw* | pw32*) version_type=windows + shrext=".dll" need_version=no need_lib_prefix=no + case $GCC,$host_os in - yes,cygwin*) + yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' - ;; + *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' @@ -6652,10 +16592,25 @@ darwin* | rhapsody*) # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) @@ -6666,8 +16621,8 @@ freebsd*-gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes @@ -6679,12 +16634,12 @@ freebsd*) version_type=freebsd-$objformat case $version_type in freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac @@ -6693,7 +16648,11 @@ freebsd*) freebsd2*) shlibpath_overrides_runpath=yes ;; - *) + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; @@ -6704,8 +16663,8 @@ gnu*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; @@ -6713,14 +16672,45 @@ gnu*) hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. - dynamic_linker="$host_os dld.sl" version_type=sunos need_lib_prefix=no need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; @@ -6728,21 +16718,29 @@ hpux9* | hpux10* | hpux11*) irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; esac need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; @@ -6751,20 +16749,21 @@ irix5* | irix6* | nonstopux*) shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) +linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. -linux-gnu*) +linux*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no @@ -6787,12 +16786,12 @@ netbsd*) need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH @@ -6802,7 +16801,17 @@ netbsd*) newsos6) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; @@ -6811,46 +16820,47 @@ openbsd*) version_type=sunos need_lib_prefix=no need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac else shlibpath_overrides_runpath=yes fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH ;; os2*) libname_spec='$name' + shrext=".dll" need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' + library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf + need_lib_prefix=no need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes ;; sco3.2v5*) version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH ;; @@ -6858,8 +16868,8 @@ solaris*) version_type=linux need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes @@ -6869,7 +16879,7 @@ solaris*) sunos4*) version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -6881,8 +16891,8 @@ sunos4*) sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) @@ -6903,31 +16913,22 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) esac ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - sysv4*MP*) if test -d /usr/nec ;then version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + *) dynamic_linker=no ;; @@ -6936,57 +16937,6 @@ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no -# Report the final consequences. -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6 - -echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6 - -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown @@ -7002,9 +16952,82 @@ else lt_cv_dlopen_self=yes ;; - cygwin* | mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + ;; *) @@ -7414,7 +17437,7 @@ fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" @@ -7430,10 +17453,10 @@ else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 - fi +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - $rm conftest* - echo 'static int dummy;' > conftest.$ac_ext +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ - 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 - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ -fi +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the @@ -7707,39 +18052,123 @@ else test -f Makefile && make "$ltmain" fi -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile +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 + +CC="$lt_save_CC" + else + tagname="" + fi + ;; + + RC) + + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; @@ -7749,46 +18178,16 @@ if test -f "$ltmain"; then esac done - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +cfgfile="$ofile" -# ### BEGIN LIBTOOL CONFIG + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: @@ -7802,7 +18201,10 @@ build_libtool_libs=$enable_shared build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install @@ -7818,14 +18220,20 @@ echo=$lt_echo AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS -# The default C compiler. -CC=$lt_CC +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC # Is the compiler the GNU C compiler? -with_gcc=$GCC +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP # The linker used to build libraries. -LD=$lt_LD +LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S @@ -7856,7 +18264,7 @@ reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. -wl=$lt_wl +wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" @@ -7864,18 +18272,21 @@ objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" +# Shared library suffix (normally ".so"). +shrext='$shrext' + # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag +pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation ? need_locks=$lt_need_locks @@ -7896,19 +18307,19 @@ dlopen_self=$enable_dlopen_self dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag +link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type @@ -7925,26 +18336,50 @@ soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds +old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method @@ -7952,10 +18387,10 @@ deplibs_check_method=$lt_deplibs_check_method file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds @@ -7964,13 +18399,13 @@ finish_cmds=$lt_finish_cmds finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var @@ -7982,36 +18417,45 @@ shlibpath_var=$shlibpath_var shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action +hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. -hardcode_direct=$hardcode_direct +hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. -hardcode_minus_L=$hardcode_minus_L +hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs +link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec @@ -8020,234 +18464,72 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms +exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. -include_expsyms=$lt_include_expsyms +include_expsyms=$lt_include_expsyms_RC -# ### END LIBTOOL CONFIG +# ### END LIBTOOL TAG CONFIG: $tagname __EOF__ - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) +CC="$lt_save_CC" - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi @@ -8260,6 +18542,24 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion + + + + + + + + + + + + + + + + + + @@ -10148,6 +20448,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -10178,12 +20479,24 @@ 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,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t +s,@AR@,$AR,;t t +s,@ac_ct_AR@,$ac_ct_AR,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@DLLTOOL@,$DLLTOOL,;t t +s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t +s,@AS@,$AS,;t t +s,@ac_ct_AS@,$ac_ct_AS,;t t +s,@OBJDUMP@,$OBJDUMP,;t t +s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t s,@CPP@,$CPP,;t t -s,@EGREP@,$EGREP,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t s,@ALLOCA@,$ALLOCA,;t t s,@ALLOCA_H@,$ALLOCA_H,;t t @@ -10628,7 +20941,16 @@ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} cat $tmp/config.h rm -f $tmp/config.h fi -_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +# 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\(//\)[^/]' \| \ diff --git a/gettext-runtime/m4/Makefile.in b/gettext-runtime/m4/Makefile.in index 72f534b46..e5c6b425a 100644 --- a/gettext-runtime/m4/Makefile.in +++ b/gettext-runtime/m4/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -38,9 +38,12 @@ POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -57,17 +60,22 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ @@ -77,6 +85,7 @@ HAVE_JAVAC = @HAVE_JAVAC@ HAVE_JAVAC_IN_PATH = @HAVE_JAVAC_IN_PATH@ HAVE_JIKES = @HAVE_JIKES@ HAVE_JIKES_IN_PATH = @HAVE_JIKES_IN_PATH@ +HAVE__BOOL = @HAVE__BOOL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -102,6 +111,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -113,8 +123,13 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ +STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ SUBDIR_libasprintf = @SUBDIR_libasprintf@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -122,12 +137,21 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -163,7 +187,6 @@ target_alias = @target_alias@ EXTRA_DIST = README \ ansi-c++.m4 \ codeset.m4 \ -error.m4 \ gettext.m4 \ glibc21.m4 \ iconv.m4 \ @@ -176,6 +199,8 @@ isc-posix.m4 \ lcmessage.m4 \ longdouble.m4 \ longlong.m4 \ +nls.m4 \ +po.m4 \ progtest.m4 \ signed.m4 \ stdint_h.m4 \ diff --git a/gettext-runtime/man/Makefile.in b/gettext-runtime/man/Makefile.in index eeb9b5b4d..d7002c006 100644 --- a/gettext-runtime/man/Makefile.in +++ b/gettext-runtime/man/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -38,9 +38,12 @@ POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -57,17 +60,22 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ @@ -77,6 +85,7 @@ HAVE_JAVAC = @HAVE_JAVAC@ HAVE_JAVAC_IN_PATH = @HAVE_JAVAC_IN_PATH@ HAVE_JIKES = @HAVE_JIKES@ HAVE_JIKES_IN_PATH = @HAVE_JIKES_IN_PATH@ +HAVE__BOOL = @HAVE__BOOL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -102,6 +111,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -114,8 +124,13 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ +STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ SUBDIR_libasprintf = @SUBDIR_libasprintf@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -124,12 +139,21 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -159,7 +183,7 @@ sharedstatedir = @sharedstatedir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -docdir = $(prefix)/doc/gettext +docdir = $(datadir)/doc/gettext htmldir = $(docdir) localedir = $(datadir)/locale @@ -167,6 +191,12 @@ localedir = $(datadir)/locale AUTOMAKE_OPTIONS = 1.2 gnits +# VMS support. + +# Woe32 support. +EXTRA_DIST = help2man $(man_aux) $(man_MAN1IN) $(man_MAN3) $(man_MAN3IN) $(man_MAN3LINK) $(man_HTMLIN) $(man_HTMLOTHER) Makefile.vms Makefile.msvc + + # A manual page for each of the bin_PROGRAMS in src/Makefile.am. man_aux = gettext.x ngettext.x @@ -191,8 +221,6 @@ gettext.3.html ngettext.3.html \ textdomain.3.html bindtextdomain.3.html bind_textdomain_codeset.3.html man_HTML = $(man_HTMLGEN) $(man_HTMLOTHER) - -EXTRA_DIST = help2man $(man_aux) $(man_MAN1IN) $(man_MAN3) $(man_MAN3IN) $(man_MAN3LINK) $(man_HTMLIN) $(man_HTMLOTHER) CLEANFILES = $(man_MAN1GEN) $(man_HTMLGEN) MAINTAINERCLEANFILES = $(man_MAN1IN) $(man_MAN3) $(man_HTMLIN) $(man_HTMLOTHER) RM = rm -f @@ -367,6 +395,9 @@ check-am: all-am check: check-am all-am: Makefile $(MANS) all-local +installdirs: installdirs-local + $(mkinstalldirs) $(DESTDIR)$(man1dir) $(DESTDIR)$(man3dir) + install: install-am install-exec: install-exec-am install-data: install-data-am @@ -545,9 +576,6 @@ uninstall-html: for file in $(man_HTML); do \ $(RM) $(DESTDIR)$(htmldir)/$$file; \ done - -# One more automake bug. -installdirs: installdirs-local # 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/gettext-runtime/man/bind_textdomain_codeset.3 b/gettext-runtime/man/bind_textdomain_codeset.3 index 7fd761272..d920abb22 100644 --- a/gettext-runtime/man/bind_textdomain_codeset.3 +++ b/gettext-runtime/man/bind_textdomain_codeset.3 @@ -10,7 +10,7 @@ .\" GNU gettext source code and manual .\" LI18NUX 2000 Globalization Specification .\" -.TH BIND_TEXTDOMAIN_CODESET 3 "May 2001" "GNU gettext 0.12-pre1" +.TH BIND_TEXTDOMAIN_CODESET 3 "May 2001" "GNU gettext 0.12" .SH NAME bind_textdomain_codeset \- set encoding of message translations .SH SYNOPSIS diff --git a/gettext-runtime/man/bindtextdomain.3 b/gettext-runtime/man/bindtextdomain.3 index 482909d4d..4e8b7db61 100644 --- a/gettext-runtime/man/bindtextdomain.3 +++ b/gettext-runtime/man/bindtextdomain.3 @@ -10,7 +10,7 @@ .\" GNU gettext source code and manual .\" LI18NUX 2000 Globalization Specification .\" -.TH BINDTEXTDOMAIN 3 "May 2001" "GNU gettext 0.12-pre1" +.TH BINDTEXTDOMAIN 3 "May 2001" "GNU gettext 0.12" .SH NAME bindtextdomain \- set directory containing message catalogs .SH SYNOPSIS diff --git a/gettext-runtime/man/gettext.3 b/gettext-runtime/man/gettext.3 index 8b899ba2d..18ffa813e 100644 --- a/gettext-runtime/man/gettext.3 +++ b/gettext-runtime/man/gettext.3 @@ -10,7 +10,7 @@ .\" GNU gettext source code and manual .\" LI18NUX 2000 Globalization Specification .\" -.TH GETTEXT 3 "May 2001" "GNU gettext 0.12-pre1" +.TH GETTEXT 3 "May 2001" "GNU gettext 0.12" .SH NAME gettext, dgettext, dcgettext \- translate message .SH SYNOPSIS diff --git a/gettext-runtime/man/ngettext.3 b/gettext-runtime/man/ngettext.3 index 1424043dc..fb75b57a7 100644 --- a/gettext-runtime/man/ngettext.3 +++ b/gettext-runtime/man/ngettext.3 @@ -10,7 +10,7 @@ .\" GNU gettext source code and manual .\" LI18NUX 2000 Globalization Specification .\" -.TH NGETTEXT 3 "May 2001" "GNU gettext 0.12-pre1" +.TH NGETTEXT 3 "May 2001" "GNU gettext 0.12" .SH NAME ngettext, dngettext, dcngettext \- translate message and choose plural form .SH SYNOPSIS diff --git a/gettext-runtime/man/textdomain.3 b/gettext-runtime/man/textdomain.3 index a0b6b86f6..2e550fe50 100644 --- a/gettext-runtime/man/textdomain.3 +++ b/gettext-runtime/man/textdomain.3 @@ -10,7 +10,7 @@ .\" GNU gettext source code and manual .\" LI18NUX 2000 Globalization Specification .\" -.TH TEXTDOMAIN 3 "May 2001" "GNU gettext 0.12-pre1" +.TH TEXTDOMAIN 3 "May 2001" "GNU gettext 0.12" .SH NAME textdomain \- set domain for future gettext() calls .SH SYNOPSIS diff --git a/gettext-runtime/po/be.po b/gettext-runtime/po/be.po index 244dabe15..d5305b68d 100644 --- a/gettext-runtime/po/be.po +++ b/gettext-runtime/po/be.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-09-04 18:51+0300\n" "Last-Translator: Ales Nyakhaychyk \n" "Language-Team: Belarusian \n" @@ -15,70 +16,72 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Невядомая сістэмная памылка" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: выбар `%s' неадназначны\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: выбар `--%s' не патрабуе аргумэнтаў\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: выбар `%c%s' не патрабуе аргумэнтаў\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: выбар `%s' патрабуе аргумэнт\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: нераспазнаны выбар `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: нераспазнаны выбар `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: несапраўдны выбар -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: нерэчаісны выбар -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: выбар патрабуе аргумэнт -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: выбар `-W %s' неадназначны\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: выбар `-W %s' не патрабуе аргумэнтаў\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "памяць вычарпана" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,25 +93,25 @@ msgstr "" "пагадненьня аб распаўсюджваньні. Ня йснуе НІЯКАЙ гарантыі; нават аб\n" "магчымасьці выкарыстньня зь якой небудзь мэтай.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Аўтар %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "вельмі шмат аргумэнтаў" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "прапушчаны аргумэнты" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Паспрабуйце \"%s --help\" для больш падрабязных зьвестак.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -117,12 +120,12 @@ msgstr "" "Выкарыстаньне: %s [ВЫБАР] [[TEXTDOMAIN] MSGID]\n" " ці: %s [ВЫБАР] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Адлюстроўвае пераклады на родную мову тэкставых паведамленьняў.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -143,7 +146,7 @@ msgstr "" " [TEXTDOMAIN] MSGID вяртае перакладзеныя паведамленьні суадносна\n" " MSGID з TEXTDOMAIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -164,16 +167,16 @@ msgstr "" "замест існуючых паведамленьняў знаходзіць у азначаным каталёгу перакладзеныя.\n" "Стандартная дырэкторыя для пошуку: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Паведамляйце аб памылках на адрас .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Выкарыстаньне %s [ВЫБАР] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -182,8 +185,8 @@ msgstr "" "Адлюстроўвае пераклады тэкставых паведамленьняў на родную мову, чыя\n" "граматычная хорма патрабуе ліку (множнага ці адзіночнага).\n" -#: src/ngettext.c:221 -#, no-wrap +#: src/ngettext.c:218 +#, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" " -e enable expansion of some escape sequences\n" @@ -194,8 +197,16 @@ msgid "" " MSGID MSGID-PLURAL translate MSGID (singular) / MSGID-PLURAL (plural)\n" " COUNT choose singular/plural form based on this value\n" msgstr "" +" -d, --domain=TEXTDOMAIN вяртае перакладзеныя паведамленьні з TEXTDOMAIN\n" +" -e выкарыстоўваць некаторыя ESC-пасьлядоўнасьці\n" +" -E (ігнаруецца для сумяшчальнасьці)\n" +" -h, --help адлюстроўвае гэту дапамогу й выходзіць\n" +" -n стрымлівае цягнучыеся новыя радкі\n" +" -V, --version адлюстроўвае зьветскі аб версіі й выходзіць\n" +" [TEXTDOMAIN] MSGID вяртае перакладзеныя паведамленьні суадносна\n" +" MSGID з TEXTDOMAIN\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/ca.po b/gettext-runtime/po/ca.po index a0b47c3dd..39b34c86f 100644 --- a/gettext-runtime/po/ca.po +++ b/gettext-runtime/po/ca.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-08-08 22:00+0200\n" "Last-Translator: Ivan Vilata i Balaguer \n" "Language-Team: Catalan \n" @@ -14,70 +15,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Error desconegut del sistema" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: l'opció «%s» és ambígua\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: l'opció «--%s» no admet arguments\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: l'opció «%c%s» no admet arguments\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: l'opció «%s» necessita un argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: l'opció «--%s» no és reconeguda\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: l'opció «%c%s» no és reconeguda\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: no es permet l'opció «%c»\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: l'opció «%c» no és vàlida\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: l'opció «%c» necessita un argument\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: l'opció «-W %s» és ambígua\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: l'opció «-W %s» no admet arguments\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "la memòria s'ha exhaurit" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -89,25 +92,25 @@ msgstr "" "de còpia. No hi ha CAP garantia; ni tan sols de COMERCIABILITAT o\n" "ADEQUACIÓ A UN PROPÒSIT PARTICULAR.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Escrit per %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "sobren arguments" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "manquen arguments" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Proveu «%s --help» per obtenir més informació.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -116,12 +119,12 @@ msgstr "" "Forma d'ús: %s [OPCIÓ] [[DOMINITEXTUAL] IDMSG]\n" " o: %s [OPCIÓ] -s [IDMSG]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Mostra la traducció a llengua nativa d'un missatge textual.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -143,7 +146,7 @@ msgstr "" " [DOMINITEXTUAL] IDMSG obté el missatge traduït corresponent\n" " a l'IDMSG del DOMINITEXTUAL\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -164,16 +167,16 @@ msgstr "" "els missatges que troba en el catàleg seleccionat.\n" "Directori estàndard de recerca: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Informeu dels errors a .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Forma d'ús: %s [OPCIÓ] [DOMINITEXTUAL] IDMSG IDMSG-PLURAL NOMBRE\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -182,7 +185,7 @@ msgstr "" "Mostra la traducció a llengua nativa d'un missatge textual la forma\n" "gramatical del qual depén del nombre.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -206,7 +209,7 @@ msgstr "" " NOMBRE escull la forma singular o la plural\n" " basant-se en aquest valor\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/cs.po b/gettext-runtime/po/cs.po index 1d8d3ba67..42e72971e 100644 --- a/gettext-runtime/po/cs.po +++ b/gettext-runtime/po/cs.po @@ -12,7 +12,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.38\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2001-08-18 15:22+0200\n" "Last-Translator: Vladimir Michl \n" "Language-Team: Czech \n" @@ -23,84 +24,86 @@ msgstr "" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" # lib/error.c:91 -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Neznámá systémová chyba" # lib/getopt.c:628 -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: pøepínaè `%s' není jednoznaèný\n" # lib/getopt.c:652 -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: pøepínaè `--%s' musí být zadán bez argumentu\n" # lib/getopt.c:657 -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: pøepínaè `%c%s' musí být zadán bez argumentu\n" # lib/getopt.c:674 lib/getopt.c:847 -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: pøepínaè `%s' vy¾aduje argument\n" # lib/getopt.c:703 -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: neznámý pøepínaè `--%s'\n" # lib/getopt.c:707 -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: neznámý pøepínaè `%c%s'\n" # lib/getopt.c:733 -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: neznámý pøepínaè -- %c\n" # lib/getopt.c:736 -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: neznámý pøepínaè -- %c\n" # lib/getopt.c:766 lib/getopt.c:896 -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: pøepínaè vy¾aduje argument -- %c\n" # lib/getopt.c:813 -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: pøepínaè `-W %s' není jednoznaèný\n" # lib/getopt.c:831 -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: pøepínaè ` -W %s' musí být zadán bez argumentu\n" # lib/xmalloc.c:82 -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "pamì» vyèerpána" # src/gettextp.c:134 src/msgcmp.c:144 src/msgfmt.c:257 src/msgmerge.c:251 # src/msgunfmt.c:175 src/xgettext.c:394 -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -114,42 +117,42 @@ msgstr "" # src/gettextp.c:139 src/msgcmp.c:149 src/msgfmt.c:262 src/msgmerge.c:256 # src/msgunfmt.c:180 src/xgettext.c:399 -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Autor: %s\n" # src/gettextp.c:164 -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "pøíli¹ mnoho argumentù" # src/gettextp.c:154 -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "chybí argumenty" # src/gettextp.c:228 src/msgcmp.c:181 src/msgfmt.c:361 src/msgmerge.c:298 # src/msgunfmt.c:210 src/xgettext.c:532 -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Více informací získáte pøíkazem `%s --help'.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" # src/gettextp.c:233 -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -172,7 +175,7 @@ msgstr "" " MSGID z TEXTOVÉDOMÉNY\n" # src/gettextp.c:245 -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -197,7 +200,7 @@ msgstr "" # src/gettextp.c:255 src/msgcmp.c:200 src/msgfmt.c:386 src/msgmerge.c:331 # src/msgunfmt.c:234 src/xgettext.c:582 -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "" @@ -205,12 +208,12 @@ msgstr "" "(pouze\n" "anglicky), pøipomínky k pøekladu zasílejte na adresu (èesky).\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -218,7 +221,7 @@ msgid "" msgstr "" # src/gettextp.c:233 -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -244,7 +247,7 @@ msgstr "" " pøeklad\n" # src/gettextp.c:245 -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/da.po b/gettext-runtime/po/da.po index 8cb1f3f00..b0ad6c4c3 100644 --- a/gettext-runtime/po/da.po +++ b/gettext-runtime/po/da.po @@ -8,7 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-09-07 19:32+0200\n" "Last-Translator: Keld Simonsen \n" "Language-Team: Danish \n" @@ -17,70 +18,72 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Ukendt systemfejl" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: tilvalget '%s' kan betyde flere ting\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: tilvalget '--%s' tillader ikke et argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: tilvalget `%c%s' tillader ikke et argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: tilvalget `%s' kræver et argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ukendt tilvalg `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ukendt tilvalg `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ulovligt tilvalg -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ugyldigt tilvalg -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: tilvalget '%c' kræver et argument\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: tilvalget '-W %s' er flertydigt\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: tilvalget '-W %s' tillader ikke et argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "ikke mere ledig hukommelse" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -92,25 +95,25 @@ msgstr "" "INGEN garanti; heller ikke for SALGBARHED eller EGNETHED FOR NOGET SÆRLIGT\n" "FORMÅL.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Skrevet af %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "For mange argumenter" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "argumenter mangler" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prøv '%s --help' for yderligere oplysninger.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -119,12 +122,12 @@ msgstr "" "Brug: %s [TILVALG] [[TEKSTDOMÆNE] TEKSTID]\n" "eller: %s [TILVALG] -s [TEKSTID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Vis ikke-engelsk oversættelse af en tekstbesked.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -144,7 +147,7 @@ msgstr "" " [TEKSTDOMÆNE] TEKSTID hent den oversatte tekst svarende til\n" " TEKSTID fra TEKSTDOMÆNE\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -165,16 +168,16 @@ msgstr "" "oversættes de tekster der findes i det valgte tekstkatalog.\n" "Standard-filkataloget for søgning er: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Rapportér fejl på engelsk til .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Brug: %s [TILVALG] [TEKSTDOMÆNE] TEKSTID TEKSTID-FLERTAL ANTAL\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -183,7 +186,7 @@ msgstr "" "Vis oversættelser i det lokale sprog af tekstbeskeder hvis grammatiske\n" "form beror på et tal.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -204,7 +207,7 @@ msgstr "" " TEKSTID TEKSTID-FLERTAL oversæt TEKSTID (ental) / TEKSTID-FLERTAL (flertal)\n" " COUNT vælg ental/flertalsform ud fra denne værdi\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/de.po b/gettext-runtime/po/de.po index a68265010..60b09f047 100644 --- a/gettext-runtime/po/de.po +++ b/gettext-runtime/po/de.po @@ -76,7 +76,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-runtime 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 18:55+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2003-02-20 21:05+0100\n" "Last-Translator: Karl Eichwalder \n" "Language-Team: German \n" @@ -85,70 +85,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Unbekannter Systemfehler" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: Option »%s« ist mehrdeutig\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: Option »--%s« erwartet kein Argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: Option »%c%s« erwartet kein Argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: Option »%s« erwartet ein Argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: unbekannte Option »--%s«\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: unbekannte Option »%c%s«\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: unzulässige Option -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ungültige Option -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: Option erwartet ein Argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: Option »-W %s« ist mehrdeutig\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: Option »-W %s« erwartet kein Argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "virtueller Speicher erschöpft" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -160,25 +162,25 @@ msgstr "" "Es gibt KEINERLEI Garantie; nicht einmal für die TAUGLICHKEIT oder\n" "die VERWENDBARKEIT ZU EINEN ANGEGEBENEN ZWECK.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Geschrieben von %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "zu viele Argumente" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "Argumente fehlen" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "»%s --help« gibt weitere Informationen.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -188,12 +190,12 @@ msgstr "" "oder: %s [OPTION] -s [SCHLÜSSEL]...\n" # CHECKIT -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Übersetzung einer textuellen Meldung in einer nativen Sprache anzeigen.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -214,7 +216,7 @@ msgstr "" " [TEXTBEREICH] SCHLÜSSEL die Übersetzung zu SCHLÜSSEL aus TEXTBEREICH\n" " anfordern\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -237,20 +239,20 @@ msgstr "" "\n" "Standardverzeichnis: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "" "Fehler bitte auf Englisch an melden.\n" "\n" "Für die deutsche Übersetzung ist die Mailingliste zuständig.\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Aufruf: %s [OPTION] [TEXTBEREICH] SCHLÜSSEL SCHLÜSSEL-PLURAL ZAHL\n" # CHECKIT -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -259,7 +261,7 @@ msgstr "" "Übersetzung einer textuellen Meldung, deren grammatische Form von einer Zahl\n" "abhängt, in einer nativen Sprache anzeigen.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -282,7 +284,7 @@ msgstr "" " ZAHL Singular-/Pluralform anhand des Wertes ZAHL\n" " wählen\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/el.po b/gettext-runtime/po/el.po index d878919ac..7bfa4054d 100644 --- a/gettext-runtime/po/el.po +++ b/gettext-runtime/po/el.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.34\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 1998-05-17 13:12+0200\n" "Last-Translator: Simos KSenitellis \n" "Language-Team: Greek \n" @@ -15,84 +16,86 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" # -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "¶ãíùóôï óöÜëìá óõóôÞìáôïò" # -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: ç åðéëïãÞ `%s' åßíáé äéöïñïýìåíç\n" # -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: ç åðéëïãÞ `--%s' äåí åðéôñÝðåé ðáñÜìåôñï\n" # -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: ç åðéëïãÞ `%c%s' äåí åðéôñÝðåé ðáñÜìåôñï\n" # -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: ç åðéëïãÞ `%s' áðáéôåß ðáñÜìåôñï\n" # -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ìç áíáãíùñßóéìç åðéëïãÞ `--%s'\n" # -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ìç áíáãíùñßóéìç åðéëïãÞ `%c%s'\n" # -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ìç áðïäåêôÞ åðéëïãÞ -- %c\n" # -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ìç Ýãêõñç åðéëïãÞ -- %c\n" # -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: ç åðéëïãÞ áðáéôåß ðáñÜìåôñï -- %c\n" # -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: ç åðéëïãÞ `-W %s' åßíáé äéöïñïýìåíç\n" # -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: ç åðéëïãÞ `-W %s' äåí åðéôñÝðåé ðáñÜìåôñï\n" # -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 #, fuzzy msgid "memory exhausted" msgstr "H ìíÞìç åîáíôëÞèçêå" # -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -105,41 +108,41 @@ msgstr "" "ËÅÉÔÏÕÑÃÉÊÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ ÃÉÁ ÅÍÁ ÓÕÃÊÅÊÑÉÌÅÍÏ ÓÊÏÐÏ.\n" # -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "ÃñáììÝíï áðü ôïí/ôçí %s.\n" # -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "ðÜñá ðïëëÜ ïñßóìáôá" # -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "õðïëåßðïíôáé ïñßóìáôá" # -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "ÄïêéìÜóôå `%s --help' ãéá ðåñéóóüôåñåò ðëçñïöïñßåò.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" # -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -163,7 +166,7 @@ msgstr "" " óôï MSGID áðü ôï TEXTDOMAIN\n" # -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -185,17 +188,17 @@ msgstr "" "ÊáèéåñùìÝíïò êáôÜëïãïò áíáæÞôçóçò: %s\n" # -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "Óôåßëôå áíáöïñÝò óöáëìÜôùí óôï .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -203,7 +206,7 @@ msgid "" msgstr "" # -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -227,7 +230,7 @@ msgstr "" " óôï MSGID áðü ôï TEXTDOMAIN\n" # -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/en@boldquot.po b/gettext-runtime/po/en@boldquot.po index d53d27082..dfa57859c 100644 --- a/gettext-runtime/po/en@boldquot.po +++ b/gettext-runtime/po/en@boldquot.po @@ -1,6 +1,6 @@ -# English translations for gettext-runtime package. +# English translations for GNU gettext-runtime package. # Copyright (C) 2003 Free Software Foundation, Inc. -# This file is distributed under the same license as the gettext-runtime package. +# This file is distributed under the same license as the GNU gettext-runtime package. # Automatically generated, 2003. # # All this catalog "translates" are quotation characters. @@ -30,9 +30,10 @@ # msgid "" msgstr "" -"Project-Id-Version: gettext-runtime\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" -"PO-Revision-Date: 2003-02-12 13:32+0100\n" +"Project-Id-Version: GNU gettext-runtime\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" +"PO-Revision-Date: 2003-05-12 19:47+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" @@ -40,70 +41,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Unknown system error" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: option ‘%s’ is ambiguous\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: option ‘--%s’ doesn't allow an argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: option ‘%c%s’ doesn't allow an argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: option ‘%s’ requires an argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: unrecognized option ‘--%s’\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: unrecognized option ‘%c%s’\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: illegal option -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: invalid option -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: option requires an argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: option ‘-W %s’ is ambiguous\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: option ‘-W %s’ doesn't allow an argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "memory exhausted" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -114,25 +117,25 @@ msgstr "" "This is free software; see the source for copying conditions. There is NO\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Written by %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "too many arguments" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "missing arguments" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Try ‘%s --help’ for more information.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -141,12 +144,12 @@ msgstr "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Display native language translation of a textual message.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -167,7 +170,7 @@ msgstr "" " [TEXTDOMAIN] MSGID retrieve translated message corresponding\n" " to MSGID from TEXTDOMAIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -188,16 +191,16 @@ msgstr "" "found in the selected catalog are translated.\n" "Standard search directory: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Report bugs to .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -206,7 +209,7 @@ msgstr "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -227,7 +230,7 @@ msgstr "" " MSGID MSGID-PLURAL translate MSGID (singular) / MSGID-PLURAL (plural)\n" " COUNT choose singular/plural form based on this value\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/en@quot.po b/gettext-runtime/po/en@quot.po index 784d1e926..e648a5cff 100644 --- a/gettext-runtime/po/en@quot.po +++ b/gettext-runtime/po/en@quot.po @@ -1,6 +1,6 @@ -# English translations for gettext-runtime package. +# English translations for GNU gettext-runtime package. # Copyright (C) 2003 Free Software Foundation, Inc. -# This file is distributed under the same license as the gettext-runtime package. +# This file is distributed under the same license as the GNU gettext-runtime package. # Automatically generated, 2003. # # All this catalog "translates" are quotation characters. @@ -27,9 +27,10 @@ # msgid "" msgstr "" -"Project-Id-Version: gettext-runtime\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" -"PO-Revision-Date: 2003-02-12 13:32+0100\n" +"Project-Id-Version: GNU gettext-runtime\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" +"PO-Revision-Date: 2003-05-12 19:47+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" @@ -37,70 +38,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Unknown system error" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: option ‘%s’ is ambiguous\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: option ‘--%s’ doesn't allow an argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: option ‘%c%s’ doesn't allow an argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: option ‘%s’ requires an argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: unrecognized option ‘--%s’\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: unrecognized option ‘%c%s’\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: illegal option -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: invalid option -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: option requires an argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: option ‘-W %s’ is ambiguous\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: option ‘-W %s’ doesn't allow an argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "memory exhausted" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -111,25 +114,25 @@ msgstr "" "This is free software; see the source for copying conditions. There is NO\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Written by %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "too many arguments" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "missing arguments" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Try ‘%s --help’ for more information.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -138,12 +141,12 @@ msgstr "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Display native language translation of a textual message.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -164,7 +167,7 @@ msgstr "" " [TEXTDOMAIN] MSGID retrieve translated message corresponding\n" " to MSGID from TEXTDOMAIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -185,16 +188,16 @@ msgstr "" "found in the selected catalog are translated.\n" "Standard search directory: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Report bugs to .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -203,7 +206,7 @@ msgstr "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -224,7 +227,7 @@ msgstr "" " MSGID MSGID-PLURAL translate MSGID (singular) / MSGID-PLURAL (plural)\n" " COUNT choose singular/plural form based on this value\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/es.po b/gettext-runtime/po/es.po index 541a3d00d..8d4516ae1 100644 --- a/gettext-runtime/po/es.po +++ b/gettext-runtime/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-runtime 0.12-pre4\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-03-29 12:33+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2003-05-09 12:50-0500\n" "Last-Translator: Max de Mendizábal \n" "Language-Team: Spanish \n" @@ -17,7 +17,7 @@ msgstr "" # Nota: El error es del sistema, pero no se sabe cuál es el error, # por eso es (además) desconocido. -#: ../gettext-tools/lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Error del sistema desconocido" diff --git a/gettext-runtime/po/et.po b/gettext-runtime/po/et.po index 23515b9e1..d77c433eb 100644 --- a/gettext-runtime/po/et.po +++ b/gettext-runtime/po/et.po @@ -4,7 +4,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.37\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2001-04-30 16:25+0200\n" "Last-Translator: Ivar Smolin \n" "Language-Team: Estonian \n" @@ -13,70 +14,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Tundmatu süsteemne viga" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: võti `%s' on mitmetähenduslik\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: võtmel `--%s' ei tohi olla argumente\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: võtmel `%c%s' ei tohi olla argumente\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: võtme `%s' järel peab olema argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: tundmatu võti `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: tundmatu võti `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: lubamatu võti -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: vigane võti -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: võtme järel peab olema argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: võti `-W %s' on mitmetähenduslik\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: võtmel `-W %s' ei tohi olla argumente\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "mälu sai otsa" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -89,37 +92,37 @@ msgstr "" "TEATUD KINDLAKS EESMÄRGIKS. Üksikasjade suhtes vaata GNU Üldist Avalikku\n" "Litsentsi.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Selle programmi on kirjutanud %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "liiga palju argumente" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "argumendid on puudu" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Täiendava info saamiseks proovi `%s --help'.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -144,7 +147,7 @@ msgstr "" " määratud piirkonnas ja omavad identifikaatorit\n" " STRID\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -167,24 +170,24 @@ msgstr "" "found in the selected catalog are translated.!!!\n" "Standardne otsinukataloog: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "Vigadest teata aadressile .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -210,7 +213,7 @@ msgstr "" " STRID STRID-MITMUS tõlgib STRID (ainsus) / STRID-MITMUS (mitmus)\n" " ARV valib ainsuse/mitmuse vormi sellele arvule\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/fi.po b/gettext-runtime/po/fi.po index 08f119d87..cf015f83c 100644 --- a/gettext-runtime/po/fi.po +++ b/gettext-runtime/po/fi.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.2\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-06-05 18:06+0200\n" "Last-Translator: Sami J. Laine \n" "Language-Team: Finnish \n" @@ -15,70 +16,72 @@ msgstr "" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Tuntematon järjestelmän virhe" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: valitsin `%s' on moniselitteinen\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: valitsin `--%s' ei salli argumenttia\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: valitsin `%c%s' ei salli argumenttia\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: valitsin `%s' vaatii argumentin\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: tuntematon valitsin `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: tuntematon valitsin `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: virheellinen valitsin -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: virheellinen valitsin -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: valitsin vaatii argumentin -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: valitsin `-W %s' on moniselitteinen\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: valitsin `-W %s' ei salli argumenttia\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "muisti loppu" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,25 +93,25 @@ msgstr "" "EI myönnetä takuuta; ei edes KAUPATTAVUUDELLE tai SOVELTUVUUDELLE TIETTYYN\n" "tarkoitukseen.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Kirjoittanut %s\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "liian monta argumenttia" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "ei riittävästi argumentteja" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Yritä `%s --help' saadaksesi lisää tietoja.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -117,12 +120,12 @@ msgstr "" "Käyttö: %s [VALITSIN] [[TEXTDOMAIN] MSGID]\n" "tai: %s [VALITSIN] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Näytä kansallinen käännös tekstimuotoiselle viestille.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -144,7 +147,7 @@ msgstr "" " [TEXTDOMAIN] MSGID etsii käännetyn viestin, joka vastaa MSGID:tä\n" " TEXTDOMAIN:ssa\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -157,23 +160,23 @@ msgid "" "Standard search directory: %s\n" msgstr "" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Ilmoita ohjelmiston vioista osoitteeseen .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -186,7 +189,7 @@ msgid "" " COUNT choose singular/plural form based on this value\n" msgstr "" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/fr.po b/gettext-runtime/po/fr.po index ae7c49fa3..4809a03e1 100644 --- a/gettext-runtime/po/fr.po +++ b/gettext-runtime/po/fr.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-08-08 08:00-0500\n" "Last-Translator: Michel Robitaille \n" "Language-Team: French \n" @@ -16,70 +17,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Erreur système non identifiée" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: l'option « %s » est ambiguë\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: l'option « --%s » ne tolère pas d'argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: l'option « %c%s » ne tolère pas d'argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: l'option « %s » exige un argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: l'option « --%s » n'est pas reconnue\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: l'option « %c%s » n'est pas reconnue\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: l'option « %c » n'est pas permise\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: l'option « %c » n'est pas valide\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: l'option « %c » exige un argument\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: l'option « -W %s » est ambiguë\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: l'option « -W %s » ne tolère pas d'argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "Mémoire épuisée" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -91,25 +94,25 @@ msgstr "" "les permissions de copie. Il est distribué SANS AUCUNE GARANTIE\n" "de QUALITÉ LOYALE ET MARCHANDE ou d'ADÉQUATION POUR UN BUT PARTICULIER.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Écrit par %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "trop d'arguments" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "arguments manquants" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Pour plus d'information, essayer « %s --help ».\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -118,12 +121,12 @@ msgstr "" "Usage: %s [OPTION] [[DOMAINE] MSGID]\n" "ou %s [OPTION] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Afficher en langage natif la traduction du message textuel.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -143,7 +146,7 @@ msgstr "" " -V, --version identifier le programme, puis terminer\n" " [DOMAINE] MSGID trouver la traduction de MSGID, dans le DOMAINE donné\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -165,16 +168,16 @@ msgstr "" "\n" "Répertoire standard de recherche: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Rapportez tout problème fonctionnel à .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Usage: %s [OPTION] [DOMAINE] MSGID MSGID-PLURIEL VALEUR\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -183,7 +186,7 @@ msgstr "" "Afficher en langue native la traduction d'un message textuel dont\n" "la forme grammaticale dépend d'un nombre\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -205,7 +208,7 @@ msgstr "" " MSGID MSGID-PLURAL traduire le champ MSGID (singulier) / MSGID-PLURAL (pluriel)\n" " VALEUR choisir la forme singulier/pluriel selon la VALEUR\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/gettext-runtime.pot b/gettext-runtime/po/gettext-runtime.pot index b60fcc8d7..bde7a6329 100644 --- a/gettext-runtime/po/gettext-runtime.pot +++ b/gettext-runtime/po/gettext-runtime.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 18:55+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,70 +16,72 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -87,37 +89,37 @@ msgid "" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -130,7 +132,7 @@ msgid "" " to MSGID from TEXTDOMAIN\n" msgstr "" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -143,23 +145,23 @@ msgid "" "Standard search directory: %s\n" msgstr "" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -172,7 +174,7 @@ msgid "" " COUNT choose singular/plural form based on this value\n" msgstr "" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/gl.po b/gettext-runtime/po/gl.po index ea29885ad..f61e493a2 100644 --- a/gettext-runtime/po/gl.po +++ b/gettext-runtime/po/gl.po @@ -10,7 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.10.39\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2001-07-28 17:00+0200\n" "Last-Translator: Jesús Bravo Álvarez \n" "Language-Team: Galician \n" @@ -19,70 +20,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1)\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Erro de sistema descoñecido" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: a opción `%s' é ambigua\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: a opción `--%s' non permite ningún argumento\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: a opción `%c%s' non permite ningún argumento\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: a opción `%s' require un argumento\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: opción `--%s' descoñecida\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: opción `%c%s' descoñecida\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: opción ilegal -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: opción non válida -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: a opción require un argumento -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: a opción `-W %s' é ambigua\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: a opción `-W %s' non permite ningún argumento\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "memoria esgotada" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -94,37 +97,37 @@ msgstr "" "ningunha garantía; nin sequera de COMERCIABILIDADE ou IDONEIDADE PARA UN\n" "FIN DETERMINADO.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Escrito por %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "demasiados argumentos" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "faltan argumentos" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Use `%s --help' para máis información.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -146,7 +149,7 @@ msgstr "" " [DOMINIO] MSGID obte-la mensaxe traducida correspondente a\n" " MSGID do DOMINIO\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -167,24 +170,24 @@ msgstr "" "que atopa no catálogo escollido.\n" "Directorio estándar de busca: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "Comunique os erros a .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -206,7 +209,7 @@ msgstr "" " MSGID MSGID-PLURAL traducir MSGID (singular) / MSGID-PLURAL (plural)\n" " CONTADOR escoller a forma singular/plural segundo este valor\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/id.po b/gettext-runtime/po/id.po index b1f483df6..92a7130b8 100644 --- a/gettext-runtime/po/id.po +++ b/gettext-runtime/po/id.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gettext-runtime 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 18:55+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2003-03-03 10:29GMT+0700\n" "Last-Translator: Tedi Heriyanto \n" "Language-Team: Indonesian \n" @@ -15,71 +15,73 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 0.9.6\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Kesalahan sistem tak dikenal" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: pilihan `%s' rancu\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: pilihan `--%s' tidak membolehkan argumen\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: pilihan `%c%s' tidak membolehkan argumen\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "pilihan %s: `%s' memerlukan sebuah argumen\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: pilihan tak dikenal `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: pilihan tak dikenal `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: pilihan ilegal -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: pilihan tidak valid -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: pilihan membutuhkan sebuah argumen -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: pilihan `-W %s' rancu\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: pilihan `-W %s' tidak membolehkan sebuah argumen\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "Memori habis" # ) -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,25 +92,25 @@ msgstr "" "Ini adalah free software; lihat source untuk kondisi penyalinan. Tidak ada\n" "jaminan; bahkan untuk PENJUALAN atau KESESUAIAN UNTUK TUJUAN TERTENTU.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Ditulis oleh %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "terlalu banyak argumen" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "Argumen hilang" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Coba `%s --help' untuk informasi lebih jauh.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -117,12 +119,12 @@ msgstr "" "Pemakaian: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "atau: %s [OPTION] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Tampilkan terjemahan bahasa asli pesan tekstual.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -143,7 +145,7 @@ msgstr "" " [TEXTDOMAIN] MSGID mengambil pesan terjemahan yang sesuai\n" " untuk MSGID dari TEXTDOMAIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -164,16 +166,16 @@ msgstr "" "diterjemahkan.\n" "Direktori pencarian standar: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Laporkan kesalahan ke .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Pemakaian: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -182,7 +184,7 @@ msgstr "" "Tampilkan terjemahan bahasa asli pesan tekstual yang bentuk gramatikalnya\n" "tergantung pada suatu angka.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -204,7 +206,7 @@ msgstr "" " MSGID MSGID-PLURAL terjemahkan MSGID (tunggal) / MSGID-PLURAL (plural)\n" " COUNT pilih bentuk tunggal/plural berdasarkan nilai ini\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/it.po b/gettext-runtime/po/it.po index b4b688749..29ec017a5 100644 --- a/gettext-runtime/po/it.po +++ b/gettext-runtime/po/it.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.35\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2000-02-17 15:30+01:00\n" "Last-Translator: Giovanni Bortolozzo \n" "Language-Team: Italian \n" @@ -14,71 +15,73 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Errore di sistema sconosciuto" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: l'opzione `%s' è ambigua\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: l'opzione `--%s' non ammette un argomento\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: l'opzione `%c%s' non ammette un argomento\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: l'opzione `%s' richiede un argomento\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: opzione `--%s' non riconosciuta\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: opzione `%c%s' non riconosciuta\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: opzione illegale -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: opzione non valida -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: l'opzione richiede un argomento -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: l'opzione `-W %s' è ambigua\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: l'opzione `-W %s' non ammette un argomento\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 #, fuzzy msgid "memory exhausted" msgstr "Memoria esaurita" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,37 +93,37 @@ msgstr "" "NON c'è nessuna garanzia; neppure di COMMERCIABILITÀ o di IDONEITÀ AD UN\n" "PARTICOLARE SCOPO.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Scritto da %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "troppi argomenti" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "mancano degli argomenti" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Usare `%s --help' per ulteriori informazioni.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -143,7 +146,7 @@ msgstr "" " [DOMINIOTESTO] MSGID recupera da DOMINIOTESTO i messaggi tradotti\n" " corrispondenti a MSGID\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -165,24 +168,24 @@ msgstr "" "catalogo selezionato.\n" "Directory di ricerca standard: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "Segnalare i bug a .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -205,7 +208,7 @@ msgstr "" " [DOMINIOTESTO] MSGID recupera da DOMINIOTESTO i messaggi tradotti\n" " corrispondenti a MSGID\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/ja.po b/gettext-runtime/po/ja.po index b0cda5643..3c2ce04b3 100644 --- a/gettext-runtime/po/ja.po +++ b/gettext-runtime/po/ja.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-runtime 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 18:55+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2003-02-22 20:53+0900\n" "Last-Translator: Masahito Yamaga \n" "Language-Team: Japanese \n" @@ -15,70 +15,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "̤ÃΤΥ·¥¹¥Æ¥à¥¨¥é¡¼" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `%s' ¤ÏÛ£Ëæ¤Ç¤¹\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `--%s' ¤Ë¤Ï°ú¿ô¤Ï¤¢¤ê¤Þ¤»¤ó\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `%c%s' ¤Ë¤Ï°ú¿ô¤Ï¤¢¤ê¤Þ¤»¤ó\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `%s' ¤Ë¤Ï°ú¿ô¤¬É¬ÍפǤ¹\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `--%s' ¤Ïǧ¼±¤µ¤ì¤Þ¤»¤ó\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `%c%s' ¤Ïǧ¼±¤µ¤ì¤Þ¤»¤ó\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ÉÔÀµ¤Ê¥ª¥×¥·¥ç¥ó -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ̵¸ú¤Ê¥ª¥×¥·¥ç¥ó -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: °ú¿ô¤¬É¬Íפʥª¥×¥·¥ç¥ó -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `-W %s' ¤ÏÛ£Ëæ¤Ç¤¹\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: ¥ª¥×¥·¥ç¥ó `-W %s' ¤Ë¤Ï°ú¿ô¤Ï¤¢¤ê¤Þ¤»¤ó\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "¥á¥â¥ê¤ò»È¤¤²Ì¤¿¤·¤Þ¤·¤¿" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -94,25 +96,25 @@ msgstr "" "»Ô¾ìÀ­µÚ¤ÓÆÃÄêÌÜŪŬ¹çÀ­¤ÎÇ¡²¿¤Ë¤è¤é¤º, ¤¤¤«¤Ê¤ëÊݾڤ⤢¤ê¤Þ¤»¤ó.\n" "\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "ºî¼Ô %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "°ú¿ô¤¬Â¿¤¹¤®¤Þ¤¹" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "°ú¿ô¤¬¤¢¤ê¤Þ¤»¤ó" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "¤è¤ê¿¤¯¤Î¾ðÊó¤òÆÀ¤ë¤¿¤á¤Ë¤Ï `%s --help' ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -121,12 +123,12 @@ msgstr "" "»ÈÍÑË¡: %s [¥ª¥×¥·¥ç¥ó] [[TEXTDOMAIN] MSGID]\n" "¤Þ¤¿¤Ï: %s [¥ª¥×¥·¥ç¥ó] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "¸¶Ê¸¤Î¥á¥Ã¥»¡¼¥¸¤Î¼«¹ñ¸ìËÝÌõ¤òɽ¼¨.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -147,7 +149,7 @@ msgstr "" " [TEXTDOMAIN] MSGID MSGID ¤Ë±þ¤¸¤¿ËÝÌõ¥á¥Ã¥»¡¼¥¸¤ò TEXTDOMAIN ¤«¤é\n" " ¼è¤ê½Ð¤¹\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -168,23 +170,23 @@ msgstr "" "ËÝÌõ¤µ¤ì¤¿¤â¤Î¤òɽ¼¨¤·¤Þ¤¹.\n" "ɸ½à¤Î¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "¥Ð¥°¥ì¥Ý¡¼¥È¤Ï ¤Þ¤Ç.\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "»ÈÍÑË¡: %s [¥ª¥×¥·¥ç¥ó] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "ʸˡ¾å, ·Á¼°¤¬¿ô¤Ë¤è¤Ã¤Æ°Û¤Ê¤Ã¤Æ¤¤¤ë¸¶Ê¸¥á¥Ã¥»¡¼¥¸¤Î¼«¹ñ¸ìËÝÌõ¤òɽ¼¨.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -205,7 +207,7 @@ msgstr "" " MSGID MSGID-PLURAL MSGID (ñ¿ô·Á) / MSGID-PLURAL (Ê£¿ô·Á) ¤òËÝÌõ\n" " COUNT ¤³¤ÎÃͤò´ðËܤˤ·¤ÆÃ±¿ô/Ê£¿ô·Á¤òÁªÂò\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/ko.po b/gettext-runtime/po/ko.po index b15eb4842..207eb74f3 100644 --- a/gettext-runtime/po/ko.po +++ b/gettext-runtime/po/ko.po @@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-08-08 12:26+0900\n" "Last-Translator: Changwoo Ryu \n" "Language-Team: Korean \n" @@ -15,70 +16,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "¾Ë ¼ö ¾ø´Â ½Ã½ºÅÛ ¿À·ù" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: `%s'Àº(´Â) ¸ðÈ£ÇÑ ¿É¼ÇÀÔ´Ï´Ù\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: `--%s' ¿É¼ÇÀº Àμö¸¦ Çã¿ëÇÏÁö ¾Ê½À´Ï´Ù\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: `%c%s' ¿É¼ÇÀº Àμö¸¦ Çã¿ëÇÏÁö ¾Ê½À´Ï´Ù\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: `%s' ¿É¼ÇÀº Àμö°¡ ÇÊ¿äÇÕ´Ï´Ù\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ÀνÄÇÒ ¼ö ¾ø´Â ¿É¼Ç `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ÀνÄÇÒ ¼ö ¾ø´Â ¿É¼Ç `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: À߸øµÈ ¿É¼Ç -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ºÎÀûÀýÇÑ ¿É¼Ç -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: ÀÌ ¿É¼ÇÀº Àμö°¡ ÇÊ¿äÇÕ´Ï´Ù -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: `-W %s'Àº(´Â) ¸ðÈ£ÇÑ ¿É¼ÇÀÔ´Ï´Ù\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: `-W %s' ¿É¼ÇÀº Àμö¸¦ Çã¿ëÇÏÁö ¾Ê½À´Ï´Ù\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "¸Þ¸ð¸®°¡ ¹Ù´Ú³µ½À´Ï´Ù" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -89,25 +92,25 @@ msgstr "" "ÀÌ ÇÁ·Î±×·¥Àº ÀÚÀ¯ ¼ÒÇÁÆ®¿þ¾îÀÔ´Ï´Ù. º¹»ç Á¶°ÇÀº ¼Ò½º¸¦ ÂüÁ¶ÇϽʽÿÀ. »óǰ¼º\n" "À̳ª ƯÁ¤ ¸ñÀû¿¡ ´ëÇÑ ÀûÇÕ¼ºÀ» ºñ·ÔÇÏ¿©, ¾î¶°ÇÑ º¸Áõµµ ÇÏÁö ¾Ê½À´Ï´Ù.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "%sÀÌ(°¡) ¸¸µé¾ú½À´Ï´Ù.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "Àμö°¡ ³Ê¹« ¸¹À½" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "Àμö°¡ ºüÁ³À½" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "´õ ¸¹Àº Á¤º¸¸¦ º¸·Á¸é `%s --help' ÇϽʽÿÀ\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -116,12 +119,12 @@ msgstr "" "»ç¿ë¹ý: %s [<¿É¼Ç>] [[] ]\n" "ȤÀº: %s [<¿É¼Ç>] -s []...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "ÁÖ¾îÁø ¸Þ¼¼Áö¿¡ ´ëÇÑ °íÀ¯¾î ¹ø¿ª¹®À» Ç¥½ÃÇÕ´Ï´Ù.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -142,7 +145,7 @@ msgstr "" " [] ¿¡ ´ëÀÀÇÏ´Â ¹ø¿ªµÈ ¸Þ½ÃÁö¸¦ ¿¡¼­\n" " ºÒ·¯¿É´Ï´Ù\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -163,16 +166,16 @@ msgstr "" "¸ñ·Ï¿¡¼­ ¹ø¿ªµÇ¾î ÀÖ´Â ¸Þ½ÃÁö¸¸ÀÌ Ãâ·ÂµË´Ï´Ù.\n" "±âº» Ž»ö µð·ºÅ丮: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "·Î ¹®Á¦Á¡À» ¾Ë·Á ÁֽʽÿÀ.\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] [] <°³¼ö>\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -181,7 +184,7 @@ msgstr "" "¼ýÀÚ¿¡ µû¶ó ¹®¹ýÀÌ ´Þ¶óÁö´Â, ÁÖ¾îÁø ¸Þ¼¼Áö¿¡ ´ëÇÑ °íÀ¯¾î ¹ø¿ª¹®À»\n" "Ç¥½ÃÇÕ´Ï´Ù.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -203,7 +206,7 @@ msgstr "" " MSGID MSGID-º¹¼öÇü MSGID(´Ü¼ö) / MSGID-º¹¼öÇü(º¹¼ö)À» ¹ø¿ªÇÕ´Ï´Ù\n" " °³¼ö ÀÌ °ª¿¡ µû¶ó ´Ü¼ö/º¹¼ö¸¦ °áÁ¤ÇÕ´Ï´Ù\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/nl.po b/gettext-runtime/po/nl.po index 955c30512..7ae35eb68 100644 --- a/gettext-runtime/po/nl.po +++ b/gettext-runtime/po/nl.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.31\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 1997-03-11 22:38 \n" "Last-Translator: Erick Branderhorst \n" "Language-Team: Dutch \n" @@ -14,71 +15,73 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Onbekende systeemfout" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: optie `%s' is ambiguous\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: optie `--%s' verwacht geen argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: optie `%c%s' verwacht geen argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: optie `%s' verwacht een argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: onbekende optie `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: onbekende optie `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ongeldige optie -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ongeldige optie -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: optie verwacht een argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: optie `-W %s' is dubbelzinnig\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: optie `-W %s' staat geen argument toe\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 #, fuzzy msgid "memory exhausted" msgstr "Geen geheugen meer beschikbaar" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,37 +93,37 @@ msgstr "" "garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN\n" "SPECIFIEK DOEL.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Geschreven door %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "te veel argumenten" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "ontbrekende argumenten" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Probeer `%s --help' voor meer informatie.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -142,7 +145,7 @@ msgstr "" " [TEXTDOMEIN] MSGID ontvang vertaalde meldingen corresponderend aan\n" " MSGID vanuit TEKSTDOMEIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -164,24 +167,24 @@ msgstr "" "worden de in de katalogus gevonden meldingen vertaald.\n" "Standaard zoek directory: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "Meld fouten via .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -203,7 +206,7 @@ msgstr "" " [TEXTDOMEIN] MSGID ontvang vertaalde meldingen corresponderend aan\n" " MSGID vanuit TEKSTDOMEIN\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/nn.po b/gettext-runtime/po/nn.po index 509cfa8f6..d8d20dc11 100644 --- a/gettext-runtime/po/nn.po +++ b/gettext-runtime/po/nn.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.12\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 1996-03-21 08:46 EST\n" "Last-Translator: Karl Anders Øygard \n" "Language-Team: Norwegian-nynorsk \n" @@ -14,70 +15,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: flagg «%s» er fleirtydig\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: flagg «--%s» tek ikkje argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: flagg «%c%s» tek ikkje argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: flagg «%s» treng eit argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, fuzzy, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ulovleg flagg -- %c\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, fuzzy, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ulovleg flagg -- %c\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ulovleg flagg -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, fuzzy, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ulovleg flagg -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flagg treng eit argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, fuzzy, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: flagg «%s» er fleirtydig\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, fuzzy, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flagg «--%s» tek ikkje argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -85,38 +88,38 @@ msgid "" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 #, fuzzy msgid "too many arguments" msgstr "manglar argument" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "manglar argument" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, fuzzy, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prøv «%s --help» for meir informasjon\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -138,7 +141,7 @@ msgstr "" " [TEXTDOMAIN] MSGID hent oversett melding som stemmer overeins med\n" " MSGID frå TEXTDOMAIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -160,23 +163,23 @@ msgstr "" "staden vert meldingar som er funne i den valgte katalogen oversatt.\n" "Standard søkekatalog er: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -198,7 +201,7 @@ msgstr "" " [TEXTDOMAIN] MSGID hent oversett melding som stemmer overeins med\n" " MSGID frå TEXTDOMAIN\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/no.po b/gettext-runtime/po/no.po index 3dcea9642..e5807f858 100644 --- a/gettext-runtime/po/no.po +++ b/gettext-runtime/po/no.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.37\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2001-05-09 02:08+02:00\n" "Last-Translator: Trond Endrestøl \n" "Language-Team: Norwegian-bokmål \n" @@ -14,72 +15,74 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Ukjent systemfeil" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: flagget «%s» er flertydig\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: flagget «--%s» tillater ikke argumenter\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: flagget «%c%s» tillater ikke argumenter\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: flagget «%s» krever et argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ukjent flagg «--%s»\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ukjent flagg «%c%s»\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ulovlig flagg -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ugyldig flagg -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flagg krever et argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: flagg «-W %s» er flertydig\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flagg «-W %s» tillater ikke et argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "minnet oppbrukt" # Hva skal MERCHANTABILITY og FITNESS FOR PARTICULAR PURPOSE oversettes med? # Er denne oversettelsen grei nok? -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -91,37 +94,37 @@ msgstr "" "INGEN garanti; ikke engang for SALGBARHET eller SKIKKETHET FOR ET BESTEMT\n" "FORMÅL.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Skrevet av %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "for mange argumenter" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "mangler argumenter" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prøv «%s --help» for mer informasjon.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -143,7 +146,7 @@ msgstr "" " [TEXTDOMAIN] MSGID hent oversatt melding som stemmer overens med MSGID\n" " fra TEXTDOMAIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -165,24 +168,24 @@ msgstr "" "stedet blir funne meldinger i den valgte katalogen oversatt.\n" "Standard søkekatalog er: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "Rapporter feil til .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -204,7 +207,7 @@ msgstr "" " MSGID MSGID-PLURAL oversett MSGID (entall) / MSGID-PLURAL (flertall)\n" " COUNT velg entalls-/flertallsform basert på denne verdien\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/pl.po b/gettext-runtime/po/pl.po index d4be280db..eb0d35d8e 100644 --- a/gettext-runtime/po/pl.po +++ b/gettext-runtime/po/pl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 18:55+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2003-03-03 23:15+0100\n" "Last-Translator: Rafa³ Maszkowski \n" "Language-Team: Polish \n" @@ -18,70 +18,72 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Nieznany b³±d systemu" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: opcja: `%s' jest niejednoznaczna\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: opcja `--%s' nie mo¿e mieæ argumentu\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: opcja `%c%s' nie mo¿e mieæ argumentu\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: opcja `%s' wymaga argumentu\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: nie rozpoznana opcja `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: nie rozpoznana opcja `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: niedozwolona opcja -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: b³êdna opcja -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opcja wymaga argumentu -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: opcja `-W %s' jest niejednoznaczna\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opcja `-W %s' nie mo¿e mieæ argumentu\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "pamiêæ wyczerpana" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -93,25 +95,25 @@ msgstr "" "Autorzy nie daj± ¯ADNYCH gwarancji, w tym równie¿ gwarancji MO¯LIWO¦CI\n" "SPRZEDA¯Y lub PRZYDATNO¦CI DO KONKRETNYCH ZASTOSOWAÑ.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Program napisa³ %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "za du¿o argumentów" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "brakuj±ce argumenty" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Polecenie `%s --help' poda wiêcej informacji.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -120,12 +122,12 @@ msgstr "" "Sk³adnia: %s [OPCJA] [[DOMENA] MSGID]\n" "lub: %s [OPCJA] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Wy¶wietlenie t³umaczenia komunikatu tekstowego na lokalny jêzyk.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -146,7 +148,7 @@ msgstr "" " [DOMENA] MSGID wydobycie z DOMENY przet³umaczonego komunikatu\n" " odpowiadaj±cego MSGID\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -167,16 +169,16 @@ msgstr "" "znalezione w wybranym katalogu.\n" "Domy¶lnie przeszukiwany katalog: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Raporty o b³êdach proszê wysy³aæ na .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Sk³adnia: %s [OPCJA] [DOMENA] MSGID MSGID-MNOGI LICZBA\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -185,7 +187,7 @@ msgstr "" "Wy¶wietlenie t³umaczenia na jêzyk lokalny komunikatu tekstowego, którego\n" "forma gramatyczna zale¿y od liczby.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -207,7 +209,7 @@ msgstr "" " MSGID MSGID-MNOGI przet³umaczenie MSGID (pojed.) / MSGID-MNOGI (mn.)\n" " LICZBA wybranie formy pojed./mn. w oparciu o LICZBÊ\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -346,13 +348,15 @@ msgstr "" #~ msgid "" #~ "Output format:\n" #~ " -s, --short short host name\n" -#~ " -f, --fqdn, --long long host name, includes fully qualified domain name,\n" +#~ " -f, --fqdn, --long long host name, includes fully qualified domain " +#~ "name,\n" #~ " and aliases\n" #~ " -i, --ip-address addresses for the hostname\n" #~ msgstr "" #~ "Format wyj¶cia:\n" #~ " -s, --short krótka nazwa komputera\n" -#~ " -f, --fqdn, --long d³uga nazwa komputera, zawieraj±ca pe³n± nazwê domeny\n" +#~ " -f, --fqdn, --long d³uga nazwa komputera, zawieraj±ca pe³n± nazwê " +#~ "domeny\n" #~ " i aliasy\n" #~ " -i, --ip-address adresy komputera\n" @@ -362,8 +366,10 @@ msgstr "" #~ " -V, --version output version information and exit\n" #~ msgstr "" #~ "Informacje:\n" -#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -#~ " -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" +#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie " +#~ "pracy\n" +#~ " -V, --version wypisanie informacji o wersji i zakoñczenie " +#~ "pracy\n" #~ msgid "could not get host name" #~ msgstr "nie mo¿na odczytaæ nazwy komputera" @@ -378,42 +384,53 @@ msgstr "" #~ msgstr "Sk³adnia: %s [OPCJA] [PLIK-WEJ¦CIOWY]\n" #~ msgid "" -#~ "Filters the messages of a translation catalog according to their attributes,\n" +#~ "Filters the messages of a translation catalog according to their " +#~ "attributes,\n" #~ "and manipulates the attributes.\n" #~ msgstr "" #~ "Filtruje komunikaty z katalogu t³umaczeñ zgodnie z ich atrybutami oraz\n" #~ "manipuluje atrybutami.\n" -#~ msgid "Mandatory arguments to long options are mandatory for short options too.\n" -#~ msgstr "Argumenty obowi±zkowe dla opcji d³ugich s± obowi±zkowe tak¿e dla krótkich.\n" +#~ msgid "" +#~ "Mandatory arguments to long options are mandatory for short options too.\n" +#~ msgstr "" +#~ "Argumenty obowi±zkowe dla opcji d³ugich s± obowi±zkowe tak¿e dla " +#~ "krótkich.\n" #~ msgid "" #~ "Input file location:\n" #~ " INPUTFILE input PO file\n" -#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" #~ "If no input file is given or if it is -, standard input is read.\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" #~ " PLIK-WEJ¦CIOWY wczytanie pliku PO\n" -#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest standardowe\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest " +#~ "standardowe\n" #~ "wej¶cie.\n" #~ msgid "" #~ "Output file location:\n" #~ " -o, --output-file=FILE write output to specified file\n" -#~ "The results are written to standard output if no output file is specified\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" #~ "or if it is -.\n" #~ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego:\n" #~ " -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" -#~ "Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku wyj¶ciowego\n" +#~ "Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku " +#~ "wyj¶ciowego\n" #~ "lub plik to -.\n" #~ msgid "" #~ "Message selection:\n" -#~ " --translated keep translated, remove untranslated messages\n" -#~ " --untranslated keep untranslated, remove translated messages\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" #~ " --no-fuzzy remove 'fuzzy' marked messages\n" #~ " --only-fuzzy keep 'fuzzy' marked messages\n" #~ " --no-obsolete remove obsolete #~ messages\n" @@ -436,10 +453,12 @@ msgstr "" #~ " --set-obsolete set all messages obsolete\n" #~ " --clear-obsolete set all messages non-obsolete\n" #~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" -#~ " --obsolete synonym for --only-obsolete --clear-obsolete\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" #~ msgstr "" #~ "Manipulowanie atrybutami:\n" -#~ " --set-fuzzy oznaczenie wszystkich komunikatów jako 'fuzzy'\n" +#~ " --set-fuzzy oznaczenie wszystkich komunikatów jako " +#~ "'fuzzy'\n" #~ " --clear-fuzzy oznaczenie wszystkich komunikatów jako\n" #~ " nie-'fuzzy'\n" #~ " --set-obsolete oznaczenie wszystkich komunikatów jako\n" @@ -447,7 +466,8 @@ msgstr "" #~ " --clear-obsolete oznaczenie wszystkich komunikatów jako nie\n" #~ " przestarza³e\n" #~ " --fuzzy synonim dla --only-fuzzy --clear-fuzzy\n" -#~ " --obsolete synonim dla --only-obsolete --clear-obsolete\n" +#~ " --obsolete synonim dla --only-obsolete --clear-" +#~ "obsolete\n" #~ msgid "" #~ "Output details:\n" @@ -456,24 +476,32 @@ msgstr "" #~ " --force-po write PO file even if empty\n" #~ " -i, --indent write the .po file using indented style\n" #~ " --no-location do not write '#: filename:line' lines\n" -#~ " -n, --add-location generate '#: filename:line' lines (default)\n" -#~ " --strict write out strict Uniforum conforming .po file\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" #~ " the output page width, into several lines\n" #~ " -s, --sort-output generate sorted output\n" #~ " -F, --sort-by-file sort output by file location\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" #~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" #~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" #~ " --no-location nie zapisywanie linii '#: plik:linia'\n" -#~ " -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" #~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -#~ " --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" #~ " ni¿ szeroko¶æ strony\n" #~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" #~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" @@ -491,48 +519,61 @@ msgstr "" #~ "before messages are printed. Conversely, the --less-than option may be\n" #~ "used to specify less commonality before messages are printed (i.e.\n" #~ "--less-than=2 will only print the unique messages). Translations,\n" -#~ "comments and extract comments will be cumulated, except that if --use-first\n" +#~ "comments and extract comments will be cumulated, except that if --use-" +#~ "first\n" #~ "is specified, they will be taken from the first PO file to define them.\n" #~ "File positions from all PO files will be cumulated.\n" #~ msgstr "" #~ "£±czy i zespala podane pliki PO.\n" #~ "Znajduje komunikaty wspólne dla dwóch lub wiêcej podanych plików PO.\n" -#~ "Mo¿na za¿±daæ wiêkszego uwspólnienia przed wypisaniem komunikatów u¿ywaj±c\n" -#~ "opcji --more-than. Odpowiednio opcja --less-than mo¿e byæ u¿yta dla ustalenia\n" -#~ "mniejszego uwspólnienia pomiêdzy komunikatami (np. --less-than=2 wypisze tylko\n" -#~ "unikalne komunikaty). T³umaczenia, komentarze t³umaczeñ i wydobyte zostan±\n" -#~ "zgromadzone, chyba ¿e zostanie podana opcja --use-first, wtedy bêd± skopiowane\n" -#~ "tylko z pierwszego definiuj±cego je pliku PO. Pozycje w plikach dla wszystkich\n" +#~ "Mo¿na za¿±daæ wiêkszego uwspólnienia przed wypisaniem komunikatów " +#~ "u¿ywaj±c\n" +#~ "opcji --more-than. Odpowiednio opcja --less-than mo¿e byæ u¿yta dla " +#~ "ustalenia\n" +#~ "mniejszego uwspólnienia pomiêdzy komunikatami (np. --less-than=2 wypisze " +#~ "tylko\n" +#~ "unikalne komunikaty). T³umaczenia, komentarze t³umaczeñ i wydobyte " +#~ "zostan±\n" +#~ "zgromadzone, chyba ¿e zostanie podana opcja --use-first, wtedy bêd± " +#~ "skopiowane\n" +#~ "tylko z pierwszego definiuj±cego je pliku PO. Pozycje w plikach dla " +#~ "wszystkich\n" #~ "plików PO zostan± zgromadzone.\n" #~ msgid "" #~ "Input file location:\n" #~ " INPUTFILE ... input files\n" #~ " -f, --files-from=FILE get list of input files from FILE\n" -#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" #~ "If input file is -, standard input is read.\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" #~ " PLIK-WEJ¦CIOWY ... pliki wej¶ciowe\n" -#~ " -f, --files-from=PLIK odczytanie listy plików wej¶ciowych z PLIKU\n" -#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" +#~ " -f, --files-from=PLIK odczytanie listy plików wej¶ciowych z " +#~ "PLIKU\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" #~ "Je¶li plik wej¶ciowy to -, czytane jest standardowe wej¶cie.\n" #~ msgid "" #~ "Output file location:\n" #~ " -o, --output-file=FILE write output to specified file\n" -#~ "The results are written to standard output if no output file is specified\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" #~ "or if it is -.\n" #~ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego:\n" #~ " -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" -#~ "Wyniki zostan± wypisane na standardowe wyj¶cie je¶li plik wej¶ciowy nie zosta³\n" +#~ "Wyniki zostan± wypisane na standardowe wyj¶cie je¶li plik wej¶ciowy nie " +#~ "zosta³\n" #~ "podany lub plik to -.\n" #~ msgid "" #~ "Message selection:\n" #~ " -<, --less-than=NUMBER print messages with less than this many\n" -#~ " definitions, defaults to infinite if not\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" #~ " set\n" #~ " ->, --more-than=NUMBER print messages with more than this many\n" #~ " definitions, defaults to 0 if not set\n" @@ -540,9 +581,12 @@ msgstr "" #~ " that only unique messages be printed\n" #~ msgstr "" #~ "Wybór komunikatów:\n" -#~ " -<, --less-than=LICZBA wypisanie komunikatów z liczb± definicji\n" -#~ " mniejsz± od LICZBY, domy¶lnie nieskoñczono¶ci\n" -#~ " ->, --more-than=LICZBA wypisanie komunikatów z liczb± definicji\n" +#~ " -<, --less-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" +#~ " mniejsz± od LICZBY, domy¶lnie " +#~ "nieskoñczono¶ci\n" +#~ " ->, --more-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" #~ " wiêksz± od LICZBY, domy¶lnie 1\n" #~ " -u, --unique skrót dla --less-than=2, ¿±da wypisania\n" #~ " wy³±cznie unikalnych komunikatów\n" @@ -550,37 +594,54 @@ msgstr "" #~ msgid "" #~ "Output details:\n" #~ " -t, --to-code=NAME encoding for output\n" -#~ " --use-first use first available translation for each\n" -#~ " message, don't merge several translations\n" -#~ " -e, --no-escape do not use C escapes in output (default)\n" -#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" #~ " --force-po write PO file even if empty\n" #~ " -i, --indent write the .po file using indented style\n" #~ " --no-location do not write '#: filename:line' lines\n" -#~ " -n, --add-location generate '#: filename:line' lines (default)\n" -#~ " --strict write out strict Uniforum conforming .po file\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" -#~ " the output page width, into several lines\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" #~ " -s, --sort-output generate sorted output\n" #~ " -F, --sort-by-file sort output by file location\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" #~ " -t, --to-code=NAZWA kodowanie dla wyj¶cia\n" -#~ " --use-first u¿ycie pierwszego dostêpnego t³umaczenia dla\n" -#~ " ka¿dego komunikatu zamiast ³±czenia wielu\n" -#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " --use-first u¿ycie pierwszego dostêpnego t³umaczenia " +#~ "dla\n" +#~ " ka¿dego komunikatu zamiast ³±czenia " +#~ "wielu\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest " +#~ "pusty\n" #~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" #~ " --no-location nie zapisywanie linii '#: plik:linia'\n" -#~ " -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla " +#~ "wyj¶cia\n" #~ " --no-wrap nie ³amanie na wiele linii komunikatów\n" #~ " d³u¿szych ni¿ szeroko¶æ strony\n" #~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" -#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia " +#~ "pliku\n" #~ msgid "" #~ "Informative output:\n" @@ -589,7 +650,8 @@ msgstr "" #~ msgstr "" #~ "Informacje:\n" #~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -#~ " -V, --version wypisanie informacji o wersji i zakoñczenie\n" +#~ " -V, --version wypisanie informacji o wersji i " +#~ "zakoñczenie\n" #~ msgid "no input files given" #~ msgstr "nie podano plików wej¶ciowych" @@ -603,16 +665,22 @@ msgstr "" #~ msgid "" #~ "Compare two Uniforum style .po files to check that both contain the same\n" #~ "set of msgid strings. The def.po file is an existing PO file with the\n" -#~ "translations. The ref.pot file is the last created PO file, or a PO Template\n" +#~ "translations. The ref.pot file is the last created PO file, or a PO " +#~ "Template\n" #~ "file (generally created by xgettext). This is useful for checking that\n" -#~ "you have translated each and every message in your program. Where an exact\n" -#~ "match cannot be found, fuzzy matching is used to produce better diagnostics.\n" -#~ msgstr "" -#~ "Porównanie dwóch plików .po w stylu Uniforum, ¿eby sprawdziæ czy zawieraj± te\n" -#~ "same zbiory ³añcuchów msgid. Plik def.po to istniej±cy plik PO z t³umaczeniami.\n" +#~ "you have translated each and every message in your program. Where an " +#~ "exact\n" +#~ "match cannot be found, fuzzy matching is used to produce better " +#~ "diagnostics.\n" +#~ msgstr "" +#~ "Porównanie dwóch plików .po w stylu Uniforum, ¿eby sprawdziæ czy " +#~ "zawieraj± te\n" +#~ "same zbiory ³añcuchów msgid. Plik def.po to istniej±cy plik PO z " +#~ "t³umaczeniami.\n" #~ "Plik ref.po jest ostatnio utworzonym plikiem PO lub plikiem PO Template\n" #~ "(zwykle tworzonym przez xgettext). Jest to przydatne do stwierdzenia czy\n" -#~ "wszystkie komunikaty w programie zosta³y przet³umaczone. Tam gdzie nie mo¿na\n" +#~ "wszystkie komunikaty w programie zosta³y przet³umaczone. Tam gdzie nie " +#~ "mo¿na\n" #~ "dopasowaæ dok³adnie, u¿ywane jest dopasowywanie rozmyte dla lepszej\n" #~ "diagnostyki.\n" @@ -620,19 +688,23 @@ msgstr "" #~ "Input file location:\n" #~ " def.po translations\n" #~ " ref.pot references to the sources\n" -#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" #~ " def.po t³umaczenia\n" #~ " ref.pot odniesienia do ¼róde³\n" -#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" #~ msgid "" #~ "Operation modifiers:\n" -#~ " -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" #~ msgstr "" #~ "Modyfikatory operacji:\n" -#~ " -m, --multi-domain zastosowanie ref.pot dla wszystkich domen def.po\n" +#~ " -m, --multi-domain zastosowanie ref.pot dla wszystkich domen " +#~ "def.po\n" #~ msgid "this message is used but not defined..." #~ msgstr "ten komunikat jest u¿yty, ale nie zdefiniowany..." @@ -672,17 +744,23 @@ msgstr "" #~ "cumulated.\n" #~ msgstr "" #~ "Znajduje komunikaty wspólne dla dwóch lub wiêcej podanych plików PO.\n" -#~ "Mo¿na za¿±daæ wiêkszego uwspólnienia przed wypisaniem komunikatów u¿ywaj±c\n" -#~ "opcji --more-than. Odpowiednio opcja --less-than mo¿e byæ u¿yta dla ustalenia\n" -#~ "mniejszego uwspólnienia pomiêdzy komunikatami (np. --less-than=2 wypisze tylko\n" -#~ "unikalne komunikaty). T³umaczenia, komentarze t³umaczeñ i wydobyte zostan±\n" -#~ "zachowane, ale tylko z pierwszego definiuj±cego je pliku PO. Pozycje w plikach\n" +#~ "Mo¿na za¿±daæ wiêkszego uwspólnienia przed wypisaniem komunikatów " +#~ "u¿ywaj±c\n" +#~ "opcji --more-than. Odpowiednio opcja --less-than mo¿e byæ u¿yta dla " +#~ "ustalenia\n" +#~ "mniejszego uwspólnienia pomiêdzy komunikatami (np. --less-than=2 wypisze " +#~ "tylko\n" +#~ "unikalne komunikaty). T³umaczenia, komentarze t³umaczeñ i wydobyte " +#~ "zostan±\n" +#~ "zachowane, ale tylko z pierwszego definiuj±cego je pliku PO. Pozycje w " +#~ "plikach\n" #~ "dla wszystkich plików PO zostan± zgromadzone.\n" #~ msgid "" #~ "Message selection:\n" #~ " -<, --less-than=NUMBER print messages with less than this many\n" -#~ " definitions, defaults to infinite if not\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" #~ " set\n" #~ " ->, --more-than=NUMBER print messages with more than this many\n" #~ " definitions, defaults to 1 if not set\n" @@ -690,43 +768,61 @@ msgstr "" #~ " that only unique messages be printed\n" #~ msgstr "" #~ "Wybór komunikatów:\n" -#~ " -<, --less-than=LICZBA wypisanie komunikatów z liczb± definicji\n" -#~ " mniejsz± od LICZBY, domy¶lnie nieskoñczono¶ci\n" -#~ " ->, --more-than=LICZBA wypisanie komunikatów z liczb± definicji\n" +#~ " -<, --less-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" +#~ " mniejsz± od LICZBY, domy¶lnie " +#~ "nieskoñczono¶ci\n" +#~ " ->, --more-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" #~ " wiêksz± od LICZBY, domy¶lnie 1\n" #~ " -u, --unique skrót dla --less-than=2, ¿±da wypisania\n" #~ " wy³±cznie unikalnych komunikatów\n" #~ msgid "" #~ "Output details:\n" -#~ " -e, --no-escape do not use C escapes in output (default)\n" -#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" #~ " --force-po write PO file even if empty\n" #~ " -i, --indent write the .po file using indented style\n" #~ " --no-location do not write '#: filename:line' lines\n" -#~ " -n, --add-location generate '#: filename:line' lines (default)\n" -#~ " --strict write out strict Uniforum conforming .po file\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" -#~ " the output page width, into several lines\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" #~ " -s, --sort-output generate sorted output\n" #~ " -F, --sort-by-file sort output by file location\n" -#~ " --omit-header don't write header with `msgid \"\"' entry\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest " +#~ "pusty\n" #~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" #~ " --no-location nie zapisywanie linii '#: plik:linia'\n" -#~ " -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla " +#~ "wyj¶cia\n" #~ " --no-wrap nie ³amanie na wiele linii komunikatów\n" #~ " d³u¿szych ni¿ szeroko¶æ strony\n" #~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" -#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -#~ " --omit-header nie zapisywanie nag³ówka z wpisem `msgid \"\"'\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia " +#~ "pliku\n" +#~ " --omit-header nie zapisywanie nag³ówka z wpisem `msgid " +#~ "\"\"'\n" #~ msgid "Converts a translation catalog to a different character encoding.\n" #~ msgstr "Konwertuje katalog t³umaczeñ na inne kodowanie znaków.\n" @@ -747,24 +843,31 @@ msgstr "" #~ " --force-po write PO file even if empty\n" #~ " -i, --indent indented output style\n" #~ " --no-location suppress '#: filename:line' lines\n" -#~ " --add-location preserve '#: filename:line' lines (default)\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" #~ " --strict strict Uniforum output style\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" #~ " the output page width, into several lines\n" #~ " -s, --sort-output generate sorted output\n" #~ " -F, --sort-by-file sort output by file location\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" #~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" #~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" #~ " --no-location pominiêcie linii '#: plik:linia'\n" -#~ " -n, --add-location zachowanie linii '#: plik:linia' (domy¶lne)\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" +#~ " -n, --add-location zachowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" #~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -#~ " --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" #~ " ni¿ szeroko¶æ strony\n" #~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" #~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" @@ -785,19 +888,23 @@ msgstr "" #~ "identical to the msgid, and are marked fuzzy.\n" #~ msgstr "" #~ "Tworzy plik t³umaczeñ angielskich. Plikiem wej¶ciowym jest ostatnio\n" -#~ "tworzony angielski plik PO lub plik PO Template (zazwyczaj stworzony przez\n" -#~ "xgettext). Nie przet³umaczonym wpisom s± przypisywane t³umaczenia identyczne\n" +#~ "tworzony angielski plik PO lub plik PO Template (zazwyczaj stworzony " +#~ "przez\n" +#~ "xgettext). Nie przet³umaczonym wpisom s± przypisywane t³umaczenia " +#~ "identyczne\n" #~ "z msgid oraz oznaczane jako niepewne (fuzzy).\n" #~ msgid "" #~ "Input file location:\n" #~ " INPUTFILE input PO or POT file\n" -#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" #~ "If input file is -, standard input is read.\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" #~ " PLIK-WEJ¦CIOWY plik wej¶ciowy PO lub POT\n" -#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" #~ "Je¶li plikiem wej¶ciowym jest -, czytane jest standardowe wej¶cie.\n" #~ msgid "missing command name" @@ -820,22 +927,28 @@ msgstr "" #~ "z kodów wyj¶cia dla wszystkich wywo³añ.\n" #~ msgid "" -#~ "A special builtin command called '0' outputs the translation, followed by a\n" -#~ "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" +#~ "A special builtin command called '0' outputs the translation, followed by " +#~ "a\n" +#~ "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -" +#~ "0\".\n" #~ msgstr "" -#~ "Specjalne wbudowane polecenie o nazwie '0' wypisuje t³umaczenie zakoñczone\n" +#~ "Specjalne wbudowane polecenie o nazwie '0' wypisuje t³umaczenie " +#~ "zakoñczone\n" #~ "bajtem 0. Wyj¶cie \"msgexec 0\" mo¿e byæ wej¶ciem dla \"xargs -0\".\n" #~ msgid "" #~ "Input file location:\n" #~ " -i, --input=INPUTFILE input PO file\n" -#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" #~ "If no input file is given or if it is -, standard input is read.\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" #~ " -i, --input=PLIK-WEJ¦CIOWY plik wej¶ciowy PO\n" -#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest standardowe\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest " +#~ "standardowe\n" #~ "wej¶cie.\n" #~ msgid "write to stdout failed" @@ -857,22 +970,27 @@ msgstr "" #~ msgstr "Stosuje filtr na wszystkich t³umaczeniach z katalogu t³umaczeñ.\n" #~ msgid "" -#~ "The FILTER can be any program that reads a translation from standard input\n" +#~ "The FILTER can be any program that reads a translation from standard " +#~ "input\n" #~ "and writes a modified translation to standard output.\n" #~ msgstr "" -#~ "FILTR mo¿e byæ dowolnym programem czytaj±cym t³umaczenie ze standardowego\n" +#~ "FILTR mo¿e byæ dowolnym programem czytaj±cym t³umaczenie ze " +#~ "standardowego\n" #~ "wej¶cia i wypisuj±cym zmodyfikowane t³umaczenie na standardowym wyj¶ciu.\n" #~ msgid "" #~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" #~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" #~ " to be executed\n" -#~ " -n, --quiet, --silent suppress automatic printing of pattern space\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" #~ msgstr "" #~ "Przydatne OPCJE-FILTRA je¶li FILTREM jest 'sed':\n" #~ " -e, --expresion=SKRYPT dodanie SKRYPTU do wykonywanych poleceñ\n" -#~ " -f, --file=PLIK-SKRYPTU dodanie zawarto¶ci PLIKU-SKRYPTU do wykonywanych\n" +#~ " -f, --file=PLIK-SKRYPTU dodanie zawarto¶ci PLIKU-SKRYPTU do " +#~ "wykonywanych\n" #~ " poleceñ\n" #~ " -n, --quiet, --silent nie wypisywanie zawarto¶ci wzorca\n" @@ -882,27 +1000,35 @@ msgstr "" #~ " -E, --escape use C escapes in output, no extended chars\n" #~ " --force-po write PO file even if empty\n" #~ " --indent indented output style\n" -#~ " --keep-header keep header entry unmodified, don't filter it\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" #~ " --no-location suppress '#: filename:line' lines\n" -#~ " --add-location preserve '#: filename:line' lines (default)\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" #~ " --strict strict Uniforum output style\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" #~ " the output page width, into several lines\n" #~ " -s, --sort-output generate sorted output\n" #~ " -F, --sort-by-file sort output by file location\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" +#~ " --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" #~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" #~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" #~ " --keep-header zachowanie nag³ówka z pominiêciem filtra\n" #~ " --no-location pominiêcie linii '#: plik:linia'\n" -#~ " --add-location zachowanie linii '#: plik:linia' (domy¶lne)\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" +#~ " --add-location zachowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" #~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -#~ " --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" #~ " ni¿ szeroko¶æ strony\n" #~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" #~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" @@ -955,30 +1081,38 @@ msgstr "" #~ msgid "Usage: %s [OPTION] filename.po ...\n" #~ msgstr "Sk³adnia: %s [OPCJA] nazwa-pliku.po ...\n" -#~ msgid "Generate binary message catalog from textual translation description.\n" -#~ msgstr "Generowanie binarnego katalogu komunikatów z tekstowego opisu t³umaczeñ.\n" +#~ msgid "" +#~ "Generate binary message catalog from textual translation description.\n" +#~ msgstr "" +#~ "Generowanie binarnego katalogu komunikatów z tekstowego opisu t³umaczeñ.\n" #~ msgid "" #~ "Input file location:\n" #~ " filename.po ... input files\n" -#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" #~ "If input file is -, standard input is read.\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" #~ " nazwa-pliku.po ... pliki wej¶ciowe\n" -#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" #~ "Je¶li plikiem wej¶ciowym jest -, czytane jest standardowe wej¶cie.\n" #~ msgid "" #~ "Operation mode:\n" -#~ " -j, --java Java mode: generate a Java ResourceBundle class\n" -#~ " --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" #~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" #~ msgstr "" #~ "Tryb dzia³ania:\n" -#~ " -j, --java tryb Javy: generowanie klas Java ResourceBundle\n" +#~ " -j, --java tryb Javy: generowanie klas Java " +#~ "ResourceBundle\n" #~ " --java2 jak --java dla Javy 2 (JDK 1.2 i nowsze)\n" -#~ " --tcl tryb Tcl: generowanie pliku tcl/msgcat .msg\n" +#~ " --tcl tryb Tcl: generowanie pliku tcl/msgcat ." +#~ "msg\n" #~ msgid "" #~ "Output file location:\n" @@ -988,15 +1122,20 @@ msgstr "" #~ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego:\n" #~ " -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" -#~ " --strict w³±czenie trybu ¶cis³ej zgodno¶ci z Uniforum\n" -#~ "Je¶li plikiem wyj¶ciowym jest -, wynik jest kierowany na standardowe wyj¶cie.\n" +#~ " --strict w³±czenie trybu ¶cis³ej zgodno¶ci z " +#~ "Uniforum\n" +#~ "Je¶li plikiem wyj¶ciowym jest -, wynik jest kierowany na standardowe " +#~ "wyj¶cie.\n" #~ msgid "" #~ "Output file location in Java mode:\n" #~ " -r, --resource=RESOURCE resource name\n" -#~ " -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -#~ " -d DIRECTORY base directory of classes directory hierarchy\n" -#~ "The class name is determined by appending the locale name to the resource name,\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of classes directory " +#~ "hierarchy\n" +#~ "The class name is determined by appending the locale name to the resource " +#~ "name,\n" #~ "separated with an underscore. The -d option is mandatory. The class is\n" #~ "written under the specified directory.\n" #~ msgstr "" @@ -1005,12 +1144,14 @@ msgstr "" #~ " -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" #~ " -d KATALOG bazowy katalog w hierarchii katalogu klas\n" #~ "Nazwa klasy jest okre¶lana poprzez do³±czenie nazwy lokalizacji do nazwy\n" -#~ "zasobu, oddzielaj±c je znakiem podkre¶lenia. Opcja -d jest obowi±zkowa. Klasa\n" +#~ "zasobu, oddzielaj±c je znakiem podkre¶lenia. Opcja -d jest obowi±zkowa. " +#~ "Klasa\n" #~ "jest zapisywana w podanym katalogu.\n" #~ msgid "" #~ "Output file location in Tcl mode:\n" -#~ " -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" #~ " -d DIRECTORY base directory of .msg message catalogs\n" #~ "The -l and -d options are mandatory. The .msg file is written in the\n" #~ "specified directory.\n" @@ -1018,41 +1159,58 @@ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego w trybie Tcl:\n" #~ " -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" #~ " -d KATALOG bazowy katalog katalogów komunikatów .msg\n" -#~ "Opcje -l i -d s± obowi±zkowe. Plik .msg jest zapisywany w podanym katalogu.\n" +#~ "Opcje -l i -d s± obowi±zkowe. Plik .msg jest zapisywany w podanym " +#~ "katalogu.\n" #~ msgid "" #~ "Input file interpretation:\n" #~ " -c, --check perform all the checks implied by\n" -#~ " --check-format, --check-header, --check-domain\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" #~ " --check-format check language dependent format strings\n" -#~ " --check-header verify presence and contents of the header entry\n" -#~ " --check-domain check for conflicts between domain directives\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" #~ " and the --output-file option\n" -#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -#~ " --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" #~ " menu items\n" #~ " -f, --use-fuzzy use fuzzy entries in output\n" #~ msgstr "" #~ "Interpretacja pliku wej¶ciowego:\n" -#~ " -c, --check wykonanie wszystkich testów w³±czanych przez\n" -#~ " --check-format, --check-header, --check-domain\n" -#~ " --check-format sprawdzenie t³umaczeñ z ³añcuchami formatuj±cymi\n" -#~ " --check-header sprawdzenie obecno¶ci i zawarto¶ci wpisu nag³ówka\n" +#~ " -c, --check wykonanie wszystkich testów w³±czanych " +#~ "przez\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format sprawdzenie t³umaczeñ z ³añcuchami " +#~ "formatuj±cymi\n" +#~ " --check-header sprawdzenie obecno¶ci i zawarto¶ci wpisu " +#~ "nag³ówka\n" #~ " --check-domain sprawdzenie konfliktów miêdzy dyrektywami\n" #~ " dotycz±cymi domeny i opcj± --output-file\n" -#~ " -C, --check-compatibility kontrola czy GNU msgfmt dzia³a jak X/Open msgfmt\n" -#~ " --check-accelerators[=ZNAK] sprawdzenie obecno¶ci skrótów klawiszowych\n" +#~ " -C, --check-compatibility kontrola czy GNU msgfmt dzia³a jak X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=ZNAK] sprawdzenie obecno¶ci skrótów " +#~ "klawiszowych\n" #~ " dla opcji w menu\n" -#~ " -f, --use-fuzzy u¿ycie na wyj¶ciu niepewnych (fuzzy) wpisów\n" +#~ " -f, --use-fuzzy u¿ycie na wyj¶ciu niepewnych (fuzzy) " +#~ "wpisów\n" #~ msgid "" #~ "Output details:\n" -#~ " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -#~ " --no-hash binary file will not include the hash table\n" +#~ " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %" +#~ "d)\n" +#~ " --no-hash binary file will not include the hash " +#~ "table\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " -a, --alignment=LICZBA wyrównanie ³añcuchów w bajtach (domy¶lnie: %d)\n" -#~ " --no-hash tworzenie pliku binarnego bez tablicy haszuj±cej\n" +#~ " -a, --alignment=LICZBA wyrównanie ³añcuchów w bajtach (domy¶lnie: %" +#~ "d)\n" +#~ " --no-hash tworzenie pliku binarnego bez tablicy " +#~ "haszuj±cej\n" #~ msgid "" #~ "Informative output:\n" @@ -1062,8 +1220,10 @@ msgstr "" #~ " -v, --verbose increase verbosity level\n" #~ msgstr "" #~ "Informacje:\n" -#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -#~ " -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" +#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie " +#~ "pracy\n" +#~ " -V, --version wypisanie informacji o wersji i zakoñczenie " +#~ "pracy\n" #~ " --statistics wypisanie statystyk dotycz±cych t³umaczeñ\n" #~ " -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" @@ -1206,7 +1366,8 @@ msgstr "" #~ msgstr "opcja '%c' nie mo¿e byæ u¿ywa przed podaniem 'K' lub 'T'" #~ msgid "" -#~ "Extracts all messages of a translation catalog that match a given pattern\n" +#~ "Extracts all messages of a translation catalog that match a given " +#~ "pattern\n" #~ "or belong to some given source files.\n" #~ msgstr "" #~ "Wyci±ga z katalogu t³umaczeñ wszystkie komunikaty pasuj±ce do podanego\n" @@ -1216,9 +1377,11 @@ msgstr "" #~ "Message selection:\n" #~ " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" #~ " [-K MSGID-PATTERN] [-T MSGSTR-PATTERN] [-C COMMENT-PATTERN]\n" -#~ "A message is selected if it comes from one of the specified source files,\n" +#~ "A message is selected if it comes from one of the specified source " +#~ "files,\n" #~ "or if it comes from one of the specified domains,\n" -#~ "or if -K is given and its key (msgid or msgid_plural) matches MSGID-PATTERN,\n" +#~ "or if -K is given and its key (msgid or msgid_plural) matches MSGID-" +#~ "PATTERN,\n" #~ "or if -T is given and its translation (msgstr) matches MSGSTR-PATTERN,\n" #~ "or if -C is given and the translator's comment matches COMMENT-PATTERN.\n" #~ "\n" @@ -1231,11 +1394,13 @@ msgstr "" #~ "expressions if -E is given, or fixed strings if -F is given.\n" #~ "\n" #~ " -N, --location=SOURCEFILE select messages extracted from SOURCEFILE\n" -#~ " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" +#~ " -M, --domain=DOMAINNAME select messages belonging to domain " +#~ "DOMAINNAME\n" #~ " -K, --msgid start of patterns for the msgid\n" #~ " -T, --msgstr start of patterns for the msgstr\n" #~ " -E, --extended-regexp PATTERN is an extended regular expression\n" -#~ " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" +#~ " -F, --fixed-strings PATTERN is a set of newline-separated " +#~ "strings\n" #~ " -e, --regexp=PATTERN use PATTERN as a regular expression\n" #~ " -f, --file=FILE obtain PATTERN from FILE\n" #~ " -i, --ignore-case ignore case distinctions\n" @@ -1245,24 +1410,31 @@ msgstr "" #~ " [-K WZORZEC-MSGID] [-T WZORZEC-MSGSTR] [-C WZORZEC-KOMENTARZA]\n" #~ "Komunikat jest wybierany je¶li pochodzi z jednego z podanych plików\n" #~ "¼ród³owych, lub pochodzi z jednej z podanych domen,\n" -#~ "lub je¶li podano -K i klucz (msgid lub msgid_plural) pasuje do WZORCA-MSGID,\n" +#~ "lub je¶li podano -K i klucz (msgid lub msgid_plural) pasuje do WZORCA-" +#~ "MSGID,\n" #~ "lub je¶li podano -T i to t³umaczenie (msgstr) pasuje do WZORCA-MSGSTR,\n" #~ "lub je¶li podano -C i komentarz t³umacza pasuje do WZORCA-KOMENTARZA.\n" #~ "\n" -#~ "Je¶li podano wiêcej ni¿ jedno kryterium wyboru, zbiór wybranych komunikatów\n" +#~ "Je¶li podano wiêcej ni¿ jedno kryterium wyboru, zbiór wybranych " +#~ "komunikatów\n" #~ "jest sum± komunikatów wybranych dla ka¿dego kryterium.\n" #~ "\n" #~ "Sk³adnia dla WZORCA-MSGID lub WZORCA-MSGSTR:\n" #~ " [-E | -F] [-e WZORZEC | -f PLIK]...\n" -#~ "WZORCE s± domy¶lnie podstawowymi wyra¿eniami regularnymi, lub rozszerzonymi\n" -#~ "wyra¿eniami regularnymi je¶li podano -E, lub sta³ymi ci±gami je¶li podano -F.\n" +#~ "WZORCE s± domy¶lnie podstawowymi wyra¿eniami regularnymi, lub " +#~ "rozszerzonymi\n" +#~ "wyra¿eniami regularnymi je¶li podano -E, lub sta³ymi ci±gami je¶li podano " +#~ "-F.\n" #~ "\n" -#~ " -N, --location=PLIK-¬RÓD£ wybranie komunikatów wyci±gniêtych z PLIKU-¬RÓD£\n" +#~ " -N, --location=PLIK-¬RÓD£ wybranie komunikatów wyci±gniêtych z PLIKU-" +#~ "¬RÓD£\n" #~ " -M, --domain=DOMENA wybranie komunikatów nale¿±cych do DOMENY\n" #~ " -K, --msgid pocz±tek wzorców dla msgid\n" #~ " -T, --msgstr pocz±tek wzorców dla msgstr\n" -#~ " -E, --extended-regexp WZORZEC jest rozszerzonym wyra¿eniem regularnym\n" -#~ " -F, --fixed-strings WZORZEC jest zbiorem ³añcuchów oddzielonych \\n\n" +#~ " -E, --extended-regexp WZORZEC jest rozszerzonym wyra¿eniem " +#~ "regularnym\n" +#~ " -F, --fixed-strings WZORZEC jest zbiorem ³añcuchów oddzielonych " +#~ "\\n\n" #~ " -e, --regexp=WZORZEC u¿ycie WZORCA jako wyra¿enia regularnego\n" #~ " -f, --file=PLIK pobranie WZORCA z PLIKU\n" #~ " -i, --ignore-case nie rozró¿nianie wielko¶ci liter\n" @@ -1274,24 +1446,31 @@ msgstr "" #~ " --force-po write PO file even if empty\n" #~ " --indent indented output style\n" #~ " --no-location suppress '#: filename:line' lines\n" -#~ " --add-location preserve '#: filename:line' lines (default)\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" #~ " --strict strict Uniforum output style\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" #~ " the output page width, into several lines\n" #~ " --sort-output generate sorted output\n" #~ " --sort-by-file sort output by file location\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" +#~ " --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" #~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" #~ " --indent zapisanie pliku .po w stylu z wciêciami\n" #~ " --no-location pominiêcie linii '#: plik:linia'\n" -#~ " --add-location zachowanie linii '#: plik:linia' (domy¶lne)\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" +#~ " --add-location zachowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" #~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -#~ " --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" #~ " ni¿ szeroko¶æ strony\n" #~ " --sort-output generowanie posortowanego wyj¶cia\n" #~ " --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" @@ -1321,48 +1500,59 @@ msgstr "" #~ msgstr "Utworzono %s.\n" #~ msgid "" -#~ "Creates a new PO file, initializing the meta information with values from the\n" +#~ "Creates a new PO file, initializing the meta information with values from " +#~ "the\n" #~ "user's environment.\n" #~ msgstr "" -#~ "Tworzy nowy plik PO, inicjalizuj±c meta-informacje warto¶ciami ze ¶rodowiska\n" +#~ "Tworzy nowy plik PO, inicjalizuj±c meta-informacje warto¶ciami ze " +#~ "¶rodowiska\n" #~ "u¿ytkownika.\n" #~ msgid "" #~ "Input file location:\n" #~ " -i, --input=INPUTFILE input POT file\n" -#~ "If no input file is given, the current directory is searched for the POT file.\n" +#~ "If no input file is given, the current directory is searched for the POT " +#~ "file.\n" #~ "If it is -, standard input is read.\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego\n" #~ " -i, --input-PLIK-WEJ¦CIOWY plik wej¶ciowy POT\n" -#~ "Je¶li nie podano pliku wej¶ciowego, plik POT jest szukany w bie¿±cym katalogu.\n" +#~ "Je¶li nie podano pliku wej¶ciowego, plik POT jest szukany w bie¿±cym " +#~ "katalogu.\n" #~ "Je¶li plik to -, czytane jest standardowe wej¶cie.\n" #~ msgid "" #~ "Output file location:\n" #~ " -o, --output-file=FILE write output to specified PO file\n" -#~ "If no output file is given, it depends on the --locale option or the user's\n" +#~ "If no output file is given, it depends on the --locale option or the " +#~ "user's\n" #~ "locale setting. If it is -, the results are written to standard output.\n" #~ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego:\n" #~ " -o, --output-file=PLIK zapisanie wyniku do podanego pliku PO\n" -#~ "Je¶li nie podano pliku wyj¶ciowego, zale¿y on od podanej opcji --locale lub\n" -#~ "ustawieñ lokalizacji u¿ytkownika. Je¶li plik to -, wyniki s± wypisywane na\n" +#~ "Je¶li nie podano pliku wyj¶ciowego, zale¿y on od podanej opcji --locale " +#~ "lub\n" +#~ "ustawieñ lokalizacji u¿ytkownika. Je¶li plik to -, wyniki s± wypisywane " +#~ "na\n" #~ "standardowym wyj¶ciu.\n" #~ msgid "" #~ "Output details:\n" #~ " -l, --locale=LL_CC set target locale\n" -#~ " --no-translator assume the PO file is automatically generated\n" +#~ " --no-translator assume the PO file is automatically " +#~ "generated\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" #~ " the output page width, into several lines\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" #~ " -l, --locale=JJ_KK ustawienie docelowej lokalizacji\n" -#~ " --no-translator uznanie, ¿e plik PO jest generowany automatycznie\n" +#~ " --no-translator uznanie, ¿e plik PO jest generowany " +#~ "automatycznie\n" #~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -#~ " --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" #~ " ni¿ szeroko¶æ strony\n" #~ msgid "" @@ -1524,7 +1714,8 @@ msgstr "" #~ "Merges two Uniforum style .po files together. The def.po file is an\n" #~ "existing PO file with translations which will be taken over to the newly\n" #~ "created file as long as they still match; comments will be preserved,\n" -#~ "but extracted comments and file positions will be discarded. The ref.pot\n" +#~ "but extracted comments and file positions will be discarded. The ref." +#~ "pot\n" #~ "file is the last created PO file with up-to-date source references but\n" #~ "old translations, or a PO Template file (generally created by xgettext);\n" #~ "any translations or comments in the file will be discarded, however dot\n" @@ -1535,24 +1726,32 @@ msgstr "" #~ "plikiem PO ze starymi t³umaczeniami, które bêd± przeniesione do nowo\n" #~ "utworzonego pliku je¿eli nadal pasuj±; komentarze bêd± zachowane, ale\n" #~ "komentarze wydobyte i pozycje w pliku bêd± pominiête. Plik ref.po jest\n" -#~ "ostatnio utworzonym plikiem PO Template (zwykle tworzonym przez xgettext);\n" -#~ "t³umaczenia i komentarze w nim zawarte bêd± zignorowane, ale komentarze z\n" -#~ "kropk± i pozycje w plikach bêd± zachowane. Tam, gdzie nie mo¿na dopasowaæ\n" +#~ "ostatnio utworzonym plikiem PO Template (zwykle tworzonym przez " +#~ "xgettext);\n" +#~ "t³umaczenia i komentarze w nim zawarte bêd± zignorowane, ale komentarze " +#~ "z\n" +#~ "kropk± i pozycje w plikach bêd± zachowane. Tam, gdzie nie mo¿na " +#~ "dopasowaæ\n" #~ "dok³adnie, u¿ywane jest dopasowanie rozmyte, dla lepszych wyników.\n" #~ msgid "" #~ "Input file location:\n" #~ " def.po translations referring to old sources\n" #~ " ref.pot references to new sources\n" -#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -#~ " -C, --compendium=FILE additional library of message translations,\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" #~ " may be specified more than once\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" -#~ " def.po t³umaczenia odnosz±ce siê do starych ¼róde³\n" +#~ " def.po t³umaczenia odnosz±ce siê do starych " +#~ "¼róde³\n" #~ " ref.pot odniesienia do nowych ¼róde³\n" -#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -#~ " -C, --compendium=PLIK dodatkowa biblioteka t³umaczeñ komunikatów,\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ " -C, --compendium=PLIK dodatkowa biblioteka t³umaczeñ " +#~ "komunikatów,\n" #~ " mo¿e byæ podana wiêcej ni¿ raz\n" #~ msgid "" @@ -1569,24 +1768,29 @@ msgstr "" #~ "The result is written back to def.po.\n" #~ " --backup=CONTROL make a backup of def.po\n" #~ " --suffix=SUFFIX override the usual backup suffix\n" -#~ "The version control method may be selected via the --backup option or through\n" +#~ "The version control method may be selected via the --backup option or " +#~ "through\n" #~ "the VERSION_CONTROL environment variable. Here are the values:\n" #~ " none, off never make backups (even if --backup is given)\n" #~ " numbered, t make numbered backups\n" #~ " existing, nil numbered if numbered backups exist, simple otherwise\n" #~ " simple, never always make simple backups\n" -#~ "The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" +#~ "The backup suffix is `~', unless set with --suffix or the " +#~ "SIMPLE_BACKUP_SUFFIX\n" #~ "environment variable.\n" #~ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego w trybie uaktualniania:\n" #~ "Wynik jest zapisywany z powrotem do def.po.\n" #~ " --backup=KONTROLA utworzenie kopii zapasowej def.po\n" #~ " --suffix=KOÑCÓWKA zmiana domy¶lnej koñcówki kopii zapasowej\n" -#~ "Metoda kontroli wersji mo¿e byæ wybrana za pomoc± opcji --backup lub zmiennej\n" +#~ "Metoda kontroli wersji mo¿e byæ wybrana za pomoc± opcji --backup lub " +#~ "zmiennej\n" #~ "¶rodowiskowej VERSION_CONTROL. Warto¶ci to:\n" -#~ " none, off nie tworzenie kopii zapasowych (nawet je¶li podano --backup)\n" +#~ " none, off nie tworzenie kopii zapasowych (nawet je¶li podano --" +#~ "backup)\n" #~ " numbered, t tworzenie numerowanych kopii zapasowych\n" -#~ " existing, nil numerowanie je¶li istniej± numerowane, proste je¶li nie\n" +#~ " existing, nil numerowanie je¶li istniej± numerowane, proste je¶li " +#~ "nie\n" #~ " simple, never tworzenie zawsze prostych kopii zapasowych\n" #~ "Koñcówka kopii zapasowej to `~', o ile nie ustawiono przez --suffix lub\n" #~ "zmienn± ¶rodowiskow± SIMPLE_BACKUP_SUFFIX.\n" @@ -1599,8 +1803,10 @@ msgstr "" #~ " -q, --quiet, --silent suppress progress indicators\n" #~ msgstr "" #~ "Informacje:\n" -#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -#~ " -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" +#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie " +#~ "pracy\n" +#~ " -V, --version wypisanie informacji o wersji i zakoñczenie " +#~ "pracy\n" #~ " -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" #~ " -q, --quiet, --silent pominiêcie znaczników postêpu\n" @@ -1627,16 +1833,21 @@ msgstr "" #~ msgstr "Sk³adnia: %s [OPCJA] [PLIK]...\n" #~ msgid "Convert binary message catalog to Uniforum style .po file.\n" -#~ msgstr "Przekonwertowanie binarnego katalogu komunikatów na plik .po w stylu Uniforum.\n" +#~ msgstr "" +#~ "Przekonwertowanie binarnego katalogu komunikatów na plik .po w stylu " +#~ "Uniforum.\n" #~ msgid "" #~ "Operation mode:\n" -#~ " -j, --java Java mode: input is a Java ResourceBundle class\n" +#~ " -j, --java Java mode: input is a Java ResourceBundle " +#~ "class\n" #~ " --tcl Tcl mode: input is a tcl/msgcat .msg file\n" #~ msgstr "" #~ "Tryb pracy:\n" -#~ " -j, --java tryb Javy: wej¶cie jest klas± Java ResourceBundle\n" -#~ " --tcl tryb Tcl: wej¶cie jest plikiem tcl/msgcat .msg\n" +#~ " -j, --java tryb Javy: wej¶cie jest klas± Java " +#~ "ResourceBundle\n" +#~ " --tcl tryb Tcl: wej¶cie jest plikiem tcl/msgcat ." +#~ "msg\n" #~ msgid "" #~ "Input file location:\n" @@ -1645,26 +1856,31 @@ msgstr "" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego:\n" #~ " PLIK ... pliki wej¶ciowe .mo\n" -#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest standardowe\n" +#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest " +#~ "standardowe\n" #~ "wej¶cie.\n" #~ msgid "" #~ "Input file location in Java mode:\n" #~ " -r, --resource=RESOURCE resource name\n" -#~ " -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -#~ "The class name is determined by appending the locale name to the resource name,\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ "The class name is determined by appending the locale name to the resource " +#~ "name,\n" #~ "separated with an underscore. The class is located using the CLASSPATH.\n" #~ msgstr "" #~ "Po³o¿enie pliku wej¶ciowego w trybie Javy:\n" #~ " -r, --resource=ZASÓB nazwa zasobu\n" #~ " -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" #~ "Nazwa klasy jest okre¶lana poprzez do³±czenie nazwy lokalizacji do nazwy\n" -#~ "zasobu, rozdzielaj±c je znakiem podkre¶lenia. Klasa jest szukana przy u¿yciu\n" +#~ "zasobu, rozdzielaj±c je znakiem podkre¶lenia. Klasa jest szukana przy " +#~ "u¿yciu\n" #~ "CLASSPATH.\n" #~ msgid "" #~ "Input file location in Tcl mode:\n" -#~ " -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" #~ " -d DIRECTORY base directory of .msg message catalogs\n" #~ "The -l and -d options are mandatory. The .msg file is located in the\n" #~ "specified directory.\n" @@ -1677,12 +1893,14 @@ msgstr "" #~ msgid "" #~ "Output file location:\n" #~ " -o, --output-file=FILE write output to specified file\n" -#~ "The results are written to standard output if no output file is specified\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" #~ "or if it is -.\n" #~ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego:\n" #~ " -o, --output-file=PLIK zapisanie wyniku do podanego pliku\n" -#~ "Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku lub podany\n" +#~ "Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku lub " +#~ "podany\n" #~ "plik to -.\n" #~ msgid "" @@ -1698,13 +1916,17 @@ msgstr "" #~ " -s, --sort-output generate sorted output\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" #~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" #~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" #~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -#~ " --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" #~ " ni¿ szeroko¶æ strony\n" #~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" @@ -1716,37 +1938,50 @@ msgstr "" #~ msgstr "" #~ "Informacje:\n" #~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -#~ " -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" +#~ " -V, --version wypisanie informacji o wersji i zakoñczenie " +#~ "pracy\n" #~ " -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" #~ msgid "" #~ "Unifies duplicate translations in a translation catalog.\n" -#~ "Finds duplicate translations of the same message ID. Such duplicates are\n" +#~ "Finds duplicate translations of the same message ID. Such duplicates " +#~ "are\n" #~ "invalid input for other programs like msgfmt, msgmerge or msgcat. By\n" -#~ "default, duplicates are merged together. When using the --repeated option,\n" -#~ "only duplicates are output, and all other messages are discarded. Comments\n" +#~ "default, duplicates are merged together. When using the --repeated " +#~ "option,\n" +#~ "only duplicates are output, and all other messages are discarded. " +#~ "Comments\n" #~ "and extracted comments will be cumulated, except that if --use-first is\n" -#~ "specified, they will be taken from the first translation. File positions\n" -#~ "will be cumulated. When using the --unique option, duplicates are discarded.\n" +#~ "specified, they will be taken from the first translation. File " +#~ "positions\n" +#~ "will be cumulated. When using the --unique option, duplicates are " +#~ "discarded.\n" #~ msgstr "" #~ "Unifikuje powielone t³umaczenia w katalogu t³umaczeñ.\n" -#~ "Odnajduje powielone t³umaczenia z tym samym ID komunikatu. Takie duplikaty nie\n" -#~ "s± poprawnym wej¶ciem dla innych programów, takich jak msgfmt, msgmerge czy\n" +#~ "Odnajduje powielone t³umaczenia z tym samym ID komunikatu. Takie " +#~ "duplikaty nie\n" +#~ "s± poprawnym wej¶ciem dla innych programów, takich jak msgfmt, msgmerge " +#~ "czy\n" #~ "msgcat. Domy¶lnie duplikaty s± ³±czone. Je¶li podano opcjê --repeated,\n" #~ "wypisywane s± tylko duplikaty, a wszystkie inne komunikaty s± pomijane.\n" -#~ "Komentarze i wydobyte komentarze zostan± zgromadzone, chyba ¿e podano opcjê\n" -#~ "--use-first - wtedy bêd± skopiowane tylko z pierwszego t³umaczenia. Pozycje\n" -#~ "w plikach zostan± zgromadzone. W przypadku u¿ycia opcji --unique, duplikaty\n" +#~ "Komentarze i wydobyte komentarze zostan± zgromadzone, chyba ¿e podano " +#~ "opcjê\n" +#~ "--use-first - wtedy bêd± skopiowane tylko z pierwszego t³umaczenia. " +#~ "Pozycje\n" +#~ "w plikach zostan± zgromadzone. W przypadku u¿ycia opcji --unique, " +#~ "duplikaty\n" #~ "zostan± usuniête.\n" #~ msgid "" #~ "Message selection:\n" #~ " -d, --repeated print only duplicates\n" -#~ " -u, --unique print only unique messages, discard duplicates\n" +#~ " -u, --unique print only unique messages, discard " +#~ "duplicates\n" #~ msgstr "" #~ "Wybór komunikatów:\n" #~ " -d, --repeated wypisanie tylko duplikatów\n" -#~ " -u, --unique wypisanie tylko unikalnych, bez duplikatów\n" +#~ " -u, --unique wypisanie tylko unikalnych, bez " +#~ "duplikatów\n" #~ msgid "" #~ msgstr "" @@ -1867,10 +2102,12 @@ msgstr "" #~ msgstr "Sk³adnia: %s [OPCJA] URL PLIK\n" #~ msgid "" -#~ "Fetches and outputs the contents of an URL. If the URL cannot be accessed,\n" +#~ "Fetches and outputs the contents of an URL. If the URL cannot be " +#~ "accessed,\n" #~ "the locally accessible FILE is used instead.\n" #~ msgstr "" -#~ "Pobiera i wypisuje zawarto¶æ URL-a. Je¶li URL jest niedostêpny, u¿ywany jest\n" +#~ "Pobiera i wypisuje zawarto¶æ URL-a. Je¶li URL jest niedostêpny, u¿ywany " +#~ "jest\n" #~ "lokalnie dostêpny PLIK.\n" #~ msgid "error writing stdout" @@ -1952,41 +2189,53 @@ msgstr "" #~ "C" #~ msgid "Extract translatable strings from given input files.\n" -#~ msgstr "Wyci±gniêcie przet³umaczalnych ³añcuchów z podanych plików wej¶ciowych.\n" +#~ msgstr "" +#~ "Wyci±gniêcie przet³umaczalnych ³añcuchów z podanych plików wej¶ciowych.\n" #~ msgid "" #~ "Mandatory arguments to long options are mandatory for short options too.\n" #~ "Similarly for optional arguments.\n" #~ msgstr "" -#~ "Argumenty obowi±zkowe dla d³ugich opcji s± obowi±zkowe tak¿e dla krótkich.\n" +#~ "Argumenty obowi±zkowe dla d³ugich opcji s± obowi±zkowe tak¿e dla " +#~ "krótkich.\n" #~ "Podobnie dla argumentów opcjonalnych.\n" #~ msgid "" #~ "Output file location:\n" -#~ " -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" #~ " -o, --output=FILE write output to specified file\n" -#~ " -p, --output-dir=DIR output files will be placed in directory DIR\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" #~ "If output file is -, output is written to standard output.\n" #~ msgstr "" #~ "Po³o¿enie pliku wyj¶ciowego:\n" -#~ " -d, --default-domain=NAZWA u¿ycie NAZWA.po (nie messages.po) dla wyj¶cia\n" +#~ " -d, --default-domain=NAZWA u¿ycie NAZWA.po (nie messages.po) dla " +#~ "wyj¶cia\n" #~ " -o, --output=PLIK zapisanie wyniku do podanego pliku\n" -#~ " -p, --output-dir=KATALOG umieszczenie plików wyj¶ciowych w KATALOGU\n" -#~ "Je¶li plik wyj¶ciowy to -, wynik zostanie wypisany na standardowym wyj¶ciu.\n" +#~ " -p, --output-dir=KATALOG umieszczenie plików wyj¶ciowych w " +#~ "KATALOGU\n" +#~ "Je¶li plik wyj¶ciowy to -, wynik zostanie wypisany na standardowym " +#~ "wyj¶ciu.\n" #~ msgid "" #~ "Choice of input file language:\n" #~ " -L, --language=NAME recognise the specified language\n" -#~ " (C, C++, ObjectiveC, PO, Python, Lisp,\n" -#~ " EmacsLisp, librep, Java, awk, YCP, Tcl,\n" +#~ " (C, C++, ObjectiveC, PO, Python, " +#~ "Lisp,\n" +#~ " EmacsLisp, librep, Java, awk, YCP, " +#~ "Tcl,\n" #~ " RST, Glade)\n" #~ " -C, --c++ shorthand for --language=C++\n" -#~ "By default the language is guessed depending on the input file name extension.\n" +#~ "By default the language is guessed depending on the input file name " +#~ "extension.\n" #~ msgstr "" #~ "Wybór jêzyka pliku wej¶ciowego:\n" #~ " -L, --language=NAZWA rozpoznawanie podanego jêzyka\n" -#~ " (C, C++, ObjectiveC, PO, Python, Lisp,\n" -#~ " EmacsLisp, librep, Java, awk, YCP, Tcl,\n" +#~ " (C, C++, ObjectiveC, PO, Python, " +#~ "Lisp,\n" +#~ " EmacsLisp, librep, Java, awk, YCP, " +#~ "Tcl,\n" #~ " RST, Glade)\n" #~ " -C, --c++ skrót dla --language=C++\n" @@ -1998,69 +2247,98 @@ msgstr "" #~ " preceding keyword lines) in output file\n" #~ msgstr "" #~ "Tryb pracy:\n" -#~ " -j, --join-existing do³±czenie komunikatów do istniej±cego pliku\n" +#~ " -j, --join-existing do³±czenie komunikatów do istniej±cego " +#~ "pliku\n" #~ " -x, --exclude-file=PLIK.po pominiêcie wpisów z PLIKU.po\n" -#~ " -c, --add-comments[=ZNACZNIK] umieszczenie bloków komentarza ze ZNACZNIKIEM\n" +#~ " -c, --add-comments[=ZNACZNIK] umieszczenie bloków komentarza ze " +#~ "ZNACZNIKIEM\n" #~ " (lub poprzedzaj±cych linie ze s³owem\n" #~ " kluczowym) w pliku wyj¶ciowym\n" #~ msgid "" #~ "Language=C/C++ specific options:\n" #~ " -a, --extract-all extract all strings\n" -#~ " -k, --keyword[=WORD] additional keyword to be looked for (without\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" #~ " WORD means not to use default keywords)\n" #~ " -T, --trigraphs understand ANSI C trigraphs for input\n" -#~ " --debug more detailed formatstring recognition result\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" #~ msgstr "" #~ "Opcje specyficzne dla jêzyków C/C++:\n" #~ " -a, --extract-all wyci±gniêcie wszystkich ³añcuchów\n" -#~ " -k, --keyword[=S£OWO] dodatkowe s³owo kluczowe do poszukiwania\n" -#~ " (bez S£OWA oznacza nie u¿ywanie domy¶lnych)\n" -#~ " -T, --trigraphs przetwarzanie na wej¶ciu trójznaków ANSI C\n" -#~ " --debug wiêcej szczegó³ów o rozpoznawaniu ³añcuchów\n" +#~ " -k, --keyword[=S£OWO] dodatkowe s³owo kluczowe do " +#~ "poszukiwania\n" +#~ " (bez S£OWA oznacza nie u¿ywanie " +#~ "domy¶lnych)\n" +#~ " -T, --trigraphs przetwarzanie na wej¶ciu trójznaków ANSI " +#~ "C\n" +#~ " --debug wiêcej szczegó³ów o rozpoznawaniu " +#~ "³añcuchów\n" #~ " formatuj±cych\n" #~ msgid "" #~ "Output details:\n" -#~ " -e, --no-escape do not use C escapes in output (default)\n" -#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" #~ " --force-po write PO file even if empty\n" #~ " -i, --indent write the .po file using indented style\n" #~ " --no-location do not write '#: filename:line' lines\n" -#~ " -n, --add-location generate '#: filename:line' lines (default)\n" -#~ " --strict write out strict Uniforum conforming .po file\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" #~ " -w, --width=NUMBER set output page width\n" -#~ " --no-wrap do not break long message lines, longer than\n" -#~ " the output page width, into several lines\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" #~ " -s, --sort-output generate sorted output\n" #~ " -F, --sort-by-file sort output by file location\n" -#~ " --omit-header don't write header with `msgid \"\"' entry\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" #~ " --copyright-holder=STRING set copyright holder in output\n" -#~ " --foreign-user omit FSF copyright in output for foreign user\n" -#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" #~ msgstr "" #~ "Szczegó³y dotycz±ce wyj¶cia:\n" -#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -#~ " -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest " +#~ "pusty\n" #~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" #~ " --no-location nie zapisywanie linii '#: plik:linia'\n" -#~ " -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla " +#~ "wyj¶cia\n" #~ " --no-wrap nie ³amanie na wiele linii komunikatów\n" #~ " d³u¿szych ni¿ szeroko¶æ strony\n" #~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" -#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -#~ " --omit-header nie zapisywanie nag³ówka z wpisem `msgid \"\"'\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia " +#~ "pliku\n" +#~ " --omit-header nie zapisywanie nag³ówka z wpisem `msgid " +#~ "\"\"'\n" #~ " --copyright-holder=£AÑCUCH ustawienie na wyj¶ciu w³a¶ciciela praw\n" #~ " autorskich\n" -#~ " --foreign-user pominiêcie na wyj¶ciu copyrightu FSF dla\n" +#~ " --foreign-user pominiêcie na wyj¶ciu copyrightu FSF " +#~ "dla\n" #~ " zewnêtrznych projektów\n" -#~ " -m, --msgstr-prefix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako przedrostka wpisów\n" +#~ " -m, --msgstr-prefix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako " +#~ "przedrostka wpisów\n" #~ " msgstr\n" -#~ " -M, --msgstr-suffix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako przyrostka wpisów\n" +#~ " -M, --msgstr-suffix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako przyrostka " +#~ "wpisów\n" #~ " msgstr\n" #~ msgid "standard input" diff --git a/gettext-runtime/po/pt.po b/gettext-runtime/po/pt.po index 3867a92e4..4fb8ce307 100644 --- a/gettext-runtime/po/pt.po +++ b/gettext-runtime/po/pt.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.23\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 1996-09-18 20:51 WET DST\n" "Last-Translator: Nuno Oliveira \n" "Language-Team: Portuguese \n" @@ -13,71 +14,73 @@ msgstr "" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Erro desconhecido do sistema" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: a opção `%s' é ambígua\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: a opção `--%s' não permite um argumento\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: a opção `%c%s' não permite um argumento\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: a opção `%s' requere um argumento\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: opção não reconhecida `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: opção não reconhecida `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: opção ilegal -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: opção ilegal -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opção requere um argumento -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, fuzzy, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: a opção `%s' é ambígua\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, fuzzy, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: a opção `--%s' não permite um argumento\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 #, fuzzy msgid "memory exhausted" msgstr "memória exausta" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -85,37 +88,37 @@ msgid "" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "demasiados argumentos" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "argumentos insuficientes" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, fuzzy, c-format msgid "Try `%s --help' for more information.\n" msgstr "Tente `%s --help' para mais informação\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -137,7 +140,7 @@ msgstr "" " [DIALECTO] MSGID obtém a mensagem traduzida correspondente a\n" " MSGID do DIALECTO\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -160,23 +163,23 @@ msgstr "" "são traduzidas.\n" "Directório standard de pesquisa: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -198,7 +201,7 @@ msgstr "" " [DIALECTO] MSGID obtém a mensagem traduzida correspondente a\n" " MSGID do DIALECTO\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/pt_BR.po b/gettext-runtime/po/pt_BR.po index 3dfaf5aac..3378d688f 100644 --- a/gettext-runtime/po/pt_BR.po +++ b/gettext-runtime/po/pt_BR.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.36\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2001-04-03 08:25+02:00\n" "Last-Translator: Flávio Bruno Leitner \n" "Language-Team: Brazilian Portuguese \n" @@ -16,70 +17,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Erro de sistema desconhecido" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: opção `%s' é ambígua\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: opção `--%s' não aceita parâmetros\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: opção `%c%s' não aceita parâmetros\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: opção `%s' requer um argumento\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: opção não reconhecida `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: opção não reconhecida `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: opção ilegal -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: opção inválida -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opção requer um argumento -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: opção `-W %s' é ambígua\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opção `-W %s' não aceita parâmetros\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "Memória insuficiente" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,37 +93,37 @@ msgstr "" "Este é um sofware livre; veja os fontes para condições de cópia. Não existe\n" "garantia; nem mesmo COMERCIAIS ou de ATENDIMENTO A UMA DETERMINADA FINALIDADE.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Escrito por %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "excesso de parâmetros" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "parâmetros não informados" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Tente `%s --help' para maiores informações\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" "or: %s [OPTION] -s [MSGID]...\n" msgstr "" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "" -#: src/gettext.c:251 +#: src/gettext.c:248 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -142,7 +145,7 @@ msgstr "" " [DOMÍNIO] MSGID recupera mensagens traduzidas correspondentes\n" " para MSGID no DOMÍNIO\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -164,24 +167,24 @@ msgstr "" "mensagens encontradas no catálogo selecionado\n" "Diretório de pesquisa padrão: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 #, fuzzy msgid "Report bugs to .\n" msgstr "Reporte bugs para .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, fuzzy, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -203,7 +206,7 @@ msgstr "" " [DOMÍNIO] MSGID recupera mensagens traduzidas correspondentes\n" " para MSGID no DOMÍNIO\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, fuzzy, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/ru.po b/gettext-runtime/po/ru.po index 3f464b086..8950b6f0d 100644 --- a/gettext-runtime/po/ru.po +++ b/gettext-runtime/po/ru.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gettext-runtime 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 18:55+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2003-02-21 08:18+0300\n" "Last-Translator: Oleg S. Tihonov \n" "Language-Team: Russian \n" @@ -16,70 +16,72 @@ msgstr "" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `%s'\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: ËÌÀÞ `--%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: ËÌÀÞ `%c%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ c ÁÒÇÕÍÅÎÔÏÍ\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `--%s'\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `%c%s'\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÙÊ ËÌÀÞ -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ÎÅ×ÅÒÎÙÊ ËÌÀÞ -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: ËÌÀÞ %c ÄÏÌÖÅÎ ÂÙ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ c ÁÒÇÕÍÅÎÔÏÍ\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `-W %s'\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "ÏÐÅÒÁÔÉ×ÎÁÑ ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -91,25 +93,25 @@ msgstr "" "× ÉÓÈÏÄÎÏÍ ÔÅËÓÔÅ. íÙ îå ÐÒÅÄÏÓÔÁ×ÌÑÅÍ ÇÁÒÁÎÔÉÊ; ÄÁÖÅ ÇÁÒÁÎÔÉÊ\n" "ëïííåòþåóëïê ãåîîïóôé ÉÌÉ ðòéçïäîïóôé äìñ ëïîëòåôîïê ãåìé.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "á×ÔÏÒ ÐÒÏÇÒÁÍÍÙ -- %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÁÒÇÕÍÅÎÔÏ×" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "ÎÅÏÂÈÏÄÉÍÏ ÚÁÄÁÔØ ÁÒÇÕÍÅÎÔÙ" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "ðÏÐÒÏÂÕÊÔÅ `%s --help' ÄÌÑ ÐÏÌÕÞÅÎÉÑ ÂÏÌÅÅ ÐÏÄÒÏÂÎÏÇÏ ÏÐÉÓÁÎÉÑ.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -118,12 +120,12 @@ msgstr "" "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] [[äïíåî] MSGID]\n" " ÉÌÉ: %s [ëìàþ] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "ïÔÏÂÒÁÖÁÅÔ ÐÅÒÅ×ÏÄ ÔÅËÓÔÏÇÏ ÓÏÏÂÝÅÎÉÑ.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -145,7 +147,7 @@ msgstr "" " -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" " [TEXTDOMAIN] MSGID ÎÁÊÔÉ ÐÅÒÅ×ÏÄ ÓÏÏÂÝÅÎÉÑ MSGID × TEXTDOMAIN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -166,16 +168,16 @@ msgstr "" "×Ù×ÏÄÑÔÓÑ ÉÈ ÐÅÒÅ×ÏÄÙ ÉÚ ÕËÁÚÁÎÎÏÇÏ ÄÏÍÅÎÁ.\n" "óÔÁÎÄÁÒÔÎÙÊ ËÁÔÁÌÏÇ ÐÏÉÓËÁ: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "ï ÏÛÉÂËÁÈ ÓÏÏÂÝÁÊÔÅ ÐÏ ÁÄÒÅÓÕ .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] [äïíåî] MSGID MSGID-PLURAL þéóìï\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -184,7 +186,7 @@ msgstr "" "ïÔÏÂÒÁÖÁÅÔ ÐÅÒÅ×ÏÄ ÔÅËÓÔÏ×ÏÇÏ ÓÏÏÂÝÅÎÉÑ, ÇÒÁÍÍÁÔÉÞÅÓËÁÑ ÆÏÒÍÁ ËÏÔÏÒÏÇÏ\n" "ÚÁ×ÉÓÉÔ ÏÔ ÞÉÓÌÁ.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -207,7 +209,7 @@ msgstr "" " MSGID MSGID-PLURAL ÐÅÒÅ×ÅÓÔÉ MSGID (ÅÄ. ÞÉÓÌÏ) / MSGID-PLURAL (ÍÎ. ÞÉÓÌÏ)\n" " þéóìï ×ÙÂÒÁÔØ ÅÄ./ÍÎ. ÞÉÓÌÏ ÎÁ ÏÓÎÏ×Å ÜÔÏÇÏ ÚÎÁÞÅÎÉÑ\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/sk.po b/gettext-runtime/po/sk.po index ad6198034..da7ca77bc 100644 --- a/gettext-runtime/po/sk.po +++ b/gettext-runtime/po/sk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-runtime 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-03-29 12:33+0100\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2003-04-07 09:07+0200\n" "Last-Translator: Marcel Telka \n" "Language-Team: Slovak \n" @@ -16,7 +16,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural= (n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n" -#: ../gettext-tools/lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Neznáma systémová chyba" diff --git a/gettext-runtime/po/sl.po b/gettext-runtime/po/sl.po index ae480e0bb..d7f8e62ef 100644 --- a/gettext-runtime/po/sl.po +++ b/gettext-runtime/po/sl.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-08-13 13:19+0200\n" "Last-Translator: Primo¾ Peterlin \n" "Language-Team: Slovenian \n" @@ -17,71 +18,73 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n" "%100==4 ? 3 : 0);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Neznana sistemska napaka" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: izbira ,%s` je dvoumna\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: izbira ,--%s` ne dovoljuje argumenta\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: izbira ,%c%s` ne dovoljuje argumenta\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: izbira ,%s` zahteva argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: neprepoznana izbira ,--%s`\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: neprepoznana izbira ,%c%s`\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: nedovoljena izbira -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: neveljavna izbira -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: izbira zahteva argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: izbira ,-W %s` je dvoumna\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: izbira ,-W %s` ne dovoljuje argumenta\n" # Morda ,,Zmanjkalo pomnilnika''? -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "zmanjkalo pomnilnika" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -93,25 +96,25 @@ msgstr "" "raz¹irjate so navedeni v izvorni kodi. Za program ni NOBENEGA jamstva,\n" "niti jamstev USTREZNOSTI ZA PRODAJO ali PRIMERNOSTI ZA RABO.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Avtor %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "preveè argumentov" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "argumenti manjkajo" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Poskusite ,%s --help` za izèrpnej¹a navodila\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -120,12 +123,12 @@ msgstr "" "Uporaba: %s [IZBIRA] [[DOMENA] MSGID]\n" "ali: %s [IZBIRA] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Prikaz prevoda tekstovnega sporoèila.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -145,7 +148,7 @@ msgstr "" " -V, --version razlièica programa\n" " [DOMENA] MSGID i¹èemo prevod gesla MSGID v podani tekstovni DOMENI\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -165,16 +168,16 @@ msgstr "" "kataloga sporoèil.\n" "Privzet imenik s katalogom sporoèil: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "Morebitne napake v programu sporoèite na .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Uporaba: %s [IZBIRA] [DOMENA] MSGID MSGID-PLURAL ©TEVEC\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -183,7 +186,7 @@ msgstr "" "Prikaz prevoda besedilnega sporoèila, katerega slovnièna oblika je odvisna\n" "od ¹tevila.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -204,7 +207,7 @@ msgstr "" " MSGID MSGID-PLURAL prevod MSGID (ednina) ali MSGID_PLURAL (mno¾ina)\n" " ©TEVEC doloèitev edninske/mno¾inske oblike\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/sv.po b/gettext-runtime/po/sv.po index d7d110c69..53717d71c 100644 --- a/gettext-runtime/po/sv.po +++ b/gettext-runtime/po/sv.po @@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-08-08 11:43+0200\n" "Last-Translator: Jan Djärv \n" "Language-Team: Swedish \n" @@ -15,70 +16,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Okänt systemfel" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: flaggan \"%s\" är tvetydig\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: flaggan \"--%s\" tar inget argument\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: flaggan \"%c%s\" tar inget argument\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: flaggan \"%s\" kräver ett argument\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: okänd flagga \"--%s\"\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: okänd flagga \"%c%s\"\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: otillåten flagga -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ogiltig flagga -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flaggan kräver ett argument -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: flaggan \"-W %s\" är tvetydig\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flaggan \"-W %s\" tar inget argument\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "minnet slut" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,25 +93,25 @@ msgstr "" "INGEN garanti; inte ens för SÄLJBARHET eller LÄMPLIGHET FÖR NÅGOT SPECIELLT\n" "ÄNDAMÅL.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "Skrivet av %s.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "för många argument" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "argument saknas" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Försök med \"%s --help\" för mer information.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -117,12 +120,12 @@ msgstr "" "Användning: %s [FLAGGA] [[TEXTDOMÄN] MSGID]\n" "eller %s [FLAGGA] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Visa lokala språkets översättning av textmeddelande.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -143,7 +146,7 @@ msgstr "" " [TEXTDOMÄN] MSGID hämta översatt meddelande som motsvarar\n" " MSGID från TEXTDOMÄN\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -163,18 +166,18 @@ msgstr "" "översätts de argument som hittas i den valda meddelandekatalogen.\n" "Normal katalog för meddelandekataloger: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "" "Rapportera fel till .\n" "Rapportera fel och synpunkter på översättningen till .\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Användning: %s [FLAGGA] [TEXTDOMÄN] MSGID MSGID-PLURAL ANTAL\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" @@ -183,7 +186,7 @@ msgstr "" "Visa översättningar i det lokala språket av textmeddelanden vars grammatiska\n" "form beror på ett tal.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -204,7 +207,7 @@ msgstr "" " MSGID MSGID-PLURAL översätt MSGID (singular) / MSGID-PLURAL (plural)\n" " ANTAL välj singular/plural baserat på detta värde\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/tr.po b/gettext-runtime/po/tr.po index 903c55670..0553b19bb 100644 --- a/gettext-runtime/po/tr.po +++ b/gettext-runtime/po/tr.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-09-11 17:27+0300\n" "Last-Translator: Nilgün Belma Bugüner \n" "Language-Team: Turkish \n" @@ -15,70 +16,72 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: KBabel 0.9.6\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "Bilinmeyen sistem hatası" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: `%s' seçeneği belirsiz\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: `--%s' seçeneği argümansız kullanılır\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: `%c%s' seçeneği argümansız kullanılır\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: `%s' seçeneği bir argümanla kullanılır\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: `--%s' seçeneği bilinmiyor\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: `%c%s' seçeneği bilinmiyor\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: kuraldışı seçenek -- %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: geçersiz seçenek -- %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: seçenek için bir argüman gerekli -- %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: `-W %s' seçeneği belirsiz\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: `-W %s' seçeneği bir argümanla kullanılmaz\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "bellek tükendi" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,25 +93,25 @@ msgstr "" "Hiçbir garantisi yoktur; hatta SATILABİLİRLİĞİ veya ŞAHSİ KULLANIMINIZA\n" "UYGUNLUĞU için bile garanti verilmez.\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "%s tarafından yazıldı.\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "çok fazla argüman" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "argümanlar eksik" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Daha fazla bilgilendirilmek için `%s --help' yazınız.\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -117,12 +120,12 @@ msgstr "" "Kullanımı: %s [SEÇENEK] [[PAKET] MSGID]\n" "ya da: %s [SEÇENEK] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Bir iletinin anadile çevirisini gösterir.\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -142,7 +145,7 @@ msgstr "" " -V, --version sürüm bilgilerini gösterir ve çıkar\n" " [PAKET] MSGID PAKET.mo dosyasından MSGID ile ilişkili çeviriyi alır\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -161,25 +164,25 @@ msgstr "" "Ancak iletiyi standart çıktıya basitçe kopyalamak yerine çevirisini verir.\n" "Standart arama dizini: %s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "" "Yazılım hatalarını adresine,\n" "Çeviri hatalarını adresine bildiriniz.\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "Kullanımı: %s [SEÇENEK] [PAKET] MSGID MSGID-PLURAL SAYI\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "Bir sayıya bağlı olarak ilgili tekil/çoğul ileti çevirisini gösterir.\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -200,7 +203,7 @@ msgstr "" " MSGID MSGID-PLURAL MSGID (tekil) / MSGID-PLURAL (çoğul) çevrilir\n" " SAYI SAYIya bağlı olarak tekil/çoğul iletilerden biri seçilir\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/po/zh_TW.po b/gettext-runtime/po/zh_TW.po index e3ba3aa3f..9550d3bb0 100644 --- a/gettext-runtime/po/zh_TW.po +++ b/gettext-runtime/po/zh_TW.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.3\n" -"POT-Creation-Date: 2003-02-12 13:32+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-12 19:47+0200\n" "PO-Revision-Date: 2002-07-21 06:45 +0800\n" "Last-Translator: Pofeng Lee \n" "Language-Team: Chinese (traditional) \n" @@ -16,70 +17,72 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: lib/error.c:112 +#: ../gettext-tools/lib/error.c:137 ../gettext-tools/lib/error.c:165 msgid "Unknown system error" msgstr "¤£©úªº¨t²Î¿ù»~" -#: lib/getopt.c:689 lib/getopt.c:701 +#: ../gettext-tools/lib/getopt.c:689 ../gettext-tools/lib/getopt.c:701 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s¡G¿ï¶µ¡¥%s¡¦¬O¤£©ú½Tªº\n" -#: lib/getopt.c:734 lib/getopt.c:738 +#: ../gettext-tools/lib/getopt.c:734 ../gettext-tools/lib/getopt.c:738 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s¡G¿ï¶µ¡¥--%s¡¦¤£¤¹³\¦³°Ñ¼Æ\n" -#: lib/getopt.c:747 lib/getopt.c:752 +#: ../gettext-tools/lib/getopt.c:747 ../gettext-tools/lib/getopt.c:752 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s¡G¿ï¶µ¡¥%c%s¡¦¤£¤¹³\¦³°Ñ¼Æ\n" -#: lib/getopt.c:788 lib/getopt.c:801 lib/getopt.c:1090 lib/getopt.c:1103 +#: ../gettext-tools/lib/getopt.c:788 ../gettext-tools/lib/getopt.c:801 +#: ../gettext-tools/lib/getopt.c:1090 ../gettext-tools/lib/getopt.c:1103 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s¡G¿ï¶µ¡¥%s¡¦»Ý­n°Ñ¼Æ\n" -#: lib/getopt.c:839 lib/getopt.c:842 +#: ../gettext-tools/lib/getopt.c:839 ../gettext-tools/lib/getopt.c:842 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s¡GµLªkÃѧO¿ï¶µ¡¥--%s¡¦\n" -#: lib/getopt.c:850 lib/getopt.c:853 +#: ../gettext-tools/lib/getopt.c:850 ../gettext-tools/lib/getopt.c:853 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s¡GµLªkÃѧO¿ï¶µ¡¥%c%s¡¦\n" -#: lib/getopt.c:900 lib/getopt.c:903 +#: ../gettext-tools/lib/getopt.c:900 ../gettext-tools/lib/getopt.c:903 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s¡G¤£¦Xªkªº¿ï¶µ ¢w %c\n" -#: lib/getopt.c:909 lib/getopt.c:912 +#: ../gettext-tools/lib/getopt.c:909 ../gettext-tools/lib/getopt.c:912 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s¡G¿ï¶µµL®Ä ¢w %c\n" -#: lib/getopt.c:959 lib/getopt.c:970 lib/getopt.c:1156 lib/getopt.c:1169 +#: ../gettext-tools/lib/getopt.c:959 ../gettext-tools/lib/getopt.c:970 +#: ../gettext-tools/lib/getopt.c:1156 ../gettext-tools/lib/getopt.c:1169 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s¡G¿ï¶µ»Ý­n°Ñ¼Æ ¢w %c\n" -#: lib/getopt.c:1022 lib/getopt.c:1033 +#: ../gettext-tools/lib/getopt.c:1022 ../gettext-tools/lib/getopt.c:1033 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s¡G¿ï¶µ¡¥-W %s¡¦¬O¤£©ú½Tªº\n" -#: lib/getopt.c:1057 lib/getopt.c:1069 +#: ../gettext-tools/lib/getopt.c:1057 ../gettext-tools/lib/getopt.c:1069 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s¡G¿ï¶µ¡¥-W %s¡¦¤£¤¹³\¦³°Ñ¼Æ\n" -#: lib/xmalloc.c:47 +#: ../gettext-tools/lib/xmalloc.c:41 msgid "memory exhausted" msgstr "°O¾ÐÅé¯ÓºÉ" -#: src/gettext.c:132 src/ngettext.c:123 +#: src/gettext.c:129 src/ngettext.c:120 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -90,25 +93,25 @@ msgstr "" "³o¬O¦Û¥Ñ³nÅé¡F½Ð°Ñ¦Ò­ì©l½Xªºª©ÅvÁn©ú¡C¥»³nÅ餣´£¨Ñ¥ô¦ó«OÃÒ¡A¬Æ¦Ü¤£·|¥]¬A\n" "¥i°â©Ê©M¾A¥Î©ó¥ô¦ó¯S©w¥Øªºªº«OÃÒ¡C\n" -#: src/gettext.c:137 src/ngettext.c:128 +#: src/gettext.c:134 src/ngettext.c:125 #, c-format msgid "Written by %s.\n" msgstr "¥Ñ %s ½s¼g¡C\n" -#: src/gettext.c:155 src/ngettext.c:140 +#: src/gettext.c:152 src/ngettext.c:137 msgid "too many arguments" msgstr "°Ñ¼Æ¹L¦h" -#: src/gettext.c:165 src/ngettext.c:152 +#: src/gettext.c:162 src/ngettext.c:149 msgid "missing arguments" msgstr "¯Ê¤Ö¤F°Ñ¼Æ" -#: src/gettext.c:236 src/ngettext.c:206 +#: src/gettext.c:233 src/ngettext.c:203 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "¸Õ¸Õ¡¥%s --help¡¦¨ÓÀò¨ú§ó¦h¸ê°T¡C\n" -#: src/gettext.c:241 +#: src/gettext.c:238 #, c-format, no-wrap msgid "" "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" @@ -117,12 +120,12 @@ msgstr "" "¥Îªk¡G%s [¿ï¶µ] [[¤å¦r»â°ì] MSGID]\n" "©Î¡G %s [¿ï¶µ] -s [MSGID]...\n" -#: src/gettext.c:247 +#: src/gettext.c:244 #, no-wrap msgid "Display native language translation of a textual message.\n" msgstr "Åã¥Ü¬Y¤å¦r°T®§ªº¥»¦a»y¨¥Â½Ä¶¡C\n" -#: src/gettext.c:251 +#: src/gettext.c:248 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated messages from TEXTDOMAIN\n" @@ -142,7 +145,7 @@ msgstr "" " -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" " [¤å¦r»â°ì] MSGID ¥Ñ<¤å¦r»â°ì>Ū¨ú¬ÛÀ³©ó MSGID ªºÂ½Ä¶°T®§\n" -#: src/gettext.c:262 +#: src/gettext.c:259 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" @@ -161,23 +164,23 @@ msgstr "" "¦Ó¬O´M§ä°T®§¸ê®ÆÀɸÌ½Ķ¹Lªº°T®§¡C\n" "¼Ð·Çªº·j´M¥Ø¿ý¬°¡G%s\n" -#: src/gettext.c:273 src/ngettext.c:240 +#: src/gettext.c:270 src/ngettext.c:237 msgid "Report bugs to .\n" msgstr "½Ð¦^³ø¿ù»~¦Ü ¡C\n" -#: src/ngettext.c:211 +#: src/ngettext.c:208 #, c-format, no-wrap msgid "Usage: %s [OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL COUNT\n" msgstr "¥Îªk¡G%s [¿ï¶µ] [¤å¦r»â°ì] MSGID ½Æ¼Æ-MSGID ¼Æ¦r\n" -#: src/ngettext.c:216 +#: src/ngettext.c:213 #, no-wrap msgid "" "Display native language translation of a textual message whose grammatical\n" "form depends on a number.\n" msgstr "Åã¥Ü¬Y¤å¦r°T®§ªº¥»¦a»y¨¥Â½Ä¶¡A¦Ó½Ķªº¤åªk©M¼Æ¦r¦³Ãö¡C\n" -#: src/ngettext.c:221 +#: src/ngettext.c:218 #, no-wrap msgid "" " -d, --domain=TEXTDOMAIN retrieve translated message from TEXTDOMAIN\n" @@ -198,7 +201,7 @@ msgstr "" " MSGID ½Æ¼Æ-MSGID ½Ķ MSGID (³æ¼Æ) / ½Æ¼Æ-MSGID (½Æ¼Æ)\n" " ¼Æ¦r ®Ú¾Ú<¼Æ¦r>¨Ó¿ï¾Ü³æ¼Æ©Î½Æ¼Æ«¬ºA\n" -#: src/ngettext.c:232 +#: src/ngettext.c:229 #, c-format, no-wrap msgid "" "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" diff --git a/gettext-runtime/src/Makefile.in b/gettext-runtime/src/Makefile.in index 899c39078..18af0e931 100644 --- a/gettext-runtime/src/Makefile.in +++ b/gettext-runtime/src/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -38,9 +38,12 @@ POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -57,17 +60,22 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ @@ -77,6 +85,7 @@ HAVE_JAVAC = @HAVE_JAVAC@ HAVE_JAVAC_IN_PATH = @HAVE_JAVAC_IN_PATH@ HAVE_JIKES = @HAVE_JIKES@ HAVE_JIKES_IN_PATH = @HAVE_JIKES_IN_PATH@ +HAVE__BOOL = @HAVE__BOOL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -102,6 +111,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -113,8 +123,13 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ +STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ SUBDIR_libasprintf = @SUBDIR_libasprintf@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -122,12 +137,21 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 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__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -160,6 +184,12 @@ target_alias = @target_alias@ AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies + +# VMS support. + +# Woe32 support. +EXTRA_DIST = Makefile.vms Makefile.msvc + bin_PROGRAMS = gettext ngettext localedir = $(datadir)/locale @@ -178,6 +208,18 @@ ngettext_SOURCES = ngettext.c # Link dependencies. LDADD = ../lib/libgrt.a @LTLIBINTL@ + +# Specify installation directory, for --enable-relocatable. +gettext_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +ngettext_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +@RELOCATABLE_VIA_LD_TRUE@gettext_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@ngettext_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` + +# Support for relocatability. +RELOCATABLE_LIBRARY_PATH = $(libdir) +RELOCATABLE_SRC_DIR = $(top_srcdir)/../gettext-tools/lib +RELOCATABLE_BUILD_DIR = ../lib +RELOCATABLE_CONFIG_H_DIR = .. subdir = src mkinstalldirs = $(SHELL) $(top_srcdir)/../config/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h @@ -185,16 +227,14 @@ CONFIG_CLEAN_FILES = bin_PROGRAMS = gettext$(EXEEXT) ngettext$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) -am_gettext_OBJECTS = gettext.$(OBJEXT) +am_gettext_OBJECTS = gettext-gettext.$(OBJEXT) gettext_OBJECTS = $(am_gettext_OBJECTS) gettext_LDADD = $(LDADD) gettext_DEPENDENCIES = ../lib/libgrt.a -gettext_LDFLAGS = -am_ngettext_OBJECTS = ngettext.$(OBJEXT) +am_ngettext_OBJECTS = ngettext-ngettext.$(OBJEXT) ngettext_OBJECTS = $(am_ngettext_OBJECTS) ngettext_LDADD = $(LDADD) ngettext_DEPENDENCIES = ../lib/libgrt.a -ngettext_LDFLAGS = DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = @@ -285,6 +325,24 @@ distclean-compile: .c.lo: $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< +gettext-gettext.o: gettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gettext_CFLAGS) $(CFLAGS) -c -o gettext-gettext.o `test -f 'gettext.c' || echo '$(srcdir)/'`gettext.c + +gettext-gettext.obj: gettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gettext_CFLAGS) $(CFLAGS) -c -o gettext-gettext.obj `if test -f 'gettext.c'; then $(CYGPATH_W) 'gettext.c'; else $(CYGPATH_W) '$(srcdir)/gettext.c'; fi` + +gettext-gettext.lo: gettext.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gettext_CFLAGS) $(CFLAGS) -c -o gettext-gettext.lo `test -f 'gettext.c' || echo '$(srcdir)/'`gettext.c + +ngettext-ngettext.o: ngettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ngettext_CFLAGS) $(CFLAGS) -c -o ngettext-ngettext.o `test -f 'ngettext.c' || echo '$(srcdir)/'`ngettext.c + +ngettext-ngettext.obj: ngettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ngettext_CFLAGS) $(CFLAGS) -c -o ngettext-ngettext.obj `if test -f 'ngettext.c'; then $(CYGPATH_W) 'ngettext.c'; else $(CYGPATH_W) '$(srcdir)/ngettext.c'; fi` + +ngettext-ngettext.lo: ngettext.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ngettext_CFLAGS) $(CFLAGS) -c -o ngettext-ngettext.lo `test -f 'ngettext.c' || echo '$(srcdir)/'`ngettext.c + mostlyclean-libtool: -rm -f *.lo @@ -469,6 +527,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-info-am mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-info-am +@SET_RELOCATABLE@ # 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/gettext-tools/ABOUT-NLS b/gettext-tools/ABOUT-NLS index 931f90a10..47d5e39f0 100644 --- a/gettext-tools/ABOUT-NLS +++ b/gettext-tools/ABOUT-NLS @@ -171,274 +171,422 @@ Available Packages ================== Languages are not equally supported in all packages. The following -matrix shows the current state of internationalization, as of February -2003. The matrix shows, in regard of each package, for which languages -PO files have been submitted to translation coordination, with a +matrix shows the current state of internationalization, as of May 2003. +The matrix shows, in regard of each package, for which languages PO +files have been submitted to translation coordination, with a translation percentage of at least 50%. - Ready PO files az be bg ca cs da de el en en_GB eo es et fa fi - +-------------------------------------------------+ - a2ps | [] [] [] [] [] | - aegis | () | - anubis | | - ap-utils | | - bash | [] [] [] | - batchelor | | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] [] | - clisp | [] [] [] | - clisp | | - coreutils | [] [] [] [] | - cpio | [] [] [] | - darkstat | () [] | - diffutils | [] [] [] [] [] [] [] | - enscript | [] [] [] | - error | [] [] [] [] | - fetchmail | [] () [] [] [] | - fileutils | [] [] [] [] | - findutils | [] [] [] [] [] [] [] | - flex | [] [] [] [] | - gas | [] | - gawk | [] [] [] | - gcal | [] | - gcc | [] [] | - gettext | [] [] [] [] [] | - gimp-print | | - gliv | | - gnucash | [] () | - gnucash-glossary| [] () [] | - gnupg | [] [] [] [] [] [] [] | - gpe-todo | | - gphoto2 | [] [] | - gprof | [] [] | - gpsdrive | () () () () | - grep | [] [] [] [] [] [] [] | - gretl | [] | - hello | [] [] [] [] [] [] [] [] [] | - id-utils | [] [] | - indent | [] [] [] [] [] [] | - jpilot | () [] [] [] | - jwhois | [] | - kbd | [] [] [] | - ld | [] [] | - libc | [] [] [] [] [] [] [] | - libgpewidget | | - libiconv | [] [] [] [] [] [] | - lifelines | [] () | - lilypond | [] | - lingoteach | [] | - lingoteach_lessons| () () | - lynx | [] [] [] [] [] | - m4 | [] [] [] [] | - mailutils | [] [] | - make | [] [] [] | - man-db | [] () [] () | - mysecretdiary | [] [] [] | - nano | [] () [] [] [] | - nano_1_0 | [] () [] [] [] | - opcodes | [] [] | - parted | [] [] [] [] | - ptx | [] [] [] [] [] [] [] | - python | | - radius | | - recode | [] [] [] [] [] | - sed | [] [] [] [] [] [] | - sh-utils | [] [] [] [] | - sharutils | [] [] [] [] [] [] [] | - sketch | [] () [] | - soundtracker | [] [] [] | - sp | [] | - tar | [] [] [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] | - tin | () () [] | - util-linux | [] [] [] [] [] [] [] | - vorbis-tools | [] [] | - wastesedge | () | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] [] [] [] [] | - xchat | | - xpad | | - +-------------------------------------------------+ - az be bg ca cs da de el en en_GB eo es et fa fi - 0 1 2 26 9 49 46 9 1 1 11 52 19 1 15 + Ready PO files am az be bg ca cs da de el en en_GB eo es + +-------------------------------------------+ + a2ps | [] [] [] [] | + aegis | () | + anubis | | + ap-utils | | + bash | [] [] [] | + batchelor | | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] | + bluez-pin | [] [] | + clisp | | + clisp | [] [] [] | + coreutils | [] [] [] [] | + cpio | [] [] [] | + darkstat | () [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + error | [] [] [] [] [] | + fetchmail | [] () [] [] [] [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] [] | + flex | [] [] [] [] | + gas | [] | + gawk | [] [] [] [] | + gcal | [] | + gcc | [] [] | + gettext | [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] | + gimp-print | [] [] [] [] [] | + gliv | | + glunarclock | [] [] [] | + gnucash | () [] | + gnucash-glossary | [] () [] | + gnupg | [] () [] [] [] [] | + gpe-calendar | [] | + gpe-conf | [] | + gpe-contacts | [] | + gpe-edit | | + gpe-login | [] | + gpe-ownerinfo | [] | + gpe-sketchbook | [] | + gpe-timesheet | | + gpe-today | [] | + gpe-todo | [] | + gphoto2 | [] [] [] [] | + gprof | [] [] | + gpsdrive | () () () | + grep | [] [] [] [] [] | + gretl | [] | + hello | [] [] [] [] [] [] | + id-utils | [] [] | + indent | [] [] [] [] | + jpilot | [] [] [] [] | + jwhois | [] | + kbd | [] [] [] [] [] | + ld | [] [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] | + libiconv | [] [] [] [] [] | + lifelines | [] () | + lilypond | [] | + lingoteach | | + lingoteach_lessons | () () | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | [] [] | + make | [] [] [] | + man-db | [] () [] [] () | + mysecretdiary | [] [] [] | + nano | [] () [] [] [] | + nano_1_0 | [] () [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] [] | + ptx | [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] [] [] [] | + screem | | + sed | [] [] [] [] [] | + sh-utils | [] [] [] | + sharutils | [] [] [] [] [] [] | + sketch | [] () [] | + soundtracker | [] [] [] | + sp | [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] | + tin | () () | + util-linux | [] [] [] [] [] | + vorbis-tools | [] [] [] | + wastesedge | () | + wdiff | [] [] [] [] | + wget | [] [] [] [] [] [] [] | + xchat | [] [] [] | + xpad | | + +-------------------------------------------+ + am az be bg ca cs da de el en en_GB eo es + 0 1 4 2 31 17 54 60 14 1 4 12 56 - fr gl he hr hu id it ja ko lg lv ms nb nl - +-------------------------------------------+ - a2ps | [] () () [] [] | - aegis | () | - anubis | [] [] | - ap-utils | [] | - bash | [] [] | - batchelor | | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] [] | - clisp | [] [] | - clisp | | - coreutils | [] [] [] | - cpio | [] [] [] [] [] | - darkstat | () [] [] [] | - diffutils | [] [] [] [] [] [] | - enscript | [] [] [] | - error | [] [] [] | - fetchmail | [] | - fileutils | [] [] [] [] | - findutils | [] [] [] [] [] [] [] [] [] | - flex | [] [] | - gas | [] | - gawk | [] [] | - gcal | [] | - gcc | [] | - gettext | [] [] [] | - gimp-print | | - gliv | () | - gnucash | [] [] [] | - gnucash-glossary| [] [] | - gnupg | [] [] [] [] [] | - gpe-todo | | - gphoto2 | [] [] [] | - gprof | [] [] | - gpsdrive | () [] () () | - grep | [] [] [] [] [] [] [] [] | - gretl | [] | - hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | - id-utils | [] [] [] | - indent | [] [] [] [] [] [] | - jpilot | [] () () | - jwhois | [] [] [] [] | - kbd | [] | - ld | [] | - libc | [] [] [] [] [] [] | - libgpewidget | | - libiconv | [] [] [] [] [] [] | - lifelines | () | - lilypond | [] [] | - lingoteach | [] | - lingoteach_lessons| | - lynx | [] [] [] [] | - m4 | [] [] [] [] [] | - mailutils | | - make | [] [] [] [] [] [] [] | - man-db | [] () () | - mysecretdiary | [] [] | - nano | [] [] [] [] [] [] | - nano_1_0 | [] [] [] [] [] [] | - opcodes | [] [] [] | - parted | [] [] [] | - ptx | [] [] [] [] [] [] | - python | | - radius | | - recode | [] [] [] [] [] | - sed | [] [] [] [] [] | - sh-utils | [] [] [] [] [] | - sharutils | [] [] [] [] [] | - sketch | [] | - soundtracker | [] [] [] | - sp | [] () | - tar | [] [] [] [] [] [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] [] [] | - tin | | - util-linux | [] [] () [] [] | - vorbis-tools | [] | - wastesedge | () | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] [] [] | - xchat | | - xpad | | - +-------------------------------------------+ - fr gl he hr hu id it ja ko lg lv ms nb nl - 59 23 8 10 26 20 18 26 8 0 1 8 7 24 + et fa fi fr ga gl he hr hu id it ja ko + +----------------------------------------+ + a2ps | [] [] [] () () | + aegis | | + anubis | [] | + ap-utils | [] | + bash | [] [] | + batchelor | [] | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] [] | + bluez-pin | [] [] [] [] | + clisp | | + clisp | [] | + coreutils | [] [] [] [] | + cpio | [] [] [] [] | + darkstat | () [] [] [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | | + enscript | [] [] | + error | [] [] [] [] | + fetchmail | [] | + fileutils | [] [] [] [] [] | + findutils | [] [] [] [] [] [] [] [] [] [] [] | + flex | [] [] | + gas | [] | + gawk | [] [] | + gcal | [] | + gcc | [] | + gettext | [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] | + gimp-print | [] [] | + gliv | () | + glunarclock | [] [] [] [] | + gnucash | [] | + gnucash-glossary | [] | + gnupg | [] [] [] [] [] [] [] | + gpe-calendar | [] | + gpe-conf | | + gpe-contacts | [] | + gpe-edit | [] [] | + gpe-login | [] | + gpe-ownerinfo | [] [] [] | + gpe-sketchbook | [] | + gpe-timesheet | [] [] [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] | + gprof | [] [] | + gpsdrive | () [] () () | + grep | [] [] [] [] [] [] [] [] [] [] [] | + gretl | [] | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] | + indent | [] [] [] [] [] [] [] [] | + jpilot | [] () | + jwhois | [] [] [] [] | + kbd | [] | + ld | [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] [] | + libiconv | [] [] [] [] [] [] [] [] | + lifelines | () | + lilypond | [] | + lingoteach | [] [] | + lingoteach_lessons | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | | + make | [] [] [] [] [] [] | + man-db | [] () () | + mysecretdiary | [] [] | + nano | [] [] [] [] | + nano_1_0 | [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] [] [] [] | + screem | | + sed | [] [] [] [] [] [] [] [] | + sh-utils | [] [] [] [] [] [] | + sharutils | [] [] [] [] [] | + sketch | [] | + soundtracker | [] [] [] | + sp | [] () | + tar | [] [] [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] [] | + tin | [] () | + util-linux | [] [] [] [] () [] | + vorbis-tools | [] | + wastesedge | () | + wdiff | [] [] [] [] [] | + wget | [] [] [] [] [] [] [] [] | + xchat | [] [] [] | + xpad | | + +----------------------------------------+ + et fa fi fr ga gl he hr hu id it ja ko + 20 1 15 73 14 24 8 10 30 31 19 31 9 - nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW - +----------------------------------------------------+ - a2ps | () () () [] [] [] [] [] [] | 14 - aegis | () | 0 - anubis | [] [] | 4 - ap-utils | () () | 1 - bash | [] [] | 7 - batchelor | | 0 - bfd | [] [] | 6 - binutils | [] [] | 6 - bison | [] [] [] | 11 - clisp | | 5 - clisp | | 0 - coreutils | [] [] [] [] [] | 12 - cpio | [] [] [] [] [] | 13 - darkstat | [] [] () () | 6 - diffutils | [] [] [] [] [] [] | 19 - enscript | [] [] [] [] | 10 - error | [] [] [] [] | 11 - fetchmail | () () [] | 6 - fileutils | [] [] [] [] [] [] | 14 - findutils | [] [] [] [] [] [] [] [] | 24 - flex | [] [] [] [] | 10 - gas | [] | 3 - gawk | [] [] | 7 - gcal | [] [] | 4 - gcc | [] | 4 - gettext | [] [] [] [] [] [] | 14 - gimp-print | | 0 - gliv | [] | 1 - gnucash | [] [] [] [] [] | 9 - gnucash-glossary| [] [] [] [] | 8 - gnupg | [] [] [] [] | 16 - gpe-todo | | 0 - gphoto2 | [] [] | 7 - gprof | [] [] [] | 7 - gpsdrive | [] [] | 3 - grep | [] [] [] [] [] | 20 - gretl | | 2 - hello | [] [] [] [] [] [] [] [] [] | 31 - id-utils | [] [] [] [] | 9 - indent | [] [] [] [] [] | 17 - jpilot | () [] [] [] [] | 8 - jwhois | [] () () [] [] | 8 - kbd | [] [] | 6 - ld | [] [] | 5 - libc | [] [] [] [] [] [] [] | 20 - libgpewidget | | 0 - libiconv | [] [] [] [] [] [] | 18 - lifelines | [] | 2 - lilypond | [] | 4 - lingoteach | [] [] | 4 - lingoteach_lessons| () | 0 - lynx | [] [] [] [] | 13 - m4 | [] [] [] [] | 13 - mailutils | | 2 - make | [] [] [] [] [] | 15 - man-db | [] | 4 - mysecretdiary | [] [] [] | 8 - nano | [] [] [] | 13 - nano_1_0 | [] [] [] [] [] | 15 - opcodes | [] [] [] | 8 - parted | [] [] [] [] [] | 12 - ptx | [] [] [] [] [] [] [] | 20 - python | | 0 - radius | | 0 - recode | [] [] [] [] [] [] | 16 - sed | [] [] [] [] [] | 16 - sh-utils | [] [] [] | 12 - sharutils | [] [] [] [] | 16 - sketch | [] [] | 5 - soundtracker | [] | 7 - sp | [] | 3 - tar | [] [] [] [] [] [] [] [] [] | 24 - texinfo | [] [] [] [] | 12 - textutils | [] [] [] [] [] | 15 - tin | | 1 - util-linux | [] [] [] | 14 - vorbis-tools | [] | 4 - wastesedge | | 0 - wdiff | [] [] [] [] [] | 15 - wget | [] [] [] [] [] [] [] [] | 24 - xchat | | 0 - xpad | | 0 - +----------------------------------------------------+ - 43 teams nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW - 82 domains 3 4 14 4 34 1 29 14 13 53 46 6 9 13 723 + lg lt lv ms nb nl nn no pl pt pt_BR ro + +----------------------------------------+ + a2ps | [] [] () () () [] [] | + aegis | () | + anubis | [] [] | + ap-utils | () | + bash | [] | + batchelor | | + bfd | | + binutils | | + bison | [] [] [] [] | + bluez-pin | [] | + clisp | | + clisp | [] | + coreutils | [] | + cpio | [] [] [] | + darkstat | [] [] [] [] | + diffutils | [] [] [] | + e2fsprogs | | + enscript | [] [] | + error | [] [] | + fetchmail | () () | + fileutils | [] | + findutils | [] [] [] [] | + flex | [] | + gas | | + gawk | [] | + gcal | | + gcc | | + gettext | [] | + gettext-runtime | [] | + gettext-tools | | + gimp-print | [] | + gliv | [] | + glunarclock | [] | + gnucash | | + gnucash-glossary | [] [] | + gnupg | | + gpe-calendar | [] [] | + gpe-conf | [] [] | + gpe-contacts | [] | + gpe-edit | [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] | + gpe-sketchbook | [] [] | + gpe-timesheet | [] [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | | + gprof | [] | + gpsdrive | () () () | + grep | [] [] [] [] | + gretl | | + hello | [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] | + indent | [] [] [] | + jpilot | () () | + jwhois | [] [] [] | + kbd | | + ld | | + libc | [] [] [] [] | + libgpewidget | [] [] | + libiconv | [] [] | + lifelines | | + lilypond | [] | + lingoteach | | + lingoteach_lessons | | + lynx | [] [] | + m4 | [] [] [] [] | + mailutils | | + make | [] [] | + man-db | [] | + mysecretdiary | [] | + nano | [] [] [] [] | + nano_1_0 | [] [] [] [] | + opcodes | [] [] [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | | + recode | [] [] [] | + screem | | + sed | [] [] | + sh-utils | [] | + sharutils | [] | + sketch | [] | + soundtracker | | + sp | | + tar | [] [] [] [] [] [] | + texinfo | [] | + textutils | [] | + tin | | + util-linux | [] [] | + vorbis-tools | [] [] | + wastesedge | | + wdiff | [] [] [] [] | + wget | [] [] [] | + xchat | [] [] | + xpad | [] | + +----------------------------------------+ + lg lt lv ms nb nl nn no pl pt pt_BR ro + 0 0 2 11 7 26 3 4 18 15 34 34 + + ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW + +-------------------------------------------+ + a2ps | [] [] [] [] [] | 16 + aegis | () | 0 + anubis | [] [] | 5 + ap-utils | () | 1 + bash | [] | 7 + batchelor | | 1 + bfd | [] [] [] | 7 + binutils | [] [] [] | 7 + bison | [] [] | 13 + bluez-pin | | 7 + clisp | | 0 + clisp | | 5 + coreutils | [] [] [] [] [] | 14 + cpio | [] [] [] | 13 + darkstat | [] () () | 9 + diffutils | [] [] [] [] | 21 + e2fsprogs | [] | 3 + enscript | [] [] [] | 11 + error | [] [] [] | 14 + fetchmail | [] | 7 + fileutils | [] [] [] [] [] [] | 15 + findutils | [] [] [] [] [] [] | 27 + flex | [] [] [] | 10 + gas | [] | 3 + gawk | [] [] | 9 + gcal | [] [] | 4 + gcc | [] | 4 + gettext | [] [] [] [] [] [] | 15 + gettext-runtime | [] [] [] [] [] [] | 16 + gettext-tools | [] [] | 5 + gimp-print | [] [] | 10 + gliv | | 1 + glunarclock | [] [] [] | 11 + gnucash | [] [] | 4 + gnucash-glossary | [] [] [] | 8 + gnupg | [] [] [] [] | 16 + gpe-calendar | [] | 5 + gpe-conf | | 3 + gpe-contacts | [] | 4 + gpe-edit | [] | 5 + gpe-login | [] | 5 + gpe-ownerinfo | [] | 7 + gpe-sketchbook | [] | 5 + gpe-timesheet | [] | 6 + gpe-today | [] | 6 + gpe-todo | [] | 6 + gphoto2 | [] [] | 9 + gprof | [] [] | 7 + gpsdrive | [] [] | 3 + grep | [] [] [] [] | 24 + gretl | | 2 + hello | [] [] [] [] [] | 33 + id-utils | [] [] [] | 11 + indent | [] [] [] [] | 19 + jpilot | [] [] [] [] [] | 10 + jwhois | () () [] [] | 10 + kbd | [] [] | 8 + ld | [] [] | 5 + libc | [] [] [] [] | 20 + libgpewidget | | 6 + libiconv | [] [] [] [] [] [] | 21 + lifelines | [] | 2 + lilypond | [] | 4 + lingoteach | | 2 + lingoteach_lessons | () | 0 + lynx | [] [] [] [] | 14 + m4 | [] [] [] | 15 + mailutils | | 2 + make | [] [] [] [] | 15 + man-db | [] | 6 + mysecretdiary | [] [] | 8 + nano | [] [] [] | 15 + nano_1_0 | [] [] [] | 15 + opcodes | [] [] | 9 + parted | [] [] | 13 + ptx | [] [] [] | 22 + python | | 0 + radius | | 0 + recode | [] [] [] [] | 19 + screem | [] | 1 + sed | [] [] [] [] [] | 20 + sh-utils | [] [] [] | 13 + sharutils | [] [] [] [] | 16 + sketch | [] | 5 + soundtracker | [] | 7 + sp | [] | 3 + tar | [] [] [] [] [] | 24 + texinfo | [] [] [] [] | 13 + textutils | [] [] [] [] [] | 15 + tin | | 1 + util-linux | [] [] | 14 + vorbis-tools | [] | 7 + wastesedge | | 0 + wdiff | [] [] [] [] | 17 + wget | [] [] [] [] [] [] [] | 25 + xchat | [] [] [] | 11 + xpad | | 1 + +-------------------------------------------+ + 50 teams ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW + 97 domains 32 19 16 0 56 0 48 10 1 1 12 23 913 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are @@ -451,9 +599,9 @@ distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. - If February 2003 seems to be old, you may fetch a more recent copy -of this `ABOUT-NLS' file on most GNU archive sites. The most -up-to-date matrix with full percentage details can be found at + If May 2003 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. Using `gettext' in new packages @@ -468,7 +616,7 @@ library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle -to use of `gettext' the only thing missing are the translations. The +the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact diff --git a/gettext-tools/Makefile.in b/gettext-tools/Makefile.in index f717b4e2c..ac1c3e668 100644 --- a/gettext-tools/Makefile.in +++ b/gettext-tools/Makefile.in @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,11 +61,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -72,6 +77,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -124,6 +131,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -150,12 +158,20 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -195,7 +211,7 @@ SUBDIRS = doc intl lib libuniname src po projects misc man m4 tests # vms_jackets.h is a header that comes with Compaq's "porting library". # KEEP_CRTL_SETLOCALE tells it to not override the native locale support. -EXTRA_DIST = misc/DISCLAIM Makefile.vms config.h.vms README.woe32 Makefile.msvc config.h.msvc windows/alloca.h windows/fnmatch.h windows/stdbool.h windows/gettextlib.def windows/gettextsrc.def windows/gettextlib.rc windows/gettextsrc.rc +EXTRA_DIST = misc/DISCLAIM Makefile.vms config.h_vms README.woe32 Makefile.msvc config.h.msvc windows/alloca.h windows/fnmatch.h windows/stdbool.h windows/gettextlib.def windows/gettextsrc.def windows/gettextlib.rc windows/gettextsrc.rc # Files installed for use by gettextize. @@ -243,7 +259,7 @@ $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): configure.ac m4/alloca.m4 m4/backupfile.m4 m4/canonicalize.m4 m4/error.m4 m4/flex.m4 m4/fnmatch.m4 m4/gcj.m4 m4/getline.m4 m4/hostname.m4 m4/javacomp.m4 m4/javaexec.m4 m4/mbrtowc.m4 m4/mbstate_t.m4 m4/mbswidth.m4 m4/mkdtemp.m4 m4/onceonly.m4 m4/pathmax.m4 m4/relocatable.m4 m4/setenv.m4 m4/setlocale.m4 m4/siginfo.m4 m4/signalblocking.m4 m4/ssize_t.m4 m4/stdbool.m4 m4/strerror.m4 m4/tmpdir.m4 m4/unionwait.m4 m4/xreadlink.m4 ../gettext-runtime/m4/ansi-c++.m4 ../gettext-runtime/m4/codeset.m4 ../gettext-runtime/m4/gettext.m4 ../gettext-runtime/m4/glibc21.m4 ../gettext-runtime/m4/iconv.m4 ../gettext-runtime/m4/intdiv0.m4 ../gettext-runtime/m4/intmax.m4 ../gettext-runtime/m4/inttypes-pri.m4 ../gettext-runtime/m4/inttypes.m4 ../gettext-runtime/m4/inttypes_h.m4 ../gettext-runtime/m4/isc-posix.m4 ../gettext-runtime/m4/lcmessage.m4 ../gettext-runtime/m4/longdouble.m4 ../gettext-runtime/m4/longlong.m4 ../gettext-runtime/m4/progtest.m4 ../gettext-runtime/m4/signed.m4 ../gettext-runtime/m4/stdint_h.m4 ../gettext-runtime/m4/uintmax_t.m4 ../gettext-runtime/m4/ulonglong.m4 ../gettext-runtime/m4/wchar_t.m4 ../gettext-runtime/m4/wint_t.m4 ../autoconf-lib-link/m4/lib-ld.m4 ../autoconf-lib-link/m4/lib-link.m4 ../autoconf-lib-link/m4/lib-prefix.m4 ../config/m4/fixautomake.m4 ../config/m4/libtool.m4 +$(ACLOCAL_M4): configure.ac m4/alloca.m4 m4/backupfile.m4 m4/canonicalize.m4 m4/eaccess.m4 m4/error.m4 m4/flex.m4 m4/fnmatch.m4 m4/gcj.m4 m4/getline.m4 m4/hostname.m4 m4/javacomp.m4 m4/javaexec.m4 m4/mbrtowc.m4 m4/mbstate_t.m4 m4/mbswidth.m4 m4/mkdtemp.m4 m4/onceonly.m4 m4/pathmax.m4 m4/relocatable.m4 m4/setenv.m4 m4/setlocale.m4 m4/siginfo.m4 m4/signalblocking.m4 m4/ssize_t.m4 m4/stdbool.m4 m4/strerror.m4 m4/strerror_r.m4 m4/tmpdir.m4 m4/unionwait.m4 m4/unlocked-io.m4 m4/xreadlink.m4 ../gettext-runtime/m4/ansi-c++.m4 ../gettext-runtime/m4/codeset.m4 ../gettext-runtime/m4/gettext.m4 ../gettext-runtime/m4/glibc21.m4 ../gettext-runtime/m4/iconv.m4 ../gettext-runtime/m4/intdiv0.m4 ../gettext-runtime/m4/intmax.m4 ../gettext-runtime/m4/inttypes-pri.m4 ../gettext-runtime/m4/inttypes.m4 ../gettext-runtime/m4/inttypes_h.m4 ../gettext-runtime/m4/isc-posix.m4 ../gettext-runtime/m4/lcmessage.m4 ../gettext-runtime/m4/longdouble.m4 ../gettext-runtime/m4/longlong.m4 ../gettext-runtime/m4/nls.m4 ../gettext-runtime/m4/po.m4 ../gettext-runtime/m4/progtest.m4 ../gettext-runtime/m4/signed.m4 ../gettext-runtime/m4/stdint_h.m4 ../gettext-runtime/m4/uintmax_t.m4 ../gettext-runtime/m4/ulonglong.m4 ../gettext-runtime/m4/wchar_t.m4 ../gettext-runtime/m4/wint_t.m4 ../autoconf-lib-link/m4/lib-ld.m4 ../autoconf-lib-link/m4/lib-link.m4 ../autoconf-lib-link/m4/lib-prefix.m4 ../config/m4/fixautomake.m4 ../config/m4/libtool.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @@ -651,10 +667,13 @@ html: # VMS support. -config.h.vms: config.h.in ../version.sh - (sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ +config.h_vms: config.h.in ../version.sh + (echo '#define KEEP_CRTL_SETLOCALE 1'; echo '#include '; echo '#undef realpath'; \ + sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ -e 's/#undef HAVE_ARPA_INET_H$$/#define HAVE_ARPA_INET_H 1/' \ + -e 's/#undef HAVE_CHOWN$$/#define HAVE_CHOWN 1/' \ + -e 's/#undef HAVE_DECL_STRERROR$$/#define HAVE_DECL_STRERROR 1/' \ -e 's/#undef HAVE_DECL_WCWIDTH$$/#define HAVE_DECL_WCWIDTH 1/' \ -e 's/#undef HAVE_DIRENT_H$$/#define HAVE_DIRENT_H 1/' \ -e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \ @@ -672,7 +691,6 @@ config.h.vms: config.h.in ../version.sh -e 's/#undef HAVE_GETUID$$/#define HAVE_GETUID 1/' \ -e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \ -e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \ - -e 's/#undef HAVE_INTTYPES_H_WITH_UINTMAX$$/#define HAVE_INTTYPES_H_WITH_UINTMAX 1/' \ -e 's/#undef HAVE_ISASCII$$/#define HAVE_ISASCII 1/' \ -e 's/#undef HAVE_ISWCNTRL$$/#define HAVE_ISWCNTRL 1/' \ -e 's/#undef HAVE_ISWPRINT$$/#define HAVE_ISWPRINT 1/' \ @@ -717,7 +735,6 @@ config.h.vms: config.h.in ../version.sh -e 's/#undef HAVE_SYS_TIME_H$$/#define HAVE_SYS_TIME_H 1/' \ -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \ -e 's/#undef HAVE_TIME_H$$/#define HAVE_TIME_H 1/' \ - -e 's/#undef HAVE_UINTMAX_T$$/#define HAVE_UINTMAX_T 1/' \ -e 's/#undef HAVE_UNAME$$/#define HAVE_UNAME 1/' \ -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \ -e 's/#undef HAVE_UNSETENV$$/#define HAVE_UNSETENV 1/' \ @@ -738,9 +755,10 @@ config.h.vms: config.h.in ../version.sh -e 's/#undef fnmatch$$/#define fnmatch rpl_fnmatch/' \ -e 's/#undef getline$$/#define getline rpl_getline/' \ -e 's/#undef realpath$$/#define realpath rpl_realpath/' \ + -e 's/#undef uintmax_t$$/#define uintmax_t unsigned long long/' \ -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-tools"/' \ -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \ - < $<; echo; echo '#define alloca __ALLOCA'; echo '#define pw_gecos pw_name'; echo '#define KEEP_CRTL_SETLOCALE 1'; echo '#include ') > $@ + < $<; echo; echo '#define alloca __ALLOCA'; echo '#define pw_gecos pw_name') > $@ # Woe32 support. @@ -748,6 +766,7 @@ config.h.msvc: config.h.in ../version.sh sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \ -e 's/#undef ENABLE_RELOCATABLE$$/#define ENABLE_RELOCATABLE 1/' \ -e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \ + -e 's/#undef HAVE_DECL_STRERROR$$/#define HAVE_DECL_STRERROR 1/' \ -e 's/#undef HAVE_DECL_WCWIDTH$$/#define HAVE_DECL_WCWIDTH 0/' \ -e 's/#undef HAVE_ENVIRON_DECL$$/#define HAVE_ENVIRON_DECL 1/' \ -e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \ @@ -755,7 +774,6 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \ -e 's/#undef HAVE_GETHOSTBYNAME$$/#define HAVE_GETHOSTBYNAME 1/' \ -e 's/#undef HAVE_GETHOSTNAME$$/#define HAVE_GETHOSTNAME 1/' \ - -e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \ -e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \ -e 's/#undef HAVE_ISASCII$$/#define HAVE_ISASCII 1/' \ -e 's/#undef HAVE_ISWCNTRL$$/#define HAVE_ISWCNTRL 1/' \ @@ -776,6 +794,7 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef HAVE_STRDUP$$/#define HAVE_STRDUP 1/' \ -e 's/#undef HAVE_STRERROR$$/#define HAVE_STRERROR 1/' \ -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \ + -e 's/#undef HAVE_STRPBRK$$/#define HAVE_STRPBRK 1/' \ -e 's/#undef HAVE_STRSTR$$/#define HAVE_STRSTR 1/' \ -e 's/#undef HAVE_STRTOUL$$/#define HAVE_STRTOUL 1/' \ -e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \ diff --git a/gettext-tools/aclocal.m4 b/gettext-tools/aclocal.m4 index f9077b9bb..3e6712df1 100644 --- a/gettext-tools/aclocal.m4 +++ b/gettext-tools/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.7.2 -*- Autoconf -*- +# generated automatically by aclocal 1.7.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -16,7 +16,7 @@ # 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 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# serial 8 +# serial 9 # 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, @@ -86,8 +86,8 @@ m4_ifval([$2], 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 + 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]) @@ -108,6 +108,7 @@ AM_PROG_INSTALL_STRIP # 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], @@ -130,7 +131,16 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX], # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +[# 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]) # Copyright 2002 Free Software Foundation, Inc. @@ -160,7 +170,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # 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.7.2])]) + [AM_AUTOMAKE_VERSION([1.7.3])]) # Helper functions for option handling. -*- Autoconf -*- @@ -446,9 +456,42 @@ fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# serial 4 -*- Autoconf -*- +# -*- 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])]) -# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. +# serial 5 -*- Autoconf -*- + +# Copyright (C) 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 @@ -540,11 +583,17 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi fi done @@ -566,16 +615,8 @@ AM_CONDITIONAL([am__fastdep$1], [ # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], -[rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null -AC_SUBST([DEPDIR]) +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) @@ -809,8 +850,8 @@ AC_PREREQ([2.52]) # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) -# flex.m4 serial 1 (gettext-0.11) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# flex.m4 serial 2 (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 @@ -824,12 +865,6 @@ AC_DEFUN([gt_PROG_LEX], dnl Don't use AC_PROG_LEX or AM_PROG_LEX; we insist on flex. dnl Thus we don't need LEXLIB. AC_CHECK_PROG(LEX, flex, flex, :) - - dnl The next line is a workaround against an automake warning. - undefine([AC_DECL_YYTEXT]) - dnl Replacement for AC_DECL_YYTEXT. - LEX_OUTPUT_ROOT=lex.yy - AC_SUBST(LEX_OUTPUT_ROOT) ]) # gcj.m4 serial 1 (gettext-0.11.3) @@ -1105,15 +1140,63 @@ AC_DEFUN([AC_ISC_POSIX], ] ) -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +# serial 47 AC_PROG_LIBTOOL -# The next line was added by Bruno Haible 2001-06-08. -builtin([undefine],[symbols]) -# serial 46 AC_PROG_LIBTOOL +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + +# AC_PROG_LIBTOOL +# --------------- AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -1124,10 +1207,13 @@ AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) -]) +])# _AC_PROG_LIBTOOL + +# AC_LIBTOOL_SETUP +# ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.13)dnl +[AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl @@ -1137,382 +1223,221 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl -AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi ;; esac -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -AC_ARG_ENABLE(libtool-lock, - [ --disable-libtool-lock avoid locking (might break parallel builds)]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_SAVE - AC_LANG_C - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_RESTORE]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +# Constants: +rm="rm -f" -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) - - case $host/$CC in - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) - # old mingw systems require "-dll" to link a DLL, while more recent ones - # require "-mdll" - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -mdll" - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) - CFLAGS="$SAVE_CFLAGS" ;; - *-*-cygwin* | *-*-pw32*) - # cygwin systems need to pass --dll to the linker, and not link - # crt.o which will require a WinMain@16 definition. - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi ;; - ]) esac -_LT_AC_LTCONFIG_HACK +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) -]) +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# AC_LIBTOOL_HEADER_ASSERT -# ------------------------ -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], -[AC_CACHE_CHECK([whether $CC supports assert without backlinking], - [lt_cv_func_assert_works], - [case $host in - *-*-solaris*) - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) lt_cv_func_assert_works=no ;; - *) lt_cv_func_assert_works=yes ;; - esac - fi - ;; - esac]) +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default -if test "x$lt_cv_func_assert_works" = xyes; then - AC_CHECK_HEADERS(assert.h) -fi -])# AC_LIBTOOL_HEADER_ASSERT +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h) -])# _LT_AC_CHECK_DLFCN -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[[ABCDGISTW]]' +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat < conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[[]] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC - fi - else - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC - fi - else - echo "$progname: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR -# --------------------------------- -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], -[# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -1549,7 +1475,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -1622,17 +1548,291 @@ if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then fi AC_SUBST(ECHO) -AC_DIVERT_POP -])# _LT_AC_PROG_ECHO_BACKSLASH +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ------------------------------------------------------------------ AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[if test "$cross_compiling" = yes; then : +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : [$4] else - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext </dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O -# Global variables: -default_ofile=libtool -can_build_shared=yes -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl -old_CC="$CC" -old_CFLAGS="$CFLAGS" +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs else - ac_tool_prefix= + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi - ;; -esac +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -if test -n "$RANLIB"; then + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + esac fi +])# AC_LIBTOOL_SYS_LIB_STRIP -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="[$]2" -AC_MSG_CHECKING([for objdir]) -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi -rmdir .libs 2>/dev/null -AC_MSG_RESULT($objdir) - +need_lib_prefix=unknown +hardcode_into_libs=no -AC_ARG_WITH(pic, -[ --with-pic try to use only PIC/non-PIC objects [default=use both]], -pic_mode="$withval", pic_mode=default) -test -z "$pic_mode" && pic_mode=default +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -AC_MSG_CHECKING([for $compiler option to produce PIC]) -AC_CACHE_VAL(lt_cv_prog_cc_pic, -[ lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH else - # PORTME Check for PIC flags for the system compiler. + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' + can_build_shared=no fi ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; - - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - ;; - - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; - - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; - - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; - - *) - lt_cv_prog_cc_can_build_shared=no + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac - fi -]) -if test -z "$lt_cv_prog_cc_pic"; then - AC_MSG_RESULT([none]) -else - AC_MSG_RESULT([$lt_cv_prog_cc_pic]) - - # Check to make sure the pic_flag actually works. - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - AC_TRY_COMPILE([], [], [dnl - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - ], [dnl - lt_cv_prog_cc_pic_works=no - ]) - CFLAGS="$save_CFLAGS" - ]) - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi - - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) -fi - -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : - else - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) - lt_cv_prog_cc_can_build_shared=no - fi -fi - -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) - LDFLAGS="$save_LDFLAGS" -]) - -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) -AC_CACHE_VAL([lt_cv_compiler_c_o], [ -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&AC_FD_CC - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null -]) -compiler_c_o=$lt_cv_compiler_c_o -AC_MSG_RESULT([$compiler_c_o]) - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) - AC_CACHE_VAL([lt_cv_compiler_o_lo], [ - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - ]) - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - ]) - compiler_o_lo=$lt_cv_compiler_o_lo - AC_MSG_RESULT([$compiler_o_lo]) -else - compiler_o_lo=no -fi - -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi + ;; -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - ]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$compiler_rtti_exceptions]) + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` fi -fi - -# See if the linker supports building shared libraries. -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) - -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH ;; -openbsd*) - with_gnu_ld=no + +freebsd1*) + dynamic_linker=no ;; -esac -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; - # See if GNU ld supports shared libraries. +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF + freebsd2*) + shlibpath_overrides_runpath=yes ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes ;; + esac + ;; - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ - ;; - esac - - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 - - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi - - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \[$]# in - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; - - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= ;; - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac ;; esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac - fi -else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; esac + else + shlibpath_overrides_runpath=yes + fi + ;; - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - ;; +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[[012]]) - allow_undefined_flag='-undefined suppress' +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' + siemens) + need_lib_prefix=no ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' - ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; - freebsd1*) - ld_shlibs=no - ;; +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + fi - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi - ;; - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' - - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [[12]].*) - cat <&2 + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; -EOF - no_undefined_flag= + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) ;; esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; + fi + done + IFS="$lt_save_ifs" - sysv5*) - no_undefined_flag=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec= - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - ;; + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - *) - ld_shlibs=no - ;; - esac -fi -AC_MSG_RESULT([$ld_shlibs]) -test "$ld_shlibs" = no && can_build_shared=no +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED -# Check hardcoding attributes. -AC_MSG_CHECKING([how to hardcode library paths into programs]) -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -AC_MSG_RESULT([$hardcode_action]) +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC -# PORTME Fill in your ld.so characteristics -AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' - shlibpath_var=LIBPATH +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' - ;; -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH - fi - hardcode_into_libs=yes - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' - ;; + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL -beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL -cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - ;; +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE -freebsd1*) - dynamic_linker=no - ;; -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [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]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX + + +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + + +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +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 $CC]) + 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 - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + 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 ;; *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes + # 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(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi ;; gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes + lt_cv_deplibs_check_method=pass_all ;; -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5* | nonstopux*) - libsuff= shlibsuff= + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ;; esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all ;; -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no +# This must be Linux ELF. +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; -# This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + +osf3* | osf4* | osf5*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD + + +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG + + +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + AC_PROG_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) + +# Commands used to build and install a shared archive. +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" + +# Set to yes if exported symbols are required. +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) + +# The commands to list exported symbols. +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) + +# Symbols that must always be exported. +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) + +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) + +__EOF__ + +ifelse([$1],[], [ + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +fi +])# AC_LIBTOOL_CONFIG + + +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl + +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI + + +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' -openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' -osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes - ;; +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" -sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - ;; +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' fi - need_version=yes + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; - -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac +irix* | nonstopux*) + symcode='[[BCDEGRST]]' ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +osf*) + symcode='[[BCDEGQRST]]' ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH +solaris* | sysv5*) + symcode='[[BDT]]' ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi +sysv4) + symcode='[[DFNSTU]]' ;; +esac -*) - dynamic_linker=no +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no -# Report the final consequences. -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) + # Check to see that the pipe works correctly. + pipe_works=no -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' -AC_LIBTOOL_DLOPEN_SELF + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], - [$rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile); then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - lt_cv_archive_cmds_need_lc=no +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi else - lt_cv_archive_cmds_need_lc=yes + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi - allow_undefined_flag=$save_allow_undefined_flag else - cat conftest.err 1>&5 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi - $rm conftest* - ]) - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) - ;; - esac -fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + AC_MSG_RESULT(ok) fi +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - echo creating $ofile +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac ;; *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac - done - - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi - -# ### BEGIN LIBTOOL CONFIG - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; -# The host system. -host_alias=$host_alias -host=$host + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; -# An echo program that does not interpret backslashes. -echo=$lt_echo + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; -# The default C compiler. -CC=$lt_CC + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; -# Is the compiler the GNU C compiler? -with_gcc=$GCC + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; -# The linker used to build libraries. -LD=$lt_LD + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; -# Whether we need hard or soft links. -LN_S=$lt_LN_S + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; -# A BSD-compatible nm program. -NM=$lt_NM + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; -# A symbol stripping program -STRIP=$STRIP + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" + linux*) + case $CC in + icc|ecc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; -# Used on cygwin: assembler. -AS="$AS" + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; -# The name of the directory that contains temporary libtool files. -objdir=$objdir + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# How to pass a linker flag through the compiler. -wl=$lt_wl + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Object file suffix (normally "o"). -objext="$ac_objext" + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Old archive suffix (normally "a"). -libext="$libext" + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; -# Executable file suffix (normally ""). -exeext="$exeext" + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; -# Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag -pic_mode=$pic_mode + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac +]) -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo -# Must we lock files when doing compilation ? -need_locks=$lt_need_locks +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac -# Do we need a version for libraries? -need_version=$need_version + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' -# Whether dlopen is supported. -dlopen_support=$enable_dlopen + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static +EOF + fi + ;; -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 -# Library versioning type. -version_type=$version_type +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. -# Format of library name prefix. -libname_spec=$lt_libname_spec +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + fi + ;; -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# This is the shared library runtime path variable. -runpath_var=$runpath_var + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; -# This is the shared library path variable. -shlibpath_var=$shlibpath_var + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; -# ### END LIBTOOL CONFIG + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -__EOF__ +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi + ;; +esac +])# AC_LIBTOOL_PROG_LD_SHLIBS -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include @@ -3912,364 +6893,241 @@ EOF # return TRUE; # } # /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" -fi +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) -])# _LT_AC_LTCONFIG_HACK -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) +# old names +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) +# This is just to silence aclocal about the macro not being used +ifelse([AC_DISABLE_FAST_INSTALL]) -# AC_ENABLE_SHARED - implement the --enable-shared flag -# Usage: AC_ENABLE_SHARED[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(shared, -changequote(<<, >>)dnl -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) ]) -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no)]) +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) -# AC_ENABLE_STATIC - implement the --enable-static flag -# Usage: AC_ENABLE_STATIC[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(static, -changequote(<<, >>)dnl -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +# LT_AC_PROG_SED +# -------------- +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +AC_DEFUN([LT_AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed fi done - IFS="$ac_save_ifs" - ;; -esac], -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl +done +SED=$lt_cv_path_SED +]) +AC_MSG_RESULT([$SED]) ]) -# AC_DISABLE_STATIC - set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no)]) +# relocatable.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to -# `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE(fast-install, -changequote(<<, >>)dnl -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], -changequote([, ])dnl -[p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes +dnl Support for relocateble programs. +AC_DEFUN([AC_RELOCATABLE], +[ + AC_REQUIRE([AC_PROG_INSTALL]) + AC_BEFORE([AC_PROG_INSTALL],[AC_RELOCATABLE]) + AC_REQUIRE([AC_LIB_LIBPATH]) + AC_REQUIRE([AC_RELOCATABLE_LIBRARY]) + use_elf_origin_trick=no + if test $RELOCATABLE = yes; then + # --enable-relocatable implies --disable-rpath + enable_rpath=no + AC_LIBOBJ([relocatable]) + AC_DEFINE([ENABLE_RELOCATABLE], 1, + [Define to 1 if the package shall run at any location in the filesystem.]) + case "$host_os" in + linux*) use_elf_origin_trick=yes ;; + esac + if test $use_elf_origin_trick = yes; then + dnl Use the dynamic linker's support for relocatable programs. + case "$ac_aux_dir" in + /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;; + *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;; + esac + SET_RELOCATABLE="RELOCATABLE_LDFLAGS = \"$reloc_ldflags\" \"@host@\" \"\$(RELOCATABLE_LIBRARY_PATH)\"" + else + dnl Unfortunately we cannot define INSTALL_PROGRAM to a command + dnl consisting of more than one word - libtool doesn't support this. + dnl So we abuse the INSTALL_PROGRAM_ENV hook, originally meant for the + dnl 'install-strip' target. + SET_RELOCATABLE="INSTALL_PROGRAM_ENV = RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\"" + case "$ac_aux_dir" in + /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;; + *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;; + esac fi - done - IFS="$ac_save_ifs" - ;; -esac], -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl + else + SET_RELOCATABLE= + fi + AC_SUBST([SET_RELOCATABLE]) + AM_CONDITIONAL([RELOCATABLE_VIA_LD], + [test $use_elf_origin_trick = yes]) ]) -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no)]) - -# AC_LIBTOOL_PICMODE - implement the --with-pic flag -# Usage: AC_LIBTOOL_PICMODE[(MODE)] -# Where MODE is either `yes' or `no'. If omitted, it defaults to -# `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default)]) - - -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 +dnl Support for relocatable libraries. +AC_DEFUN([AC_RELOCATABLE_LIBRARY], +[ + AC_REQUIRE([AC_RELOCATABLE_NOP]) + dnl Easier to put this here once, instead of into the DEFS of each Makefile. + if test "X$prefix" = "XNONE"; then + reloc_final_prefix="$ac_default_prefix" + else + reloc_final_prefix="$prefix" + fi + AC_DEFINE_UNQUOTED([INSTALLPREFIX], ["${reloc_final_prefix}"], + [Define to the value of ${prefix}, as a string.]) +]) -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org +dnl Support for relocatable packages for which it is a nop. +AC_DEFUN([AC_RELOCATABLE_NOP], +[ + AC_MSG_CHECKING([whether to activate relocatable installation]) + AC_ARG_ENABLE(relocatable, + [ --enable-relocatable install a package that can be moved in the filesystem], + [if test "$enableval" != no; then + RELOCATABLE=yes + else + RELOCATABLE=no + fi + ], RELOCATABLE=no) + AC_SUBST(RELOCATABLE) + AC_MSG_RESULT([$RELOCATABLE]) +]) -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi +dnl Determine the platform dependent parameters needed to use relocatability: +dnl shlibpath_var. +AC_DEFUN([AC_LIB_LIBPATH], +[ + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $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 path variable], acl_cv_libpath, [ + LD="$LD" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_libpath=${acl_cv_shlibpath_var:-none} + ]) + shlibpath_var="$acl_cv_shlibpath_var" ]) +# lib-ld.m4 serial 2 (gettext-0.12) +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. -# AC_PATH_MAGIC - find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) - else - MAGIC_CMD=: - fi -fi +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. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi]) +with_gnu_ld=$acl_cv_prog_gnu_ld ]) - -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], +dnl From libtool-1.4. Sets the variable LD. +AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld, [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl +# 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. @@ -4283,8 +7141,8 @@ if test "$GCC" = yes; then esac case $ac_prog in # Accept absolute paths. - [[\\/]]* | [[A-Za-z]]:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' + [[\\/]* | [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 @@ -4298,466 +7156,47 @@ if test "$GCC" = yes; then ;; *) # 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(lt_cv_path_LD, -[if test -z "$LD"; then - IFS="${IFS= }"; ac_save_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 - lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - fi - done - IFS="$ac_save_ifs" -else - lt_cv_path_LD="$LD" # Let the user override the test with a path. -fi]) -LD="$lt_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_PROG_LD_GNU -]) - -# AC_PROG_LD_GNU - -AC_DEFUN([AC_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - lt_cv_prog_gnu_ld=yes -else - lt_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$lt_cv_prog_gnu_ld -]) - -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, -[lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" -]) - -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi4*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd='/usr/bin/file -L' - case "$host_os" in - rhapsody* | darwin1.[[012]]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` - ;; - *) # Darwin 1.3 on - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' - ;; - esac - ;; - -freebsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; - esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux-gnu*) - case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' - fi - ;; - -osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so - lt_cv_deplibs_check_method=pass_all - ;; - -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so - ;; - -sysv5uw[[78]]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all + with_gnu_ld=unknown ;; esac - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -]) - - -# AC_PROG_NM - find the path to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl -AC_MSG_CHECKING([for BSD-compatible nm]) -AC_CACHE_VAL(lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + 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=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then - lt_cv_path_NM="$tmp_nm -B" - break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break + 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. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags + test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) -NM="$lt_cv_path_NM" -AC_MSG_RESULT([$NM]) -]) - -# AC_CHECK_LIBM - check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32*) - # These system don't have libm - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, main, LIBM="-lm") - ;; -esac -]) - -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl convenience library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-convenience to the -# configure arguments. Note that LIBLTDL and LTDLINCL are not -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed -# with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) - -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for -# the libltdl installable library and LTDLINCL to the include flags for -# the libltdl header and adds --enable-ltdl-install to the configure -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed -# with '${top_srcdir}/' (note the single quotes!). If your package is -# not flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, main, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -]) - -# old names -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) - -# This is just to silence aclocal about the macro not being used -ifelse([AC_DISABLE_FAST_INSTALL]) - -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -# LT_AC_PROG_SED -# -------------- -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -AC_DEFUN([LT_AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" -]) -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED +LD="$acl_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) else - SED=$lt_cv_path_SED + AC_MSG_RESULT(no) fi -AC_MSG_RESULT([$SED]) +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_LIB_PROG_LD_GNU ]) -# stdbool.m4 serial 2 (gettext-0.11.3) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# stdbool.m4 serial 3 (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 @@ -4770,6 +7209,8 @@ dnl Test whether is supported or must be substituted. AC_DEFUN([gt_STDBOOL_H], [dnl gcc 2.95.2 has an for which both 'true' and 'false' evaluate dnl to 0 in preprocessor expressions. +dnl HP-UX 11 cc has an but the compiler doesn't understand the +dnl type '_Bool' (to which 'bool' expands). AC_MSG_CHECKING([for stdbool.h]) AC_CACHE_VAL(gt_cv_header_stdbool_h, [ AC_TRY_COMPILE([#include @@ -4782,6 +7223,7 @@ int A[-1]; #define b 1 #endif int B[b]; +bool c; ], [], gt_cv_header_stdbool_h=yes, gt_cv_header_stdbool_h=no)]) AC_MSG_RESULT([$gt_cv_header_stdbool_h]) if test $gt_cv_header_stdbool_h = yes; then @@ -4849,8 +7291,8 @@ AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], fi ]) -# uintmax_t.m4 serial 7 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# uintmax_t.m4 serial 7 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -4882,8 +7324,8 @@ AC_DEFUN([jm_AC_TYPE_UINTMAX_T], fi ]) -# inttypes_h.m4 serial 5 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# inttypes_h.m4 serial 5 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -4911,8 +7353,8 @@ AC_DEFUN([jm_AC_HEADER_INTTYPES_H], fi ]) -# stdint_h.m4 serial 3 (gettext-0.11.6) -dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +# stdint_h.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 1997-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 @@ -4967,7 +7409,7 @@ AC_DEFUN([gt_TYPE_SSIZE_T], fi ]) -# alloca.m4 serial 2 +# alloca.m4 serial 2 (gettext-0.12) dnl Copyright (C) 2002-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 @@ -5004,8 +7446,8 @@ AC_DEFUN([gl_PREREQ_ALLOCA], [ AC_CHECK_HEADERS_ONCE(stdlib.h string.h) ]) -# onceonly.m4 serial 1 -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# onceonly.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 2002, 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 @@ -5027,15 +7469,20 @@ dnl inside an AC_DEFUNed function, the gl_CHECK_HEADERS macro call expands to dnl empty, and the check will be inserted before the body of the AC_DEFUNed dnl function. +dnl Autoconf version 2.57 or newer is recommended. +AC_PREREQ(2.54) + # AC_CHECK_HEADERS_ONCE(HEADER1 HEADER2 ...) is a once-only variant of # AC_CHECK_HEADERS(HEADER1 HEADER2 ...). AC_DEFUN([AC_CHECK_HEADERS_ONCE], [ : AC_FOREACH([gl_HEADER_NAME], [$1], [ - AC_DEFUN([gl_CHECK_HEADER_]translit(gl_HEADER_NAME,[./-], [___]), [ + AC_DEFUN([gl_CHECK_HEADER_]m4_quote(translit(m4_defn([gl_HEADER_NAME]), + [-./], [___])), [ AC_CHECK_HEADERS(gl_HEADER_NAME) ]) - AC_REQUIRE([gl_CHECK_HEADER_]translit(gl_HEADER_NAME,[./-], [___])) + AC_REQUIRE([gl_CHECK_HEADER_]m4_quote(translit(gl_HEADER_NAME, + [-./], [___]))) ]) ]) @@ -5044,10 +7491,10 @@ AC_DEFUN([AC_CHECK_HEADERS_ONCE], [ AC_DEFUN([AC_CHECK_FUNCS_ONCE], [ : AC_FOREACH([gl_FUNC_NAME], [$1], [ - AC_DEFUN([gl_CHECK_FUNC_]gl_FUNC_NAME, [ - AC_CHECK_FUNCS(gl_FUNC_NAME) + AC_DEFUN([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME]), [ + AC_CHECK_FUNCS(m4_defn([gl_FUNC_NAME])) ]) - AC_REQUIRE([gl_CHECK_FUNC_]gl_FUNC_NAME) + AC_REQUIRE([gl_CHECK_FUNC_]m4_defn([gl_FUNC_NAME])) ]) ]) @@ -5056,15 +7503,15 @@ AC_DEFUN([AC_CHECK_FUNCS_ONCE], [ AC_DEFUN([AC_CHECK_DECLS_ONCE], [ : AC_FOREACH([gl_DECL_NAME], [$1], [ - AC_DEFUN([gl_CHECK_DECL_]gl_DECL_NAME, [ - AC_CHECK_DECLS(gl_DECL_NAME) + AC_DEFUN([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME]), [ + AC_CHECK_DECLS(m4_defn([gl_DECL_NAME])) ]) - AC_REQUIRE([gl_CHECK_DECL_]gl_DECL_NAME) + AC_REQUIRE([gl_CHECK_DECL_]m4_defn([gl_DECL_NAME])) ]) ]) -# getline.m4 serial 6 (gettext-0.11.6) -dnl Copyright (C) 1998-2002 Free Software Foundation, Inc. +# getline.m4 serial 6 (gettext-0.12) +dnl Copyright (C) 1998-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 @@ -5118,8 +7565,8 @@ AC_DEFUN([AM_FUNC_GETLINE], fi ]) -# fnmatch.m4 serial 3 (gettext-0.11.6) -dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. +# fnmatch.m4 serial 3 (gettext-0.12) +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 @@ -5170,6 +7617,21 @@ AC_DEFUN([gt_FUNC_FNMATCH], fi ]) +# eaccess.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. + +AC_DEFUN([gl_FUNC_EACCESS], +[ + AC_CHECK_FUNC(eaccess, , + [AC_DEFINE(eaccess, access, + [Define as 'access' if you don't have the eaccess() function.])]) +]) + # mbswidth.m4 serial 6 (fileutils-4.1.3) dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU @@ -5479,37 +7941,209 @@ AC_DEFUN([gt_CHECK_VAR_DECL], # Prerequisites of lib/setenv.c -AC_DEFUN([gt_FUNC_SETENV], +AC_DEFUN([gt_FUNC_SETENV], +[ + AC_REPLACE_FUNCS(setenv unsetenv) + AC_CHECK_HEADERS(search.h stdlib.h string.h unistd.h) + AC_CHECK_FUNCS(tsearch) + gt_CHECK_VAR_DECL([#include ], errno) + gt_CHECK_VAR_DECL([#include ], environ) +]) + +# strerror.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. + +AC_DEFUN([gl_FUNC_STRERROR], +[ + AC_REPLACE_FUNCS(strerror) + if test $ac_cv_func_strerror = no; then + gl_PREREQ_STRERROR + fi +]) + +# Prerequisites of lib/strerror.c. +AC_DEFUN([gl_PREREQ_STRERROR], [ + : +]) + +#serial 7 -*- autoconf -*- + +dnl From Jim Meyering. +dnl +dnl See if the glibc *_unlocked I/O macros or functions are available. +dnl Use only those *_unlocked macros or functions that are declared +dnl (because some of them were declared in Solaris 2.5.1 but were removed +dnl in Solaris 2.6, whereas we want binaries built on Solaris 2.5.1 to run +dnl on Solaris 2.6). + +AC_DEFUN([jm_FUNC_GLIBC_UNLOCKED_IO], +[ + dnl Persuade glibc to declare fgets_unlocked(), fputs_unlocked() + dnl etc. + AC_REQUIRE([AC_GNU_SOURCE]) + + AC_CHECK_DECLS_ONCE( + [clearerr_unlocked feof_unlocked ferror_unlocked + fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked + fread_unlocked fwrite_unlocked getc_unlocked + getchar_unlocked putc_unlocked putchar_unlocked]) +]) + +# error.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 2002-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. + +# A modified version of AM_FUNC_ERROR_AT_LINE that triggers HAVE_ERROR_AT_LINE +# in config.h instead of modifying LIBOBJS. +AC_DEFUN([gt_FUNC_ERROR_AT_LINE], +[ + AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, + [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], + am_cv_lib_error_at_line=yes, + am_cv_lib_error_at_line=no)]) + if test $am_cv_lib_error_at_line = yes; then + AC_DEFINE(HAVE_ERROR_AT_LINE, 1, + [Define to 1 if you have the functions error() and error_at_line().]) + else + jm_PREREQ_ERROR + fi +]) + +# Prerequisites of lib/error.c. +AC_DEFUN([jm_PREREQ_ERROR], +[ + AC_REQUIRE([AC_HEADER_STDC]) + AC_REQUIRE([AC_FUNC_VPRINTF]) + AC_CHECK_FUNCS(strerror) + AC_CHECK_DECLS([strerror]) + AC_FUNC_STRERROR_R +]) + +#serial 1003 +# Experimental replacement for the function in the latest CVS autoconf. +# Use with the error.c file in ../lib. + +# Copyright 2001 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. */ + +undefine([AC_FUNC_STRERROR_R]) + +# AC_FUNC_STRERROR_R +# ------------------ +AC_DEFUN([AC_FUNC_STRERROR_R], +[AC_CHECK_DECLS([strerror_r]) +AC_CHECK_FUNCS([strerror_r]) +AC_CACHE_CHECK([whether strerror_r returns char *], + ac_cv_func_strerror_r_char_p, + [ + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], + [[ + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); + ]])], + ac_cv_func_strerror_r_char_p=yes) + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT + extern char *strerror_r ();], + [[char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + exit (!isalpha (x));]])], + ac_cv_func_strerror_r_char_p=yes, , :) + fi + ]) +if test $ac_cv_func_strerror_r_char_p = yes; then + AC_DEFINE([STRERROR_R_CHAR_P], 1, + [Define to 1 if strerror_r returns char *.]) +fi +])# AC_FUNC_STRERROR_R + +# pathmax.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. + +AC_DEFUN([gl_PATHMAX], +[ + dnl Prerequisites of lib/pathmax.h. + AC_CHECK_HEADERS_ONCE(limits.h sys/param.h unistd.h) +]) + +# xreadlink.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. + +AC_DEFUN([gl_XREADLINK], [ - AC_REPLACE_FUNCS(setenv unsetenv) - AC_CHECK_HEADERS(search.h stdlib.h string.h unistd.h) - AC_CHECK_FUNCS(tsearch) - gt_CHECK_VAR_DECL([#include ], errno) - gt_CHECK_VAR_DECL([#include ], environ) + dnl Prerequisites of lib/xreadlink.c. + AC_CHECK_HEADERS_ONCE(limits.h stdlib.h sys/types.h unistd.h) ]) -# error.m4 serial 1 (gettext-0.11) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# canonicalize.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 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. -# A modified version of AM_FUNC_ERROR_AT_LINE that triggers HAVE_ERROR_AT_LINE -# in config.h instead of modifying LIBOBJS. -AC_DEFUN([gt_FUNC_ERROR_AT_LINE], +AC_DEFUN([gl_CANONICALIZE], [ - AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, - [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], - am_cv_lib_error_at_line=yes, - am_cv_lib_error_at_line=no)]) - if test $am_cv_lib_error_at_line = yes; then - AC_DEFINE(HAVE_ERROR_AT_LINE, 1, - [Define to 1 if you have the functions error() and error_at_line().]) + dnl Do this replacement check manually because the file name is shorter + dnl than the function name. + AC_CHECK_FUNCS(canonicalize_file_name) + if test $ac_cv_func_canonicalize_file_name = no; then + AC_LIBOBJ(canonicalize) + AC_DEFINE([realpath], [rpl_realpath], + [Define to a replacement function name for realpath().]) + gl_PREREQ_CANONICALIZE fi ]) +# Prerequisites of lib/canonicalize.c. +AC_DEFUN([gl_PREREQ_CANONICALIZE], +[ + AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h) + AC_CHECK_FUNCS(getcwd) +]) + # setlocale.m4 serial 2 (gettext-0.10.40) dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU @@ -5574,7 +8208,7 @@ AC_DEFUN([gt_PREREQ_HOSTNAME], fi ]) -# gettext.m4 serial 18 (gettext-0.11.6) +# gettext.m4 serial 20 (gettext-0.12) dnl Copyright (C) 1995-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 @@ -5593,7 +8227,7 @@ dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. -dnl Bruno Haible , 2000-2002. +dnl Bruno Haible , 2000-2003. dnl Macro to add for using GNU gettext. @@ -5668,13 +8302,8 @@ AC_DEFUN([AM_GNU_GETTEXT], AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) - AC_MSG_CHECKING([whether NLS is requested]) - dnl Default is enabled NLS - AC_ARG_ENABLE(nls, - [ --disable-nls do not use Native Language Support], - USE_NLS=$enableval, USE_NLS=yes) - AC_MSG_RESULT($USE_NLS) - AC_SUBST(USE_NLS) + dnl Set USE_NLS. + AM_NLS ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no @@ -5812,7 +8441,6 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. - INTLOBJS="\$(GETTOBJS)" BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" @@ -5884,7 +8512,6 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", AC_SUBST(BUILD_INCLUDED_LIBINTL) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATOBJEXT) - AC_SUBST(INTLOBJS) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= @@ -5902,6 +8529,12 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", GENCAT=gencat AC_SUBST(GENCAT) + dnl For backward compatibility. Some Makefiles may be using this. + if test "$USE_INCLUDED_LIBINTL" = yes; then + INTLOBJS="\$(GETTOBJS)" + fi + AC_SUBST(INTLOBJS) + dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) @@ -5918,13 +8551,107 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", ]) -dnl Checks for all prerequisites of the po subdirectory, -dnl except for USE_NLS. +dnl Checks for all prerequisites of the intl subdirectory, +dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, +dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. +AC_DEFUN([AM_INTL_SUBDIR], +[ + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_MKINSTALLDIRS])dnl + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_ISC_POSIX])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([jm_GLIBC21])dnl + AC_REQUIRE([gt_INTDIV0])dnl + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl + AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl + AC_REQUIRE([gt_INTTYPES_PRI])dnl + + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ +stdlib.h string.h unistd.h sys/param.h]) + AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ +geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ +strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \ +__fsetlocking]) + + AM_ICONV + AM_LANGINFO_CODESET + if test $ac_cv_header_locale_h = yes; then + AM_LC_MESSAGES + fi + + dnl intl/plural.c is generated from intl/plural.y. It requires bison, + dnl because plural.y uses bison specific features. It requires at least + dnl bison-1.26 because earlier versions generate a plural.c that doesn't + dnl compile. + dnl bison is only needed for the maintainer (who touches plural.y). But in + dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put + dnl the rule in general Makefile. Now, some people carelessly touch the + dnl files or have a broken "make" program, hence the plural.c rule will + dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not + dnl present or too old. + AC_CHECK_PROGS([INTLBISON], [bison]) + if test -z "$INTLBISON"; then + ac_verc_fail=yes + else + dnl Found it, now check the version. + AC_MSG_CHECKING([version of bison]) +changequote(<<,>>)dnl + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) +changequote([,])dnl + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + esac + AC_MSG_RESULT([$ac_prog_version]) + fi + if test $ac_verc_fail = yes; then + INTLBISON=: + fi +]) + + +dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) +AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) + +# po.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 1995-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 +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_MKINSTALLDIRS])dnl + AC_REQUIRE([AM_NLS])dnl dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. @@ -5938,12 +8665,12 @@ AC_DEFUN([AM_PO_SUBDIRS], :) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) - dnl Search for GNU xgettext 0.11 or newer in the PATH. + dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, - [$ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po @@ -5973,8 +8700,8 @@ AC_DEFUN([AM_PO_SUBDIRS], if test "$XGETTEXT" != ":"; then dnl If it is no GNU xgettext we define it as : so that the dnl Makefiles still can work. - if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else AC_MSG_RESULT( @@ -6095,84 +8822,49 @@ AC_DEFUN([AM_PO_SUBDIRS], ]) ]) +# nls.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 1995-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 +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. -dnl Checks for all prerequisites of the intl subdirectory, -dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, -dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. -AC_DEFUN([AM_INTL_SUBDIR], -[ - AC_REQUIRE([AC_PROG_INSTALL])dnl - AC_REQUIRE([AM_MKINSTALLDIRS])dnl - AC_REQUIRE([AC_PROG_CC])dnl - AC_REQUIRE([AC_CANONICAL_HOST])dnl - AC_REQUIRE([AC_PROG_RANLIB])dnl - AC_REQUIRE([AC_ISC_POSIX])dnl - AC_REQUIRE([AC_HEADER_STDC])dnl - AC_REQUIRE([AC_C_CONST])dnl - AC_REQUIRE([AC_C_INLINE])dnl - AC_REQUIRE([AC_TYPE_OFF_T])dnl - AC_REQUIRE([AC_TYPE_SIZE_T])dnl - AC_REQUIRE([AC_FUNC_ALLOCA])dnl - AC_REQUIRE([AC_FUNC_MMAP])dnl - AC_REQUIRE([jm_GLIBC21])dnl - AC_REQUIRE([gt_INTDIV0])dnl - AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl - AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl - AC_REQUIRE([gt_INTTYPES_PRI])dnl - - AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ -stdlib.h string.h unistd.h sys/param.h]) - AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ -geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ -strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next]) - - AM_ICONV - AM_LANGINFO_CODESET - if test $ac_cv_header_locale_h = yes; then - AM_LC_MESSAGES - fi +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. - dnl intl/plural.c is generated from intl/plural.y. It requires bison, - dnl because plural.y uses bison specific features. It requires at least - dnl bison-1.26 because earlier versions generate a plural.c that doesn't - dnl compile. - dnl bison is only needed for the maintainer (who touches plural.y). But in - dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put - dnl the rule in general Makefile. Now, some people carelessly touch the - dnl files or have a broken "make" program, hence the plural.c rule will - dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not - dnl present or too old. - AC_CHECK_PROGS([INTLBISON], [bison]) - if test -z "$INTLBISON"; then - ac_verc_fail=yes - else - dnl Found it, now check the version. - AC_MSG_CHECKING([version of bison]) -changequote(<<,>>)dnl - ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in - '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; - 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) -changequote([,])dnl - ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; - esac - AC_MSG_RESULT([$ac_prog_version]) - fi - if test $ac_verc_fail = yes; then - INTLBISON=: - fi +AC_DEFUN([AM_NLS], +[ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) ]) - AC_DEFUN([AM_MKINSTALLDIRS], [ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but $(top_srcdir). - dnl Try to locate is. + dnl Try to locate it. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then - MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" @@ -6180,12 +8872,100 @@ AC_DEFUN([AM_MKINSTALLDIRS], AC_SUBST(MKINSTALLDIRS) ]) +# progtest.m4 serial 3 (gettext-0.12) +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 +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1996. + +# Search path for a program which passes the given test. + +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN([AM_PATH_PROG_WITH_TEST], +[ +# 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 + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file -dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) -AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) +# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + [[\\/]]* | ?:[[\\/]]*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in ifelse([$5], , $PATH, [$5]); do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) -# lib-prefix.m4 serial 1 (gettext-0.11) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# lib-prefix.m4 serial 2 (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 @@ -6194,6 +8974,13 @@ 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 @@ -6212,7 +8999,7 @@ AC_DEFUN([AC_LIB_PREFIX], eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) - AC_ARG_WITH([lib-prefix], + 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], [ @@ -6333,8 +9120,8 @@ AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], prefix="$acl_save_prefix" ]) -# lib-link.m4 serial 3 (gettext-0.11.3) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# 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 @@ -6427,8 +9214,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 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, -dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. +dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS @@ -6449,8 +9235,6 @@ AC_DEFUN([AC_LIB_RPATH], hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], @@ -6470,7 +9254,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) - AC_ARG_WITH([lib$1-prefix], + 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], [ @@ -6888,117 +9672,6 @@ AC_DEFUN([AC_LIB_APPENDTOVAR], done ]) -# lib-ld.m4 serial 2 (gettext-0.11.6) -dnl Copyright (C) 1996-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 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. -if $LD -v 2>&1 &5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi]) -with_gnu_ld=$acl_cv_prog_gnu_ld -]) - -dnl From libtool-1.4. Sets the variable LD. -AC_DEFUN([AC_LIB_PROG_LD], -[AC_ARG_WITH(gnu-ld, -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -# 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. - 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. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - 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 -]) - # 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 @@ -7103,98 +9776,6 @@ size_t iconv(); fi ]) -# progtest.m4 serial 3 (gettext-0.11.6) -dnl Copyright (C) 1996-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 -dnl This file can can be used in projects which are not available under -dnl the GNU General Public License or the GNU Library General Public -dnl License but which still want to provide support for the GNU gettext -dnl functionality. -dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Library General Public License, and the rest of the GNU -dnl gettext package package is covered by the GNU General Public License. -dnl They are *not* in the public domain. - -dnl Authors: -dnl Ulrich Drepper , 1996. - -# Search path for a program which passes the given test. - -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN([AM_PATH_PROG_WITH_TEST], -[ -# 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 - -# Find out how to test for executable files. Don't use a zero-byte file, -# as systems may use methods other than mode bits to determine executability. -cat >conf$$.file <<_ASEOF -#! /bin/sh -exit 0 -_ASEOF -chmod +x conf$$.file -if test -x conf$$.file >/dev/null 2>&1; then - ac_executable_p="test -x" -else - ac_executable_p="test -f" -fi -rm -f conf$$.file - -# Extract the first word of "$2", so it can be a program name with args. -set dummy $2; ac_word=[$]2 -AC_MSG_CHECKING([for $ac_word]) -AC_CACHE_VAL(ac_cv_path_$1, -[case "[$]$1" in - [[\\/]]* | ?:[[\\/]]*) - ac_cv_path_$1="[$]$1" # Let the user override the test with a path. - ;; - *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in ifelse([$5], , $PATH, [$5]); do - IFS="$ac_save_IFS" - test -z "$ac_dir" && ac_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - if [$3]; then - ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" - break 2 - fi - fi - done - done - IFS="$ac_save_IFS" -dnl If no 4th arg is given, leave the cache variable unset, -dnl so AC_PATH_PROGS will keep looking. -ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" -])dnl - ;; -esac])dnl -$1="$ac_cv_path_$1" -if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then - AC_MSG_RESULT([$]$1) -else - AC_MSG_RESULT(no) -fi -AC_SUBST($1)dnl -]) - # glibc21.m4 serial 2 (fileutils-4.1.3, 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 @@ -7481,7 +10062,7 @@ AC_SUBST(lispdir) AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR]) -# ansi-c++.m4 serial 1 (gettext-0.11.6) +# ansi-c++.m4 serial 1 (gettext-0.12) dnl Copyright (C) 2002-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 @@ -7546,8 +10127,8 @@ EOF fi ]) -# fixautomake.m4 serial 1 (gettext-0.11.6) -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# fixautomake.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 2002-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 @@ -7568,7 +10149,7 @@ AC_DEFUN([FIX_MAKEFILE_DISTRIB], [ mv $1.tmp $1 ]) -dnl Fix an automake-1-5.1.7.2 bug: all info files are erased by "make". +dnl Fix an automake-1.5-1.7.2 bug: all info files are erased by "make". AC_DEFUN([FIX_MAKEFILE_INFO], [ sed -e '/@rm -f \$''@/d' < $1 > $1.tmp mv $1.tmp $1 diff --git a/gettext-tools/config.h.in b/gettext-tools/config.h.in index ff4e32098..496e209ec 100644 --- a/gettext-tools/config.h.in +++ b/gettext-tools/config.h.in @@ -31,6 +31,9 @@ language is requested. */ #undef ENABLE_NLS +/* Define to 1 if the package shall run at any location in the filesystem. */ +#undef ENABLE_RELOCATABLE + /* Define to 1 if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA @@ -44,10 +47,76 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H +/* Define to 1 if you have the `canonicalize_file_name' function. */ +#undef HAVE_CANONICALIZE_FILE_NAME + +/* Define to 1 if you have the `chown' function. */ +#undef HAVE_CHOWN + /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_CLEARERR_UNLOCKED + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_FEOF_UNLOCKED + +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FERROR_UNLOCKED + +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FFLUSH_UNLOCKED + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FGETS_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 `fread_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FREAD_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 `getchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_GETCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_GETC_UNLOCKED + +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_PUTCHAR_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 declaration of `strerror', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR + +/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR_R + /* Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise. */ #undef HAVE_DECL_WCWIDTH @@ -174,6 +243,9 @@ /* Define to 1 if you have the `mbsinit' function. */ #undef HAVE_MBSINIT +/* Define to 1 if you have the `memmove' function. */ +#undef HAVE_MEMMOVE + /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H @@ -216,6 +288,9 @@ /* Define to 1 if you have the `putenv' function. */ #undef HAVE_PUTENV +/* Define to 1 if you have the header file. */ +#undef HAVE_PWD_H + /* Define to 1 if you have the `raise' function. */ #undef HAVE_RAISE @@ -266,6 +341,9 @@ /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R + /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H @@ -379,12 +457,18 @@ /* Define to 1 if you have the `__argz_stringify' function. */ #undef HAVE___ARGZ_STRINGIFY +/* Define to 1 if you have the `__fsetlocking' function. */ +#undef HAVE___FSETLOCKING + /* Define to 1 if you have the `__secure_getenv' function. */ #undef HAVE___SECURE_GETENV /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST +/* Define to the value of ${prefix}, as a string. */ +#undef INSTALLPREFIX + /* Define if integer division by zero raises signal SIGFPE. */ #undef INTDIV0_RAISES_SIGFPE @@ -426,15 +510,23 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define to 1 if strerror_r returns char *. */ +#undef STRERROR_R_CHAR_P + /* Version number of package */ #undef VERSION -/* Make sure we see all GNU extensions. */ -#undef _GNU_SOURCE +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif /* Define to empty if `const' does not conform to ANSI C. */ #undef const +/* Define as 'access' if you don't have the eaccess() function. */ +#undef eaccess + /* Define to a replacement function name for fnmatch(). */ #undef fnmatch @@ -448,12 +540,18 @@ /* Define to a type if does not define. */ #undef mbstate_t +/* Define to `int' if does not define. */ +#undef mode_t + /* Define to `long' if does not define. */ #undef off_t /* Define to `int' if does not define. */ #undef pid_t +/* Define to a replacement function name for realpath(). */ +#undef realpath + /* Define to empty if the C compiler doesn't support this keyword. */ #undef signed @@ -473,11 +571,17 @@ /* A file name cannot consist of any character possible. INVALID_PATH_CHAR contains the characters not allowed. */ -#ifndef MSDOS -# define INVALID_PATH_CHAR "\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37 \177/" -#else +#if defined _MSC_VER || defined __MINGW32__ +/* Woe32. This string is valid for Windows NT/2000. On Windows 95/98/ME some + few characters in the range 0x80..0xff are invalid as well, but this doesn't + matter much for our purposes. */ +# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\"*/:<>?\\|" +#elif defined MSDOS /* Something like this for MSDOG. */ -# define INVALID_PATH_CHAR "\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37 \177\\:." +# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 \177\\:." +#else +/* Unix. */ +# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 \177/" #endif /* This is the page width for the message_print function. It should diff --git a/gettext-tools/config.h.msvc b/gettext-tools/config.h.msvc index f38a6bd72..0c164e767 100644 --- a/gettext-tools/config.h.msvc +++ b/gettext-tools/config.h.msvc @@ -47,6 +47,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H +/* Define to 1 if you have the `canonicalize_file_name' function. */ +#undef HAVE_CANONICALIZE_FILE_NAME + /* Define to 1 if you have the `chown' function. */ #undef HAVE_CHOWN @@ -54,6 +57,66 @@ */ #undef HAVE_DCGETTEXT +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_CLEARERR_UNLOCKED + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_FEOF_UNLOCKED + +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FERROR_UNLOCKED + +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FFLUSH_UNLOCKED + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FGETS_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 `fread_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FREAD_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 `getchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_GETCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_GETC_UNLOCKED + +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_PUTCHAR_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 declaration of `strerror', and to 0 if you + don't. */ +#define HAVE_DECL_STRERROR 1 + +/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR_R + /* Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise. */ #define HAVE_DECL_WCWIDTH 0 @@ -278,6 +341,9 @@ /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R + /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H @@ -288,7 +354,7 @@ #undef HAVE_STRNCASECMP /* Define to 1 if you have the `strpbrk' function. */ -#undef HAVE_STRPBRK +#define HAVE_STRPBRK 1 /* Define to 1 if you have the `strstr' function. */ #define HAVE_STRSTR 1 @@ -443,15 +509,23 @@ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 +/* Define to 1 if strerror_r returns char *. */ +#undef STRERROR_R_CHAR_P + /* Version number of package */ -#define VERSION "0.12-pre3" +#define VERSION "0.12" -/* Make sure we see all GNU extensions. */ -#undef _GNU_SOURCE +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif /* Define to empty if `const' does not conform to ANSI C. */ #undef const +/* Define as 'access' if you don't have the eaccess() function. */ +#undef eaccess + /* Define to a replacement function name for fnmatch(). */ #define fnmatch rpl_fnmatch @@ -496,11 +570,17 @@ /* A file name cannot consist of any character possible. INVALID_PATH_CHAR contains the characters not allowed. */ -#ifndef MSDOS -# define INVALID_PATH_CHAR "\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37 \177/" -#else +#if defined _MSC_VER || defined __MINGW32__ +/* Woe32. This string is valid for Windows NT/2000. On Windows 95/98/ME some + few characters in the range 0x80..0xff are invalid as well, but this doesn't + matter much for our purposes. */ +# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\"*/:<>?\\|" +#elif defined MSDOS /* Something like this for MSDOG. */ -# define INVALID_PATH_CHAR "\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37 \177\\:." +# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 \177\\:." +#else +/* Unix. */ +# define INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 \177/" #endif /* This is the page width for the message_print function. It should diff --git a/gettext-tools/configure b/gettext-tools/configure index a35442408..ba6373fae 100755 --- a/gettext-tools/configure +++ b/gettext-tools/configure @@ -240,17 +240,6 @@ IFS=" $as_nl" $as_unset CDPATH -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator -fi - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -269,7 +258,7 @@ if test "X$1" = X--no-reexec; then elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else @@ -281,7 +270,7 @@ if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && @@ -325,7 +315,7 @@ else break fi done - IFS="$save_ifs" + IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. @@ -399,6 +389,11 @@ fi + +tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` + +tagnames=`echo "$tagnames,F77" | sed 's/^,//'` + # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. @@ -467,7 +462,7 @@ ac_includes_default="\ # 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 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 AWK SET_MAKE 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 YACC LEX LEX_OUTPUT_ROOT GCJ GCJFLAGS HAVE_GCJ BUILDJAVAEXE CPP EGREP HAVE_GCJ_IN_PATH HAVE_JAVAC_IN_PATH HAVE_JIKES_IN_PATH JAVAC CLASSPATH CLASSPATH_SEPARATOR HAVE_GCJ_C HAVE_JAVAC HAVE_JIKES JAR BUILDJAVA HAVE_GIJ_IN_PATH HAVE_JAVA_IN_PATH HAVE_JRE_IN_PATH HAVE_JVIEW_IN_PATH JAVA HAVE_GIJ HAVE_JAVA HAVE_JRE HAVE_JVIEW TESTJAVA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL HAVE__BOOL STDBOOL_H ALLOCA ALLOCA_H LIBOBJS MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBEXPAT LTLIBEXPAT HAVE_LIBEXPAT EMACS lispdir aclocaldir DVIPS TEXI2PDF PERL CROSS_COMPILING CXX CXXFLAGS LTALLOCA LTLIBOBJS' +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 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 AWK SET_MAKE am__leading_dot 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 YACC LEX GCJ GCJFLAGS HAVE_GCJ BUILDJAVAEXE CPP EGREP HAVE_GCJ_IN_PATH HAVE_JAVAC_IN_PATH HAVE_JIKES_IN_PATH JAVAC CLASSPATH CLASSPATH_SEPARATOR HAVE_GCJ_C HAVE_JAVAC HAVE_JIKES JAR BUILDJAVA HAVE_GIJ_IN_PATH HAVE_JAVA_IN_PATH HAVE_JRE_IN_PATH HAVE_JVIEW_IN_PATH JAVA HAVE_GIJ HAVE_JAVA HAVE_JRE HAVE_JVIEW TESTJAVA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RELOCATABLE LIBOBJS SET_RELOCATABLE RELOCATABLE_VIA_LD_TRUE RELOCATABLE_VIA_LD_FALSE HAVE__BOOL STDBOOL_H ALLOCA ALLOCA_H MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBEXPAT LTLIBEXPAT HAVE_LIBEXPAT EMACS lispdir aclocaldir DVIPS TEXI2PDF PERL CROSS_COMPILING LTALLOCA LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -944,6 +939,18 @@ ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS +ac_env_CXXCPP_set=${CXXCPP+set} +ac_env_CXXCPP_value=$CXXCPP +ac_cv_env_CXXCPP_set=${CXXCPP+set} +ac_cv_env_CXXCPP_value=$CXXCPP +ac_env_F77_set=${F77+set} +ac_env_F77_value=$F77 +ac_cv_env_F77_set=${F77+set} +ac_cv_env_F77_value=$F77 +ac_env_FFLAGS_set=${FFLAGS+set} +ac_env_FFLAGS_value=$FFLAGS +ac_cv_env_FFLAGS_set=${FFLAGS+set} +ac_cv_env_FFLAGS_value=$FFLAGS # # Report the --help message. @@ -1025,24 +1032,32 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-shared=PKGS build shared libraries default=yes - --enable-static=PKGS build static libraries default=yes - --enable-fast-install=PKGS optimize for fast installation default=yes + --enable-shared[=PKGS] + build shared libraries [default=yes] + --enable-static[=PKGS] + build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) - --disable-rpath do not hardcode runtime library paths + --enable-relocatable install a package that can be moved in the filesystem --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths 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-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] + include additional configurations [automatic] --with-gnu-ld assume the C compiler uses GNU ld default=no - --with-pic try to use only PIC/non-PIC objects default=use both - --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib + --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 --with-included-gettext use the GNU gettext library included here - --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir - --with-libexpat-prefix=DIR search for libexpat in DIR/include and DIR/lib + --with-libexpat-prefix[=DIR] search for libexpat in DIR/include and DIR/lib --without-libexpat-prefix don't search for libexpat in includedir and libdir --with-lispdir Override the default lisp directory @@ -1058,6 +1073,9 @@ Some influential environment variables: CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1711,6 +1729,15 @@ 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 @@ -1860,6 +1887,8 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" ac_config_headers="$ac_config_headers config.h" +test "$mandir" != '${prefix}/man' || mandir='${datadir}/man' + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2727,16 +2756,7 @@ 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 -rm -f .deps 2>/dev/null -mkdir .deps 2>/dev/null -if test -d .deps; then - DEPDIR=.deps -else - # MS-DOS does not allow filenames that begin with a dot. - DEPDIR=_deps -fi -rmdir .deps 2>/dev/null - +DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -2850,11 +2870,17 @@ else if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_CC_dependencies_compiler_type=$depmode - break + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi fi done @@ -3039,10 +3065,6 @@ fi - LEX_OUTPUT_ROOT=lex.yy - - - @@ -3951,83 +3973,143 @@ fi +cat >>confdefs.h <<\_ACEOF +#define _GNU_SOURCE 1 +_ACEOF + + + + + # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} -case $enableval in -yes) enable_shared=yes ;; -no) enable_shared=no ;; -*) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_shared=yes fi; + # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} -case $enableval in -yes) enable_static=yes ;; -no) enable_static=no ;; -*) - enable_static=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_static=yes fi; + # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} -case $enableval in -yes) enable_fast_install=yes ;; -no) enable_fast_install=no ;; -*) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," - for pkg in $enableval; do - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$ac_save_ifs" - ;; -esac + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else enable_fast_install=yes fi; -# Find the correct PATH separator. Usually this is `:', but -# DJGPP uses `;' like DOS. -if test "X${PATH_SEPARATOR+set}" != Xset; then - UNAME=${UNAME-`uname 2>/dev/null`} - case X$UNAME in - *-DOS) lt_cv_sys_path_separator=';' ;; - *) lt_cv_sys_path_separator=':' ;; - esac - PATH_SEPARATOR=$lt_cv_sys_path_separator + +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + fi +echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6 + # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then @@ -4039,8 +4121,8 @@ 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 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -4050,12 +4132,12 @@ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 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'` + 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%/%"` + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; @@ -4079,22 +4161,26 @@ if test "${lt_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=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_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. - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + case `"$lt_cv_path_LD" -v 2>&1 &6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then +case `"$LD" -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 @@ -4138,7 +4227,11 @@ fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag -test -n "$reload_flag" && reload_flag=" $reload_flag" +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -4149,120 +4242,42 @@ else # Let the user override the test. lt_cv_path_NM="$NM" else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. - tmp_nm=$ac_dir/${ac_tool_prefix}nm - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then - lt_cv_path_NM="$tmp_nm -p" - break - else - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - fi + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac fi done - IFS="$ac_save_ifs" + IFS="$lt_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi - +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6 NM="$lt_cv_path_NM" -echo "$as_me:$LINENO: result: $NM" >&5 -echo "${ECHO_T}$NM" >&6 - -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_executable_p="test -f" -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_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" - fi - done - done -done - - # 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. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/sed$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - _max=0 - _count=0 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris - # along with /bin/sed that truncates output. - for _sed in $_sed_list /usr/xpg4/bin/sed; do - test ! -f ${_sed} && break - cat /dev/null > "$tmp/sed.in" - _count=0 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" - # Check for GNU sed and select it if it is found. - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then - lt_cv_path_SED=${_sed} - break - fi - while true; do - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" - mv "$tmp/sed.tmp" "$tmp/sed.in" - cp "$tmp/sed.in" "$tmp/sed.nl" - echo >>"$tmp/sed.nl" - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 40000 chars as input seems more than enough - test $_count -gt 10 && break - _count=`expr $_count + 1` - if test $_count -gt $_max; then - _max=$_count - lt_cv_path_SED=$_sed - fi - done - done - rm -rf "$tmp" - -fi - -if test "X$SED" != "X"; then - lt_cv_path_SED=$SED -else - SED=$lt_cv_path_SED -fi -echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 @@ -4290,7 +4305,7 @@ lt_cv_deplibs_check_method='unknown' # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given egrep regex. +# which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. @@ -4310,21 +4325,24 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' + # win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='win32_libid' ;; darwin* | rhapsody*) + # this will be overwritten by pass_all, but leave it in just in case lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac + lt_cv_deplibs_check_method=pass_all ;; freebsd*) @@ -4347,10 +4365,22 @@ gnu*) lt_cv_deplibs_check_method=pass_all ;; -hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' +hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac ;; irix5* | irix6* | nonstopux*) @@ -4375,9 +4405,9 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux-gnu*) +linux*) case $host_cpu in - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM @@ -4388,9 +4418,9 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; @@ -4400,6 +4430,10 @@ newos6*) lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` @@ -4426,10 +4460,6 @@ solaris*) lt_cv_file_magic_test_file=/lib/libc.so ;; -sysv5uw[78]* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) @@ -4453,6 +4483,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ;; esac ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; esac fi @@ -4460,225 +4494,149 @@ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} +# Allow CC to be a program name with arguments. +compiler=$CC +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" -# Check for command to grab the raw symbol name followed by C symbol from nm. -echo "$as_me:$LINENO: checking command to parse $NM output" >&5 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' - ;; -hpux*) # Its linker distinguishes data from code symbols - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris* | sysv5*) - symcode='[BDT]' - ;; -sysv4) - symcode='[DFNSTU]' +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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 + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $host_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then - symcode='[ABCDGISTW]' -fi - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - rm -f conftest* - cat > conftest.$ac_ext < conftest.$ac_ext 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 - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if egrep ' nm_test_var$' "$nlist" >/dev/null; then - if egrep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = -{ -EOF - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr) 0} -}; + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + 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); } && test -s conftest$ac_exeext; then - pipe_works=yes - fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= + (exit $ac_status); }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac fi -done - -fi - -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" -if test -z "$lt_cv_sys_global_symbol_pipe"; then - global_symbol_to_cdecl= - global_symbol_to_c_name_address= -else - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" -fi -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; -then - echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6 -else - echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6 -fi + rm -rf conftest* + ;; -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 +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF + 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 + + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include -#include -#include int main () @@ -4688,46 +4646,353 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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_header_stdc=yes + lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_header_stdc=no +lt_cv_cc_needs_belf=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.$ac_objext conftest$ac_exeext 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 -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 -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include +fi +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*-cygwin* | *-*-mingw* | *-*-pw32*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + echo "$as_me:$LINENO: result: $DLLTOOL" >&5 +echo "${ECHO_T}$DLLTOOL" >&6 else - ac_cv_header_stdc=no + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; 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_DLLTOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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_DLLTOOL="dlltool" + 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_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + DLLTOOL=$ac_ct_DLLTOOL +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. +set dummy ${ac_tool_prefix}as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AS"; then + ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AS=$ac_cv_prog_AS +if test -n "$AS"; then + echo "$as_me:$LINENO: result: $AS" >&5 +echo "${ECHO_T}$AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_AS"; then + ac_ct_AS=$AS + # Extract the first word of "as", so it can be a program name with args. +set dummy as; 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_AS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AS"; then + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # 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_AS="as" + 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_AS" && ac_cv_prog_ac_ct_AS="false" +fi +fi +ac_ct_AS=$ac_cv_prog_ac_ct_AS +if test -n "$ac_ct_AS"; then + echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 +echo "${ECHO_T}$ac_ct_AS" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AS=$ac_ct_AS +else + AS="$ac_cv_prog_AS" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + echo "$as_me:$LINENO: result: $OBJDUMP" >&5 +echo "${ECHO_T}$OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; 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_OBJDUMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_OBJDUMP="objdump" + 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_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + OBJDUMP=$ac_ct_OBJDUMP +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + + ;; + +esac + +need_locks="$enable_libtool_lock" + + +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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 @@ -5028,160 +5293,65 @@ fi done +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC + 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_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # 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_CXX="$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 +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi - - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC +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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in - /*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; - ?:/*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. - ;; - *) - ac_save_MAGIC_CMD="$MAGIC_CMD" - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="/usr/bin:$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - egrep "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$ac_save_ifs" - MAGIC_CMD="$ac_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -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. + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -5190,7 +5360,7 @@ do 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" + ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -5199,623 +5369,403 @@ 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 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&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 + test -n "$ac_ct_CXX" && break done +test -n "$ac_ct_CXX" || ac_ct_CXX="g++" - 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 + CXX=$ac_ct_CXX fi - RANLIB=$ac_ct_RANLIB -else - RANLIB="$ac_cv_prog_RANLIB" -fi -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 +# 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); } + +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_cxx_compiler_gnu+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 + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6 +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>&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:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +ac_compiler_gnu=no 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 +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +CXXFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cxx_g+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. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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>&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_cxx_g=yes 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 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" +ac_cv_prog_cxx_g=no fi +rm -f conftest.$ac_objext conftest.$ac_ext 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 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi else - STRIP="$ac_cv_prog_STRIP" + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi fi - - -enable_dlopen=no -enable_win32_dll=no - -# Check whether --enable-libtool-lock or --disable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval="$enable_libtool_lock" - -fi; -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 5351 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +for ac_declaration in \ + ''\ + '#include ' \ + '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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +$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>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 -if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + (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 - - 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 - - cat >conftest.$ac_ext <<_ACEOF +continue +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* 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 conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - lt_cv_cc_needs_belf=yes + break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -lt_cv_cc_needs_belf=no fi -rm -f conftest.$ac_objext conftest$ac_exeext 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 - +rm -f 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 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -esac +depcc="$CXX" am_compiler_list= -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' +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_CXX_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 -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + am_cv_CXX_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 + # 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. + echo '#include "conftest.h"' > conftest.c + echo 'int i;' > conftest.h + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + 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=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ + >/dev/null 2>conftest.err && + grep conftest.h 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 + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done -# Constants: -rm="rm -f" + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" -need_locks="$enable_libtool_lock" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o - -if test x"$host" != x"$build"; then - ac_tool_prefix=${host_alias}- -else - ac_tool_prefix= -fi - -# Transform linux* to *-*-linux-gnu*, to support old configure scripts. -case $host_os in -linux-gnu*) ;; -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` -esac - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - -# Allow CC to be a program name with arguments. -set dummy $CC -compiler="$2" - -echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6 -rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - objdir=_libs fi -rmdir .libs 2>/dev/null -echo "$as_me:$LINENO: result: $objdir" >&5 -echo "${ECHO_T}$objdir" >&6 - +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - pic_mode="$withval" -else - pic_mode=default -fi; -test -z "$pic_mode" && pic_mode=default -# We assume here that the value for lt_cv_prog_cc_pic will not be cached -# in isolation, and that seeing it set (from the cache) indicates that -# the associated values are set (in the cache) correctly too. -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_pic+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' else - lt_cv_prog_cc_pic= - lt_cv_prog_cc_shlib= - lt_cv_prog_cc_wl= - lt_cv_prog_cc_static= - lt_cv_prog_cc_no_builtin= - lt_cv_prog_cc_can_build_shared=$can_build_shared - - if test "$GCC" = yes; then - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-static' - - case $host_os in - aix*) - # Below there is a dirty hack to force normal static linking with -ldl - # The problem is because libdl dynamically linked with both libc and - # libC (AIX C++ library), which obviously doesn't included in libraries - # list by gcc. This cause undefined symbols with -static flags. - # This hack allows C programs to be linked with "-static -ldl", but - # not sure about C++ programs. - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' - ;; - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_cv_prog_cc_pic=-Kconform_pic - fi - ;; - *) - lt_cv_prog_cc_pic='-fPIC' - ;; - esac - else - # PORTME Check for PIC flags for the system compiler. - case $host_os in - aix3* | aix4* | aix5*) - lt_cv_prog_cc_wl='-Wl,' - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_cv_prog_cc_static='-Bstatic' - else - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - hpux9* | hpux10* | hpux11*) - # Is there a better lt_cv_prog_cc_static that works with the bundled CC? - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" - lt_cv_prog_cc_pic='+Z' - ;; - - irix5* | irix6* | nonstopux*) - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - # PIC (with -KPIC) is the default. - ;; - - linux*) - echo '__INTEL_COMPILER' > conftest.$ac_ext - if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null - then - lt_cv_prog_cc_can_build_shared=no - else - # Intel icc - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-static' - lt_cv_prog_cc_wl='-Qoption,ld,' - fi - ;; - - cygwin* | mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_cv_prog_cc_pic='-DDLL_EXPORT' - ;; - - newsos6) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - ;; - - osf3* | osf4* | osf5*) - # All OSF/1 code is PIC. - lt_cv_prog_cc_wl='-Wl,' - lt_cv_prog_cc_static='-non_shared' - ;; - - sco3.2v5*) - lt_cv_prog_cc_pic='-Kpic' - lt_cv_prog_cc_static='-dn' - lt_cv_prog_cc_shlib='-belf' - ;; - - solaris*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - sunos4*) - lt_cv_prog_cc_pic='-PIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Qoption ld ' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - lt_cv_prog_cc_pic='-KPIC' - lt_cv_prog_cc_static='-Bstatic' - lt_cv_prog_cc_wl='-Wl,' - ;; - - uts4*) - lt_cv_prog_cc_pic='-pic' - lt_cv_prog_cc_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_cv_prog_cc_pic='-Kconform_pic' - lt_cv_prog_cc_static='-Bstatic' - fi - ;; - - *) - lt_cv_prog_cc_can_build_shared=no - ;; - esac - fi - + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= fi -if test -z "$lt_cv_prog_cc_pic"; then - echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6 -else - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 - # Check to make sure the pic_flag actually works. - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_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 +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" - cat >conftest.$ac_ext <<_ACEOF + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_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 #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error _ACEOF -rm -f conftest.$ac_objext -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); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - case $host_os in - hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then - # they create non-PIC objects. So, if there were any warnings, we - # assume that PIC is not supported. - if test -s conftest.err; then - lt_cv_prog_cc_pic_works=no - else - lt_cv_prog_cc_pic_works=yes - fi - ;; - *) - lt_cv_prog_cc_pic_works=yes - ;; - esac - + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_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 - lt_cv_prog_cc_pic_works=no - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - -fi - - - if test "X$lt_cv_prog_cc_pic_works" = Xno; then - lt_cv_prog_cc_pic= - lt_cv_prog_cc_can_build_shared=no - else - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" - fi - - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 + # Broken: fails on valid input. +continue fi +rm -f conftest.err conftest.$ac_ext -# Check for any special shared library compilation flags. -if test -n "$lt_cv_prog_cc_shlib"; then - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : - else - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} - lt_cv_prog_cc_can_build_shared=no - fi -fi - -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 -if test "${lt_cv_prog_cc_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_cc_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ @@ -5823,113 +5773,63 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} +#include _ACEOF -rm -f conftest.$ac_objext 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='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - lt_cv_prog_cc_static_works=yes + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_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.$ac_objext conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" +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 - -# Belt *and* braces to stop my trousers falling down: -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 - -pic_flag="$lt_cv_prog_cc_pic" -special_shlib_compile_flags="$lt_cv_prog_cc_shlib" -wl="$lt_cv_prog_cc_wl" -link_static_flag="$lt_cv_prog_cc_static" -no_builtin_flag="$lt_cv_prog_cc_no_builtin" -can_build_shared="$lt_cv_prog_cc_can_build_shared" - - -# Check to see if options -o and -c are simultaneously supported by compiler -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 -if test "${lt_cv_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -$rm -r conftest 2>/dev/null -mkdir conftest -cd conftest -echo "int some_variable = 0;" > conftest.$ac_ext -mkdir out -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers -# that will create temporary files in the current directory regardless of -# the output directory. Thus, making CWD read-only will cause this test -# to fail, enabling locking or at least warning the user not to do parallel -# builds. -chmod -w . -save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" -compiler_c_o=no -if { (eval echo configure:5893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s out/conftest.err; then - lt_cv_compiler_c_o=no - else - lt_cv_compiler_c_o=yes - fi -else - # Append any errors to the config.log. - cat out/conftest.err 1>&5 - lt_cv_compiler_c_o=no -fi -CFLAGS="$save_CFLAGS" -chmod u+w . -$rm conftest* out/* -rmdir out -cd .. -rmdir conftest -$rm -r conftest 2>/dev/null + done + ac_cv_prog_CXXCPP=$CXXCPP fi - -compiler_c_o=$lt_cv_compiler_c_o -echo "$as_me:$LINENO: result: $compiler_c_o" >&5 -echo "${ECHO_T}$compiler_c_o" >&6 - -if test x"$compiler_c_o" = x"yes"; then - # Check to see if we can write to a .lo - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 - if test "${lt_cv_compiler_o_lo+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + CXXCPP=$ac_cv_prog_CXXCPP else - - lt_cv_compiler_o_lo=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -c -o conftest.lo" - save_objext="$ac_objext" - ac_objext=lo + ac_cv_prog_CXXCPP=$CXXCPP +fi +echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6 +ac_preproc_ok=false +for ac_cxx_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 #line $LINENO "configure" /* confdefs.h. */ @@ -5937,84 +5837,42 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error _ACEOF -rm -f conftest.$ac_objext -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); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - lt_cv_compiler_o_lo=no - else - lt_cv_compiler_o_lo=yes - fi - + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag + else + ac_cpp_err= + fi else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - ac_objext="$save_objext" - CFLAGS="$save_CFLAGS" - + ac_cpp_err=yes fi - - compiler_o_lo=$lt_cv_compiler_o_lo - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 -echo "${ECHO_T}$compiler_o_lo" >&6 +if test -z "$ac_cpp_err"; then + : else - compiler_o_lo=no -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# Check to see if we can do hard links to lock some files if needed -hard_links="nottested" -if test "$compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6 - if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no + # Broken: fails on valid input. +continue fi +rm -f conftest.err conftest.$ac_ext -if test "$GCC" = yes; then - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 - echo "int some_variable = 0;" > conftest.$ac_ext - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" - compiler_rtti_exceptions=no + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ @@ -6022,1296 +5880,14319 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ -int some_variable = 0; - ; - return 0; -} +#include _ACEOF -rm -f conftest.$ac_objext -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); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - compiler_rtti_exceptions=no - else - compiler_rtti_exceptions=yes - fi - + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_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.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6 +rm -f conftest.err conftest.$ac_ext - if test "$compiler_rtti_exceptions" = "yes"; then - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' - else - no_builtin_flag=' -fno-builtin' - fi +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 \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi -# See if the linker supports building shared libraries. -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 +ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -allow_undefined_flag= -no_undefined_flag= -need_lib_prefix=unknown -need_version=unknown -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -archive_cmds= -archive_expsym_cmds= -old_archive_from_new_cmds= -old_archive_from_expsyms_cmds= -export_dynamic_flag_spec= -whole_archive_flag_spec= -thread_safe_flag_spec= -hardcode_into_libs=no -hardcode_libdir_flag_spec= -hardcode_libdir_separator= -hardcode_direct=no -hardcode_minus_L=no -hardcode_shlibpath_var=unsupported -runpath_var= -link_all_deplibs=unknown -always_export_symbols=no -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' -# include_expsyms should be a list of space-separated symbols to be *always* -# included in the symbol list -include_expsyms= -# exclude_expsyms can be an egrep regular expression of symbols to exclude -# it will be wrapped by ` (' and `)$', so one must not match beginning or -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -# as well as any symbol that contains `d'. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_" -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -# platforms (ab)use it in PIC code, but their linkers get confused if -# the symbol is explicitly referenced. Since portable code cannot -# rely on this symbol name, it's probably fine to never include it in -# preloaded symbol tables. -extract_expsyms_cmds= -case $host_os in -cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 + 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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # 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_F77="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi - ;; -openbsd*) - with_gnu_ld=no - ;; -esac - -ld_shlibs=yes -if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX, the GNU linker is very broken - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. - ld_shlibs=no - cat <&2 +done +done -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +fi +fi +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -EOF - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 +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_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done - cygwin* | mingw* | pw32*) - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=yes - - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ - test -f $output_objdir/impgen.exe || (cd $output_objdir && \ - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ - else $CC -o impgen impgen.c ; fi)~ - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' - - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' - - # cygwin and mingw dlls have different entry points and sets of symbols - # to exclude. - # FIXME: what about values for MSVC? - dll_entry=__cygwin_dll_entry@12 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ - case $host_os in - mingw*) - # mingw values - dll_entry=_DllMainCRTStartup@12 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ - ;; - esac +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi - # mingw and cygwin differ, and it's simplest to just exclude the union - # of the two symbol sets. - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 + test -n "$ac_ct_F77" && break +done - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one (in ltdll.c) - if test "x$lt_cv_need_dllmain" = "xyes"; then - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' - else - ltdll_obj= - ltdll_cmds= - fi + F77=$ac_ct_F77 +fi - # Extract the symbol export list from an `--export-all' def file, - # then regenerate the def file from the symbol export list, so that - # the compiled dll only exports the symbol export list. - # Be careful not to strip the DATA tag left be newer dlltools. - export_symbols_cmds="$ltdll_cmds"' - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' - - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is. - # If DATA tags from a recent dlltool are present, honour them! - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname-def; - else - echo EXPORTS > $output_objdir/$soname-def; - _lt_hint=1; - cat $export_symbols | while read symbol; do - set dummy \$symbol; - case \$# in - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; - esac; - _lt_hint=`expr 1 + \$_lt_hint`; - done; - fi~ - '"$ltdll_cmds"' - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; +# Provide some information about the compiler. +echo "$as_me:6026:" \ + "checking for Fortran 77 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); } - solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. +ac_save_ext=$ac_ext +ac_ext=F +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 -EOF - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 +ac_ext=$ac_save_ext +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; + end +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac +ac_cv_prog_f77_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext - if test "$ld_shlibs" = yes; then - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - case $host_os in - cygwin* | mingw* | pw32*) - # dlltool doesn't understand --whole-archive et. al. - whole_archive_flag_spec= - ;; - *) - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - ;; - esac +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "$G77" = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" fi else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi + if test "$G77" = yes; then + FFLAGS="-O2" + else + FFLAGS= + fi +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 - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - shared_flag='${wl}-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! - # It seems that -bexpall can do strange things, so it is better to - # generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='${wl}-berok' - # This is a bit strange, but is similar to how AIX traditionally builds - # it's shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' - fi - fi - ;; +# find the maximum length of command line arguments +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + testring="ABCD" - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; ;; - darwin* | rhapsody*) - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - allow_undefined_flag='-flat_namespace -undefined suppress' - ;; - esac - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. Also zsh mangles - # `"' quotes if we put them in here... so don't! - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' - # We need to add '_' to the symbols in $export_symbols first - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' - hardcode_direct=yes - hardcode_shlibpath_var=no - whole_archive_flag_spec='-all_load $convenience' + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; ;; - freebsd1*) - ld_shlibs=no + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; + esac - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +fi - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; +if test -n $lt_cv_sys_max_cmd_len ; then + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 +else + echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6 +fi - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - hpux9* | hpux10* | hpux11*) - case $host_os in - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; - esac - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_minus_L=yes # Not in the search PATH, but as the default - # location of the library. - export_dynamic_flag_spec='${wl}-E' - ;; - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; +# Check for command to grab the raw symbol name followed by C symbol from nm. +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] - openbsd*) - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - ;; +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - #Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - sco3.2v5*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - export_dynamic_flag_spec='${wl}-Bexport' - ;; +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac - solaris*) - # gcc --version < 3.0 without binutils cannot create self contained - # shared libraries reliably, requiring libgcc.a to resolve some of - # the object symbols generated in some cases. Libraries that use - # assert need libgcc.a to resolve __eprintf, for example. Linking - # a copy of libgcc.a into every shared library to guarantee resolving - # such symbols causes other problems: According to Tim Van Holder - # , C++ libraries end up with a separate - # (to the application) exception stack for one thing. - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - case `$CC --version 2>/dev/null` in - [12].*) - cat <&2 +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably -*** create self contained shared libraries on Solaris systems, without -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling -*** -no-undefined support, which will at least allow you to build shared -*** libraries. However, you may find that when you link such libraries -*** into an application without using GCC, you have to manually add -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to -*** upgrade to a newer version of GCC. Another option is to rebuild your -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGISTW]' ;; +esac -EOF - no_undefined_flag= - ;; - esac - fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; + # Check to see that the pipe works correctly. + pipe_works=no - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif - sysv4.2uw2*) - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=no - hardcode_shlibpath_var=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; - sysv5uw7* | unixware7*) - no_undefined_flag='${wl}-z ${wl}text' - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + 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); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi else - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac -fi -echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6 -test "$ld_shlibs" = no && can_build_shared=no - -# Check hardcoding attributes. -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var"; then + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$hardcode_shlibpath_var" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate + lt_cv_sys_global_symbol_pipe= fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported +done + fi -echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6 -striplib= -old_striplib= -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6 else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6 fi -reload_cmds='$LD$reload_flag -o $output$reload_objs' -test -z "$deplibs_check_method" && deplibs_check_method=unknown +echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6 +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6 +objdir=$lt_cv_objdir -# PORTME Fill in your ld.so characteristics -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 -library_names_spec= -libname_spec='lib$name' -soname_spec= -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix $libname.a' - shlibpath_var=LIBPATH - # AIX has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}.so$major' - ;; -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can - # not hardcode correct soname into executable. Probably we can - # add versioning support to collect2, so additional links can - # be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}.so$major' - fi - shlibpath_var=LIBPATH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES fi - hardcode_into_libs=yes ;; +esac -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' - ;; +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' -beos*) - library_names_spec='${libname}.so' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - export_dynamic_flag_spec=-rdynamic - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -cygwin* | mingw* | pw32*) - version_type=windows - need_version=no - need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin*) - library_names_spec='$libname.dll.a' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog .libs/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - ;; - yes,mingw*) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` - ;; - yes,pw32*) - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' - ;; - *) - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - # FIXME: Relying on posixy $() will cause problems for - # cross-compilation, but unfortunately the echo tests do not - # yet detect zsh echo's removal of \ escapes. - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - ;; +# Constants: +rm="rm -f" -freebsd1*) - dynamic_linker=no - ;; +# Global variables: +default_ofile=libtool +can_build_shared=yes -freebsd*-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - esac - ;; +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - dynamic_linker="$host_os dld.sl" - version_type=sunos - need_lib_prefix=no - need_version=no - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' - soname_spec='${libname}${release}.sl$major' - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; 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_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) version_type=irix ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - ;; + test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + AR=$ac_ct_AR +else + AR="$ac_cv_prog_AR" +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 + +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 + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=yes + +# Check whether --enable-libtool-lock or --disable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval="$enable_libtool_lock" + +fi; +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + pic_mode="$withval" +else + pic_mode=default +fi; +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +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 + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7031: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7035: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7263: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7267: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7330: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:7334: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6 +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6 + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + fi + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 of the License, 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + +# Check whether --with-tags or --without-tags was given. +if test "${with_tags+set}" = set; then + withval="$with_tags" + tagnames="$withval" +fi; + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cc +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# 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; +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 $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $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. + [\\/]* | ?:[\\/]*) + 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 "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_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 `"$lt_cv_path_LD" -v 2>&1 &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 "${lt_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}$lt_cv_prog_gnu_ld" >&6 +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11584: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:11588: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11651: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:11655: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6 +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6 + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6 + +echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6 + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13826: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:13830: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13893: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:13897: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6 +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6 + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15845: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15849: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= + +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 + + if test "$GCC" = yes; then + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_GCJ='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_GCJ=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + else + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + linux*) + case $CC in + icc|ecc) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_GCJ=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:16077: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:16081: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac + +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:16144: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:16148: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6 + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 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='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 + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; + + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes + ;; + + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + esac + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + fi + ;; + + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + freebsd1*) + ld_shlibs_GCJ=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; + + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; + + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_GCJ=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no + ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + *) + ld_shlibs_GCJ=no + ;; + esac + fi + +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6 +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + 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); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 + ;; + esac + fi + ;; +esac + +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_GCJ" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_GCJ=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_GCJ=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_GCJ=unsupported +fi +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + ;; + *) + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + ;; + esac +fi + +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6 +test "$dynamic_linker" = no && can_build_shared=no + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 shl_load (); +/* 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_shl_load) || defined (__stub___shl_load) +choke me +#else +char (*f) () = shl_load; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != shl_load; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 shl_load (); +int +main () +{ +shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_shl_load=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 dlopen (); +/* 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_dlopen) || defined (__stub___dlopen) +choke me +#else +char (*f) () = dlopen; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != dlopen; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dl_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dlopen (); +int +main () +{ +dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_svld_dlopen=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* 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 dld_link (); +int +main () +{ +dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_dld_dld_link=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + 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); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do + + case $var in + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_RC + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_RC + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_RC +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_RC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_RC +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_RC + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_RC + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_RC + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_RC + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_RC + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_RC + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_RC" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_RC + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_RC + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_RC + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_RC + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +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 + +CC="$lt_save_CC" + + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +# Prevent multiple expansion + + + + + + + + + + + + + + + + + + + + + + +# 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. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + 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. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes +else + acl_cv_prog_gnu_ld=no +fi +fi +echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&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 path variable" >&5 +echo $ECHO_N "checking for shared library path variable... $ECHO_C" >&6 +if test "${acl_cv_libpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + LD="$LD" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_libpath=${acl_cv_shlibpath_var:-none} + +fi +echo "$as_me:$LINENO: result: $acl_cv_libpath" >&5 +echo "${ECHO_T}$acl_cv_libpath" >&6 + shlibpath_var="$acl_cv_shlibpath_var" + + + echo "$as_me:$LINENO: checking whether to activate relocatable installation" >&5 +echo $ECHO_N "checking whether to activate relocatable installation... $ECHO_C" >&6 + # Check whether --enable-relocatable or --disable-relocatable was given. +if test "${enable_relocatable+set}" = set; then + enableval="$enable_relocatable" + if test "$enableval" != no; then + RELOCATABLE=yes + else + RELOCATABLE=no + fi + +else + RELOCATABLE=no +fi; + + echo "$as_me:$LINENO: result: $RELOCATABLE" >&5 +echo "${ECHO_T}$RELOCATABLE" >&6 + + + + if test "X$prefix" = "XNONE"; then + reloc_final_prefix="$ac_default_prefix" + else + reloc_final_prefix="$prefix" + fi + +cat >>confdefs.h <<_ACEOF +#define INSTALLPREFIX "${reloc_final_prefix}" +_ACEOF + + + + + + + + use_elf_origin_trick=no + if test $RELOCATABLE = yes; then + # --enable-relocatable implies --disable-rpath + enable_rpath=no + LIBOBJS="$LIBOBJS relocatable.$ac_objext" + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_RELOCATABLE 1 +_ACEOF + + case "$host_os" in + linux*) use_elf_origin_trick=yes ;; + esac + if test $use_elf_origin_trick = yes; then + case "$ac_aux_dir" in + /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;; + *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;; + esac + SET_RELOCATABLE="RELOCATABLE_LDFLAGS = \"$reloc_ldflags\" \"@host@\" \"\$(RELOCATABLE_LIBRARY_PATH)\"" + else + SET_RELOCATABLE="INSTALL_PROGRAM_ENV = RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\"" + case "$ac_aux_dir" in + /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;; + *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;; + esac + fi + else + SET_RELOCATABLE= + fi + + + +if test $use_elf_origin_trick = yes; then + RELOCATABLE_VIA_LD_TRUE= + RELOCATABLE_VIA_LD_FALSE='#' +else + RELOCATABLE_VIA_LD_TRUE='#' + RELOCATABLE_VIA_LD_FALSE= +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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 +#line $LINENO "configure" +/* 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 +#line $LINENO "configure" +/* 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.* *.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 + + + + + + + + +for ac_header in limits.h malloc.h pwd.h string.h unistd.h utime.h values.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 +#line $LINENO "configure" +/* 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>&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.$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 +#line $LINENO "configure" +/* 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 + 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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 + +echo "$as_me:$LINENO: checking for stdbool.h" >&5 +echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6 +if test "${gt_cv_header_stdbool_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if false +int A[-1]; +#endif +#define b -1 +#if true +#undef b +#define b 1 +#endif +int B[b]; +bool c; + +int +main () +{ -# No shared lib support for Linux oldld, aout, or coff. -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) - dynamic_linker=no - ;; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + gt_cv_header_stdbool_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# This must be Linux ELF. -linux-gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes +gt_cv_header_stdbool_h=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; +echo "$as_me:$LINENO: result: $gt_cv_header_stdbool_h" >&5 +echo "${ECHO_T}$gt_cv_header_stdbool_h" >&6 +if test $gt_cv_header_stdbool_h = yes; then -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' - soname_spec='${libname}${release}.so$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; +cat >>confdefs.h <<\_ACEOF +#define HAVE_STDBOOL_H 1 +_ACEOF -newsos6) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; + STDBOOL_H='' +else + STDBOOL_H='stdbool.h' + echo "$as_me:$LINENO: checking for _Bool type" >&5 +echo $ECHO_N "checking for _Bool type... $ECHO_C" >&6 + if test "${gt_cv_type_Bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else -openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case "$host_os" in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +_Bool x = sizeof (_Bool); +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + gt_cv_type_Bool=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_type_Bool=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi + + echo "$as_me:$LINENO: result: $gt_cv_type_Bool" >&5 +echo "${ECHO_T}$gt_cv_type_Bool" >&6 + if test $gt_cv_type_Bool = yes; then + HAVE__BOOL=1 else - shlibpath_overrides_runpath=yes + HAVE__BOOL=0 fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - ;; -os2*) - libname_spec='$name' - need_lib_prefix=no - library_names_spec='$libname.dll $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; +fi -osf3* | osf4* | osf5*) - version_type=osf - need_version=no - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - hardcode_into_libs=yes - ;; -sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}.so$major' - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - shlibpath_var=LD_LIBRARY_PATH - ;; -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; +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 +#line $LINENO "configure" +/* 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>&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.$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) ;; + no) +cat >>confdefs.h <<\_ACEOF +#define inline +_ACEOF + ;; + *) cat >>confdefs.h <<_ACEOF +#define inline $ac_cv_c_inline +_ACEOF + ;; +esac + + + echo "$as_me:$LINENO: checking for signed" >&5 +echo $ECHO_N "checking for signed... $ECHO_C" >&6 +if test "${bh_cv_c_signed+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +signed char x; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + bh_cv_c_signed=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +bh_cv_c_signed=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5 +echo "${ECHO_T}$bh_cv_c_signed" >&6 + if test $bh_cv_c_signed = no; then + +cat >>confdefs.h <<\_ACEOF +#define signed +_ACEOF -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no fi - need_version=yes - ;; -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; -uts4*) - version_type=linux - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; + echo "$as_me:$LINENO: checking for unsigned long long" >&5 +echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 +if test "${ac_cv_type_unsigned_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +unsigned long long ull = 1; int i = 63; +int +main () +{ +unsigned long long ullmax = (unsigned long long) -1; + return ull << i | ull >> i | ullmax / ull | ullmax % ull; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_type_unsigned_long_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' - soname_spec='${libname}${release}.so$major' - shlibpath_var=LD_LIBRARY_PATH - ;; +ac_cv_type_unsigned_long_long=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 + if test $ac_cv_type_unsigned_long_long = yes; then -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' - soname_spec='$libname.so.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; +cat >>confdefs.h <<\_ACEOF +#define HAVE_UNSIGNED_LONG_LONG 1 +_ACEOF -*) - dynamic_linker=no - ;; -esac -echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6 -test "$dynamic_linker" = no && can_build_shared=no + fi -# Report the final consequences. -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6 +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 +#line $LINENO "configure" +/* 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>&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 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 -test "$can_build_shared" = "no" && enable_shared=no +ac_cv_type_size_t=no +fi +rm -f 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 -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; +cat >>confdefs.h <<_ACEOF +#define size_t unsigned +_ACEOF -aix4*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6 +fi -echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6 +echo "$as_me:$LINENO: checking for ptrdiff_t" >&5 +echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6 +if test "${ac_cv_type_ptrdiff_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((ptrdiff_t *) 0) + return 0; +if (sizeof (ptrdiff_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_ptrdiff_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless +ac_cv_type_ptrdiff_t=no fi - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +rm -f conftest.$ac_objext conftest.$ac_ext fi +echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5 +echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6 +if test $ac_cv_type_ptrdiff_t = yes; then -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= +cat >>confdefs.h <<_ACEOF +#define HAVE_PTRDIFF_T 1 +_ACEOF - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - cygwin* | mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; +fi - *) - echo "$as_me:$LINENO: checking for shl_load" >&5 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 -if test "${ac_cv_func_shl_load+set}" = set; then + + echo "$as_me:$LINENO: checking for inttypes.h" >&5 +echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 +if test "${jm_ac_cv_header_inttypes_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -7321,77 +20202,129 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char shl_load (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" +#include +#include +int +main () { -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char shl_load (); -/* 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_shl_load) || defined (__stub___shl_load) -choke me -#else -char (*f) () = shl_load; -#endif -#ifdef __cplusplus +uintmax_t i = (uintmax_t) -1; + ; + return 0; } -#endif +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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 + jm_ac_cv_header_inttypes_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +jm_ac_cv_header_inttypes_h=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5 +echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6 + if test $jm_ac_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_INTTYPES_H_WITH_UINTMAX 1 +_ACEOF + + fi + + echo "$as_me:$LINENO: checking for stdint.h" >&5 +echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 +if test "${jm_ac_cv_header_stdint_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include int main () { -return f != shl_load; +uintmax_t i = (uintmax_t) -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>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_func_shl_load=yes + jm_ac_cv_header_stdint_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_func_shl_load=no +jm_ac_cv_header_stdint_h=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6 -if test $ac_cv_func_shl_load = yes; then - lt_cv_dlopen="shl_load" -else - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then +echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5 +echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6 + if test $jm_ac_cv_header_stdint_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STDINT_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + + + if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then + + test $ac_cv_type_unsigned_long_long = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' + +cat >>confdefs.h <<_ACEOF +#define uintmax_t $ac_type +_ACEOF + + else + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UINTMAX_T 1 +_ACEOF + + fi + + + echo "$as_me:$LINENO: checking for ssize_t" >&5 +echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 +if test "${gt_cv_ssize_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -7399,51 +20332,52 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" +#include +#if HAVE_UNISTD_H +#include #endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char shl_load (); int main () { -shl_load (); +int x = sizeof (ssize_t *) + sizeof (ssize_t); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_lib_dld_shl_load=yes + gt_cv_ssize_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_dld_shl_load=no +gt_cv_ssize_t=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 -if test $ac_cv_lib_dld_shl_load = yes; then - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" -else - echo "$as_me:$LINENO: checking for dlopen" >&5 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 -if test "${ac_cv_func_dlopen+set}" = set; then +echo "$as_me:$LINENO: result: $gt_cv_ssize_t" >&5 +echo "${ECHO_T}$gt_cv_ssize_t" >&6 + if test $gt_cv_ssize_t = no; then + +cat >>confdefs.h <<\_ACEOF +#define ssize_t int +_ACEOF + + fi + +echo "$as_me:$LINENO: checking for pid_t" >&5 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 +if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -7453,152 +20387,128 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif -/* 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 dlopen (); -/* 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_dlopen) || defined (__stub___dlopen) -choke me -#else -char (*f) () = dlopen; -#endif -#ifdef __cplusplus -} -#endif - +$ac_includes_default int main () { -return f != dlopen; +if ((pid_t *) 0) + return 0; +if (sizeof (pid_t)) + return 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>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_func_dlopen=yes + ac_cv_type_pid_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_func_dlopen=no +ac_cv_type_pid_t=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6 -if test $ac_cv_func_dlopen = yes; then - lt_cv_dlopen="dlopen" +echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6 +if test $ac_cv_type_pid_t = yes; then + : else - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then + +cat >>confdefs.h <<_ACEOF +#define pid_t int +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for mode_t" >&5 +echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 +if test "${ac_cv_type_mode_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* 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 dlopen (); +$ac_includes_default int main () { -dlopen (); +if ((mode_t *) 0) + return 0; +if (sizeof (mode_t)) + return 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>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_lib_dl_dlopen=yes + ac_cv_type_mode_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_dl_dlopen=no +ac_cv_type_mode_t=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 -if test $ac_cv_lib_dl_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 +echo "${ECHO_T}$ac_cv_type_mode_t" >&6 +if test $ac_cv_type_mode_t = yes; then + : else - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then + +cat >>confdefs.h <<_ACEOF +#define mode_t int +_ACEOF + +fi + + +# 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 - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* 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 dlopen (); +#include int main () { -dlopen (); +char *p = (char *) alloca (2 * sizeof (int)); ; return 0; } @@ -7615,47 +20525,62 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_svld_dlopen=yes + ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_svld_dlopen=no +ac_cv_working_alloca_h=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 -if test $ac_cv_lib_svld_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then +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 - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" +#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 -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dld_link (); + int main () { -dld_link (); +char *p = (char *) alloca (1); ; return 0; } @@ -7672,906 +20597,1068 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_dld_dld_link=yes + ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_dld_dld_link=no +ac_cv_func_alloca_works=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 -if test $ac_cv_lib_dld_dld_link = yes; then - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 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 -fi +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. -fi +ALLOCA=alloca.$ac_objext +cat >>confdefs.h <<\_ACEOF +#define C_ALLOCA 1 +_ACEOF -fi +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 +#line $LINENO "configure" +/* 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 - - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 -if test "${lt_cv_dlopen_self+set}" = set; then +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 - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif +# include #endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif +/* 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 -extern "C" void exit (int); +} #endif -void fnord() { int i=42;} -int main () +int +main () { - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - - exit (status); +return f != $ac_func; + ; + return 0; } -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +_ACEOF +rm -f conftest.$ac_objext 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); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_unknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi + (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 -fr conftest* +rm -f 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: result: $lt_cv_dlopen_self" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6 - if test "x$lt_cv_dlopen_self" = xyes; then - LDFLAGS="$LDFLAGS $link_static_flag" - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 -if test "${lt_cv_dlopen_self_static+set}" = set; then +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 : - lt_cv_dlopen_self_static=cross + if test "$cross_compiling" = yes; then + ac_cv_c_stack_direction=0 else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +int +find_stack_direction () { - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) + static char *addr = 0; + auto char dummy; + if (addr == 0) { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ + addr = &dummy; + return find_stack_direction (); } + else + return (&dummy > addr) ? 1 : -1; +} - exit (status); +int +main () +{ + exit (find_stack_direction () < 0); } -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +_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); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - + (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 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac +rm -f core 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 - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac fi -if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then + +for ac_header in stdlib.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 - $rm conftest* - echo 'static int dummy;' > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + # 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 +#line $LINENO "configure" +/* 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>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_cv_prog_cc_wl - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&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 - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - -fi + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 - ;; - esac +ac_header_compiler=no fi -need_lc=${lt_cv_archive_cmds_need_lc-yes} +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 -# The second clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - : +# 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 +#line $LINENO "configure" +/* 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 + else + ac_cpp_err= + fi else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - test -f Makefile && make "$ltmain" + 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 -if test -f "$ltmain"; then - trap "$rm \"${ofile}T\"; exit 1" 1 2 15 - $rm -f "${ofile}T" - - echo creating $ofile - - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS SED \ - AR AR_FLAGS CC LD LN_S NM SHELL \ - reload_flag reload_cmds wl \ - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ - thread_safe_flag_spec whole_archive_flag_spec libname_spec \ - library_names_spec soname_spec \ - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ - old_striplib striplib file_magic_cmd export_symbols_cmds \ - deplibs_check_method allow_undefined_flag no_undefined_flag \ - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ - global_symbol_to_c_name_address \ - hardcode_libdir_flag_spec hardcode_libdir_separator \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do - - case $var in - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - cat <<__EOF__ > "${ofile}T" -#! $SHELL - -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996-2000 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# 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 of the License, 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="${SED} -e s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi - -# ### BEGIN LIBTOOL CONFIG - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$need_lc - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS + 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 -# The default C compiler. -CC=$lt_CC +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 -# Is the compiler the GNU C compiler? -with_gcc=$GCC +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF -# The linker used to build libraries. -LD=$lt_LD +fi -# Whether we need hard or soft links. -LN_S=$lt_LN_S +done -# A BSD-compatible nm program. -NM=$lt_NM -# A symbol stripping program -STRIP=$STRIP -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" +for ac_header in string.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 +#line $LINENO "configure" +/* 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>&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 -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" +ac_header_compiler=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 -# Used on cygwin: assembler. -AS="$AS" +# 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 +#line $LINENO "configure" +/* 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 + 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 -# The name of the directory that contains temporary libtool files. -objdir=$objdir + 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 -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 -# How to pass a linker flag through the compiler. -wl=$lt_wl +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF -# Object file suffix (normally "o"). -objext="$ac_objext" +fi -# Old archive suffix (normally "a"). -libext="$libext" +done -# Executable file suffix (normally ""). -exeext="$exeext" -# Additional compiler flags for building library objects. -pic_flag=$lt_pic_flag -pic_mode=$pic_mode -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_compiler_c_o -# Can we write directly to a .lo ? -compiler_o_lo=$lt_compiler_o_lo -# Must we lock files when doing compilation ? -need_locks=$lt_need_locks -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix -# Do we need a version for libraries? -need_version=$need_version + if test $ac_cv_func_alloca_works = no; then -# Whether dlopen is supported. -dlopen_support=$enable_dlopen -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self + : -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_link_static_flag -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_no_builtin_flag -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec -# Library versioning type. -version_type=$version_type -# Format of library name prefix. -libname_spec=$lt_libname_spec -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec + fi -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec + # Define an additional variable used in the Makefile substitution. -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds +#if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H + Need own alloca +#endif -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Need own alloca" >/dev/null 2>&1; then + ALLOCA_H=alloca.h +else + ALLOCA_H= +fi +rm -f conftest* -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd +for ac_func in vprintf +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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 -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag +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>&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 -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag +eval "$as_ac_var=no" +fi +rm -f 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 -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds +echo "$as_me:$LINENO: checking for _doprnt" >&5 +echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 +if test "${ac_cv_func__doprnt+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char _doprnt (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 _doprnt (); +/* 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__doprnt) || defined (__stub____doprnt) +choke me +#else +char (*f) () = _doprnt; +#endif +#ifdef __cplusplus +} +#endif -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval +int +main () +{ +return f != _doprnt; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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__doprnt=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_global_symbol_pipe +ac_cv_func__doprnt=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 +echo "${ECHO_T}$ac_cv_func__doprnt" >&6 +if test $ac_cv_func__doprnt = yes; then -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl +cat >>confdefs.h <<\_ACEOF +#define HAVE_DOPRNT 1 +_ACEOF -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address +fi -# This is the shared library runtime path variable. -runpath_var=$runpath_var +fi +done -# This is the shared library path variable. -shlibpath_var=$shlibpath_var -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec +for ac_func in chown getcwd posix_spawn putc_unlocked raise select strerror \ +strtoul uname utime utimes +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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 -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$fix_srcfile_path" +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>&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 -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols +eval "$as_ac_var=no" +fi +rm -f 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 -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds +fi +done -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms -# ### END LIBTOOL CONFIG -__EOF__ - case $host_os in - aix3*) - cat <<\EOF >> "${ofile}T" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - case $host_os in - cygwin* | mingw* | pw32* | os2*) - cat <<'EOF' >> "${ofile}T" - # This is a source program that is used to create dlls on Windows - # Don't remove nor modify the starting and closing comments -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ - # This is a source program that is used to create import libraries - # on Windows for dlls which lack them. Don't remove nor modify the - # starting and closing comments -# /* impgen.c starts here */ -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc. -# -# This file is part of GNU libtool. -# -# 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 of the License, 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. -# */ -# -# #include /* for printf() */ -# #include /* for open(), lseek(), read() */ -# #include /* for O_RDONLY, O_BINARY */ -# #include /* for strdup() */ -# -# /* O_BINARY isn't required (or even defined sometimes) under Unix */ -# #ifndef O_BINARY -# #define O_BINARY 0 -# #endif -# -# static unsigned int -# pe_get16 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[2]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 2); -# return b[0] + (b[1]<<8); -# } -# -# static unsigned int -# pe_get32 (fd, offset) -# int fd; -# int offset; -# { -# unsigned char b[4]; -# lseek (fd, offset, SEEK_SET); -# read (fd, b, 4); -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# static unsigned int -# pe_as32 (ptr) -# void *ptr; -# { -# unsigned char *b = ptr; -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); -# } -# -# int -# main (argc, argv) -# int argc; -# char *argv[]; -# { -# int dll; -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; -# unsigned long export_rva, export_size, nsections, secptr, expptr; -# unsigned long name_rvas, nexp; -# unsigned char *expdata, *erva; -# char *filename, *dll_name; -# -# filename = argv[1]; -# -# dll = open(filename, O_RDONLY|O_BINARY); -# if (dll < 1) -# return 1; -# -# dll_name = filename; -# -# for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; -# -# pe_header_offset = pe_get32 (dll, 0x3c); -# opthdr_ofs = pe_header_offset + 4 + 20; -# num_entries = pe_get32 (dll, opthdr_ofs + 92); -# -# if (num_entries < 1) /* no exports */ -# return 1; -# -# export_rva = pe_get32 (dll, opthdr_ofs + 96); -# export_size = pe_get32 (dll, opthdr_ofs + 100); -# nsections = pe_get16 (dll, pe_header_offset + 4 +2); -# secptr = (pe_header_offset + 4 + 20 + -# pe_get16 (dll, pe_header_offset + 4 + 16)); -# -# expptr = 0; -# for (i = 0; i < nsections; i++) -# { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } -# } -# -# expdata = (unsigned char*)malloc(export_size); -# lseek (dll, expptr, SEEK_SET); -# read (dll, expdata, export_size); -# erva = expdata - export_rva; -# -# nexp = pe_as32 (expdata+24); -# name_rvas = pe_as32 (expdata+32); -# -# printf ("EXPORTS\n"); -# for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) +for ac_func in memmove memset stpcpy strcspn \ +strcasecmp strncasecmp strpbrk strstr vasprintf +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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 - mv -f "${ofile}T" "$ofile" || \ - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") - chmod +x "$ofile" +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>&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.$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 +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + am_getline_needs_run_time_check=no + echo "$as_me:$LINENO: checking for getline" >&5 +echo $ECHO_N "checking for getline... $ECHO_C" >&6 +if test "${ac_cv_func_getline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char getline (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include +#else +# include +#endif +/* 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 getline (); +/* 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_getline) || defined (__stub___getline) +choke me +#else +char (*f) () = getline; +#endif +#ifdef __cplusplus +} +#endif +int +main () +{ +return f != getline; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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_getline=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" +ac_cv_func_getline=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5 +echo "${ECHO_T}$ac_cv_func_getline" >&6 +if test $ac_cv_func_getline = yes; then + am_getline_needs_run_time_check=yes +else + am_cv_func_working_getline=no +fi -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' + if test $am_getline_needs_run_time_check = yes; then + echo "$as_me:$LINENO: checking for working getline function" >&5 +echo $ECHO_N "checking for working getline function... $ECHO_C" >&6 +if test "${am_cv_func_working_getline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + echo fooN |tr -d '\012'|tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then + am_cv_func_working_getline=no +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -# Prevent multiple expansion +# include +# include +# include + int main () + { /* Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len; + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + len = getline (&line, &siz, in); + exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); + } +_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 + am_cv_func_working_getline=yes +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 ) +am_cv_func_working_getline=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5 +echo "${ECHO_T}$am_cv_func_working_getline" >&6 + fi + if test $am_cv_func_working_getline = no; then cat >>confdefs.h <<\_ACEOF -#define _GNU_SOURCE 1 +#define getline gnu_getline _ACEOF + LIBOBJS="$LIBOBJS getline.$ac_objext" + fi +if test $am_cv_func_working_getline != yes; then -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 +for ac_func in getdelim +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 @@ -8581,64 +21668,85 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include -#include -#include +/* 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 +/* 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 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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_header_stdc=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_header_stdc=no +eval "$as_ac_var=no" fi -rm -f 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 -#line $LINENO "configure" -/* confdefs.h. */ +rm -f 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 -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* +done fi -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + echo "$as_me:$LINENO: checking for working fnmatch function" >&5 +echo $ECHO_N "checking for working fnmatch function... $ECHO_C" >&6 +if test "${gt_cv_func_fnmatch_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + if test "$cross_compiling" = yes; then + gt_cv_func_fnmatch_works=no +else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ @@ -8646,23 +21754,68 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include + +# include +# include + int main () + { + exit (fnmatch ("a*", "abc", 0) != 0 + || fnmatch ("d*/*1", "d/s/1", FNM_PATHNAME) != FNM_NOMATCH); + } _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : +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 + gt_cv_func_fnmatch_works=yes else - ac_cv_header_stdc=no + 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 ) +gt_cv_func_fnmatch_works=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi -rm -f conftest* fi +echo "$as_me:$LINENO: result: $gt_cv_func_fnmatch_works" >&5 +echo "${ECHO_T}$gt_cv_func_fnmatch_works" >&6 + if test $gt_cv_func_fnmatch_works = yes; then -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 - : +cat >>confdefs.h <<\_ACEOF +#define HAVE_FNMATCH 1 +_ACEOF + + fi + + if test $gt_cv_func_fnmatch_works = yes; then + rm -f lib/fnmatch.h + else + test -d lib || mkdir lib + echo '#include "pfnmatch.h"' > lib/fnmatch.h + +cat >>confdefs.h <<\_ACEOF +#define fnmatch posix_fnmatch +_ACEOF + + LIBOBJS="$LIBOBJS pfnmatch.$ac_objext" + fi + + + echo "$as_me:$LINENO: checking for eaccess" >&5 +echo $ECHO_N "checking for eaccess... $ECHO_C" >&6 +if test "${ac_cv_func_eaccess+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -8671,60 +21824,72 @@ _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)) +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char eaccess (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ +#ifdef __STDC__ +# include #else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +# include +#endif +/* 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 eaccess (); +/* 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_eaccess) || defined (__stub___eaccess) +choke me +#else +char (*f) () = eaccess; +#endif +#ifdef __cplusplus +} #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); +return f != eaccess; + ; + return 0; } _ACEOF -rm -f conftest$ac_exeext +rm -f conftest.$ac_objext 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' + (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_eaccess=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&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.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi +ac_cv_func_eaccess=no fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 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 +echo "$as_me:$LINENO: result: $ac_cv_func_eaccess" >&5 +echo "${ECHO_T}$ac_cv_func_eaccess" >&6 +if test $ac_cv_func_eaccess = yes; then + : +else cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 +#define eaccess access _ACEOF fi @@ -8735,7 +21900,9 @@ fi -for ac_header in limits.h malloc.h string.h unistd.h utime.h values.h + + +for ac_header in limits.h stdlib.h string.h wchar.h wctype.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -8876,12 +22043,19 @@ fi done -echo "$as_me:$LINENO: checking for stdbool.h" >&5 -echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6 -if test "${gt_cv_header_stdbool_h+set}" = set; then + + + + + +for ac_func in isascii iswcntrl iswprint mbsinit wcwidth +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 #line $LINENO "configure" /* confdefs.h. */ @@ -8889,121 +22063,133 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#if false -int A[-1]; +/* 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 -#define b -1 -#if true -#undef b -#define b 1 +/* 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 B[b]; int main () { - +return f != $ac_func; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - gt_cv_header_stdbool_h=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -gt_cv_header_stdbool_h=no +eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f 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 -echo "$as_me:$LINENO: result: $gt_cv_header_stdbool_h" >&5 -echo "${ECHO_T}$gt_cv_header_stdbool_h" >&6 -if test $gt_cv_header_stdbool_h = yes; then +fi +done -cat >>confdefs.h <<\_ACEOF -#define HAVE_STDBOOL_H 1 -_ACEOF - STDBOOL_H='' -else - STDBOOL_H='stdbool.h' - echo "$as_me:$LINENO: checking for _Bool type" >&5 -echo $ECHO_N "checking for _Bool type... $ECHO_C" >&6 - if test "${gt_cv_type_Bool+set}" = set; then + echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5 +echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6 +if test "${jm_cv_func_mbrtowc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -_Bool x = sizeof (_Bool); +#include int main () { - +mbstate_t state; return ! (sizeof state && mbrtowc); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - gt_cv_type_Bool=yes + jm_cv_func_mbrtowc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -gt_cv_type_Bool=no +jm_cv_func_mbrtowc=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi +echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5 +echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6 + if test $jm_cv_func_mbrtowc = yes; then - echo "$as_me:$LINENO: result: $gt_cv_type_Bool" >&5 -echo "${ECHO_T}$gt_cv_type_Bool" >&6 - if test $gt_cv_type_Bool = yes; then - HAVE__BOOL=1 - else - HAVE__BOOL=0 - fi - -fi +cat >>confdefs.h <<\_ACEOF +#define HAVE_MBRTOWC 1 +_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 "$as_me:$LINENO: checking whether wcwidth is declared" >&5 +echo $ECHO_N "checking whether wcwidth is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_wcwidth+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 #line $LINENO "configure" /* confdefs.h. */ @@ -9011,12 +22197,26 @@ _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; } + +/* AIX 3.2.5 declares wcwidth in . */ +#if HAVE_STRING_H +# include +#endif +#if HAVE_WCHAR_H +# include +#endif + +int +main () +{ + +#ifndef wcwidth + char *p = (char *) wcwidth; #endif + ; + return 0; +} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -9030,52 +22230,54 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_c_inline=$ac_kw; break + ac_cv_have_decl_wcwidth=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_cv_have_decl_wcwidth=no fi rm -f 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) ;; - no) -cat >>confdefs.h <<\_ACEOF -#define inline -_ACEOF - ;; - *) cat >>confdefs.h <<_ACEOF -#define inline $ac_cv_c_inline +echo "$as_me:$LINENO: result: $ac_cv_have_decl_wcwidth" >&5 +echo "${ECHO_T}$ac_cv_have_decl_wcwidth" >&6 + if test $ac_cv_have_decl_wcwidth = yes; then + ac_val=1 + else + ac_val=0 + fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_WCWIDTH $ac_val _ACEOF - ;; -esac - echo "$as_me:$LINENO: checking for signed" >&5 -echo $ECHO_N "checking for signed... $ECHO_C" >&6 -if test "${bh_cv_c_signed+set}" = set; then + + +for ac_header in stdlib.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 - cat >conftest.$ac_ext <<_ACEOF + # 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 #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -int -main () -{ -signed char x; - ; - return 0; -} +$ac_includes_default +#include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -9089,82 +22291,114 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - bh_cv_c_signed=yes + ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -bh_cv_c_signed=no +ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5 -echo "${ECHO_T}$bh_cv_c_signed" >&6 - if test $bh_cv_c_signed = no; then - -cat >>confdefs.h <<\_ACEOF -#define signed -_ACEOF - - fi - +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 - echo "$as_me:$LINENO: checking for unsigned long long" >&5 -echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 -if test "${ac_cv_type_unsigned_long_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF +# 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 #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -unsigned long long ull = 1; int i = 63; -int -main () -{ -unsigned long long ullmax = (unsigned long long) -1; - return ull << i | ull >> i | ullmax / ull | ullmax % ull; - ; - return 0; -} +#include <$ac_header> _ACEOF -rm -f conftest.$ac_objext 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='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 +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); }; }; then - ac_cv_type_unsigned_long_long=yes + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_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_cv_type_unsigned_long_long=no + ac_header_preproc=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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: $ac_cv_type_unsigned_long_long" >&5 -echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 - if test $ac_cv_type_unsigned_long_long = yes; then +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -cat >>confdefs.h <<\_ACEOF -#define HAVE_UNSIGNED_LONG_LONG 1 +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 +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 +done + + + echo "$as_me:$LINENO: checking for mbstate_t" >&5 +echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 +if test "${ac_cv_type_mbstate_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -9174,14 +22408,15 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -$ac_includes_default + +#if HAVE_STDLIB_H +# include +#endif +#include int main () { -if ((size_t *) 0) - return 0; -if (sizeof (size_t)) - return 0; +mbstate_t x; return sizeof x; ; return 0; } @@ -9198,30 +22433,36 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_type_size_t=yes + ac_cv_type_mbstate_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_type_size_t=no +ac_cv_type_mbstate_t=no fi rm -f 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 +echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 +echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 + if test $ac_cv_type_mbstate_t = no; then -cat >>confdefs.h <<_ACEOF -#define size_t unsigned +cat >>confdefs.h <<\_ACEOF +#define mbstate_t int _ACEOF -fi + fi -echo "$as_me:$LINENO: checking for ptrdiff_t" >&5 -echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6 -if test "${ac_cv_type_ptrdiff_t+set}" = set; then + + + + + +ac_header_dirent=no +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do + as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $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 @@ -9231,14 +22472,14 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -$ac_includes_default +#include +#include <$ac_hdr> + int main () { -if ((ptrdiff_t *) 0) - return 0; -if (sizeof (ptrdiff_t)) - return 0; +if ((DIR *) 0) +return 0; ; return 0; } @@ -9255,162 +22496,143 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_type_ptrdiff_t=yes + eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_type_ptrdiff_t=no +eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5 -echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6 -if test $ac_cv_type_ptrdiff_t = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_PTRDIFF_T 1 +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_hdr" | $as_tr_cpp` 1 _ACEOF - +ac_header_dirent=$ac_hdr; break fi - - echo "$as_me:$LINENO: checking for inttypes.h" >&5 -echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 -if test "${jm_ac_cv_header_inttypes_h+set}" = set; then +done +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. +if test $ac_header_dirent = dirent.h; then + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF + ac_func_search_save_LIBS=$LIBS +ac_cv_search_opendir=no +cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include + +/* 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 opendir (); int main () { -uintmax_t i = (uintmax_t) -1; +opendir (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - jm_ac_cv_header_inttypes_h=yes + ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -jm_ac_cv_header_inttypes_h=no fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5 -echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6 - if test $jm_ac_cv_header_inttypes_h = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_INTTYPES_H_WITH_UINTMAX 1 -_ACEOF - - fi - - - echo "$as_me:$LINENO: checking for stdint.h" >&5 -echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 -if test "${jm_ac_cv_header_stdint_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test "$ac_cv_search_opendir" = no; then + for ac_lib in dir; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include + +/* 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 opendir (); int main () { -uintmax_t i = (uintmax_t) -1; +opendir (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - jm_ac_cv_header_stdint_h=yes + ac_cv_search_opendir="-l$ac_lib" +break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -jm_ac_cv_header_stdint_h=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5 -echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6 - if test $jm_ac_cv_header_stdint_h = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_STDINT_H_WITH_UINTMAX 1 -_ACEOF - - fi - - - - - if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then - - test $ac_cv_type_unsigned_long_long = yes \ - && ac_type='unsigned long long' \ - || ac_type='unsigned long' - -cat >>confdefs.h <<_ACEOF -#define uintmax_t $ac_type -_ACEOF - - else - -cat >>confdefs.h <<\_ACEOF -#define HAVE_UINTMAX_T 1 -_ACEOF - - fi +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done +fi +LIBS=$ac_func_search_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 +if test "$ac_cv_search_opendir" != no; then + test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" +fi - echo "$as_me:$LINENO: checking for ssize_t" >&5 -echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 -if test "${gt_cv_ssize_t+set}" = set; then +else + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF + ac_func_search_save_LIBS=$LIBS +ac_cv_search_opendir=no +cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -9418,113 +22640,108 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#if HAVE_UNISTD_H -#include +/* 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 opendir (); int main () { -int x = sizeof (ssize_t *) + sizeof (ssize_t); +opendir (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - gt_cv_ssize_t=yes + ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -gt_cv_ssize_t=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $gt_cv_ssize_t" >&5 -echo "${ECHO_T}$gt_cv_ssize_t" >&6 - if test $gt_cv_ssize_t = no; then - -cat >>confdefs.h <<\_ACEOF -#define ssize_t int -_ACEOF - - fi - -echo "$as_me:$LINENO: checking for pid_t" >&5 -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 -if test "${ac_cv_type_pid_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +if test "$ac_cv_search_opendir" = no; then + for ac_lib in x; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -$ac_includes_default + +/* 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 opendir (); int main () { -if ((pid_t *) 0) - return 0; -if (sizeof (pid_t)) - return 0; +opendir (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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_type_pid_t=yes + ac_cv_search_opendir="-l$ac_lib" +break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_type_pid_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + done fi -echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 -echo "${ECHO_T}$ac_cv_type_pid_t" >&6 -if test $ac_cv_type_pid_t = yes; then - : -else +LIBS=$ac_func_search_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 +if test "$ac_cv_search_opendir" != no; then + test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" -cat >>confdefs.h <<_ACEOF -#define pid_t int -_ACEOF +fi fi -# 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 "$as_me:$LINENO: checking whether closedir returns void" >&5 +echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 +if test "${ac_cv_func_closedir_void+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_closedir_void=yes else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -9533,163 +22750,249 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +$ac_includes_default +#include <$ac_header_dirent> +#ifndef __cplusplus +int closedir (); +#endif + int main () { -char *p = (char *) alloca (2 * sizeof (int)); +exit (closedir (opendir (".")) != 0); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext +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='test -s conftest$ac_exeext' + (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_working_alloca_h=yes + ac_cv_func_closedir_void=no else - echo "$as_me: failed program was:" >&5 + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_working_alloca_h=no +( exit $ac_status ) +ac_cv_func_closedir_void=yes fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 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 +fi +echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5 +echo "${ECHO_T}$ac_cv_func_closedir_void" >&6 +if test $ac_cv_func_closedir_void = yes; then cat >>confdefs.h <<\_ACEOF -#define HAVE_ALLOCA_H 1 +#define CLOSEDIR_VOID 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 + + +for ac_header in limits.h string.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 - cat >conftest.$ac_ext <<_ACEOF + # 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 #line $LINENO "configure" /* 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; -} +$ac_includes_default +#include <$ac_header> _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_func_alloca_works=yes + ac_header_compiler=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.$ac_objext conftest$ac_exeext conftest.$ac_ext +ac_header_compiler=no fi -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 +rm -f conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 -if test $ac_cv_func_alloca_works = yes; then +# 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 +#line $LINENO "configure" +/* 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 + 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 -cat >>confdefs.h <<\_ACEOF -#define HAVE_ALLOCA 1 -_ACEOF + 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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 - # 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 + 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 -cat >>confdefs.h <<\_ACEOF -#define C_ALLOCA 1 +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 -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 +done + + echo "$as_me:$LINENO: checking for long file names" >&5 +echo $ECHO_N "checking for long file names... $ECHO_C" >&6 +if test "${ac_cv_sys_long_file_names+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* 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 + ac_cv_sys_long_file_names=yes +# Test for long file names in all the places we know might matter: +# . the current directory, where building will happen +# $prefix/lib where we will be installing things +# $exec_prefix/lib likewise +# eval it to expand exec_prefix. +# $TMPDIR if set, where it might want to write temporary files +# if $TMPDIR is not set: +# /tmp where it might want to write temporary files +# /var/tmp likewise +# /usr/tmp likewise +if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then + ac_tmpdirs=$TMPDIR else - ac_cv_os_cray=no + ac_tmpdirs='/tmp /var/tmp /usr/tmp' fi -rm -f conftest* +for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do + test -d $ac_dir || continue + test -w $ac_dir || continue # It is less confusing to not echo anything here. + ac_xdir=$ac_dir/cf$$ + (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue + ac_tf1=$ac_xdir/conftest9012345 + ac_tf2=$ac_xdir/conftest9012346 + (echo 1 >$ac_tf1) 2>/dev/null + (echo 2 >$ac_tf2) 2>/dev/null + ac_val=`cat $ac_tf1 2>/dev/null` + if test ! -f $ac_tf1 || test "$ac_val" != 1; then + ac_cv_sys_long_file_names=no + rm -rf $ac_xdir 2>/dev/null + break + fi + rm -rf $ac_xdir 2>/dev/null +done +fi +echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 +echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 +if test $ac_cv_sys_long_file_names = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LONG_FILE_NAMES 1 +_ACEOF 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` + + +for ac_func in pathconf +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 @@ -9763,88 +23066,17 @@ 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 -#line $LINENO "configure" -/* 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); -} + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _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.* *.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 - +done -fi -for ac_header in stdlib.h +for ac_header in limits.h string.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 @@ -9988,7 +23220,7 @@ done -for ac_header in string.h +for ac_header in unistd.h vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -10119,64 +23351,19 @@ 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 - - - - - - - - if test $ac_cv_func_alloca_works = no; then - - - : - - - - - - - - - - fi - - # Define an additional variable used in the Makefile substitution. - - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H - Need own alloca -#endif -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Need own alloca" >/dev/null 2>&1; then - ALLOCA_H=alloca.h -else - ALLOCA_H= fi -rm -f conftest* +done -for ac_func in vprintf +for ac_func in fork vfork do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -10256,10 +23443,83 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -echo "$as_me:$LINENO: checking for _doprnt" >&5 -echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 -if test "${ac_cv_func__doprnt+set}" = set; then +fi +done + +if test "x$ac_cv_func_fork" = xyes; then + echo "$as_me:$LINENO: checking for working fork" >&5 +echo $ECHO_N "checking for working fork... $ECHO_C" >&6 +if test "${ac_cv_func_fork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_fork_works=cross +else + cat >conftest.$ac_ext <<_ACEOF +/* By Ruediger Kuhlmann. */ + #include + #if HAVE_UNISTD_H + # include + #endif + /* Some systems only have a dummy stub for fork() */ + int main () + { + if (fork() < 0) + exit (1); + 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 + ac_cv_func_fork_works=yes +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_func_fork_works=no +fi +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 +echo "${ECHO_T}$ac_cv_func_fork_works" >&6 + +else + ac_cv_func_fork_works=$ac_cv_func_fork +fi +if test "x$ac_cv_func_fork_works" = xcross; then + case $host in + *-*-amigaos* | *-*-msdosdjgpp*) + # Override, as these systems have only a dummy fork() stub + ac_cv_func_fork_works=no + ;; + *) + ac_cv_func_fork_works=yes + ;; + esac + { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 +echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} +fi +ac_cv_func_vfork_works=$ac_cv_func_vfork +if test "x$ac_cv_func_vfork" = xyes; then + echo "$as_me:$LINENO: checking for working vfork" >&5 +echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 +if test "${ac_cv_func_vfork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -10268,90 +23528,159 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char _doprnt (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ +/* Thanks to Paul Eggert for this test. */ +#include +#include +#include +#include +#include +#if HAVE_UNISTD_H +# include #endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char _doprnt (); -/* 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__doprnt) || defined (__stub____doprnt) -choke me -#else -char (*f) () = _doprnt; +#if HAVE_VFORK_H +# include #endif +/* On some sparc systems, changes by the child to local and incoming + argument registers are propagated back to the parent. The compiler + is told about this with #include , but some compilers + (e.g. gcc -O) don't grok . Test for this by using a + static variable whose address is put into a register that is + clobbered by the vfork. */ +static void #ifdef __cplusplus -} +sparc_address_test (int arg) +# else +sparc_address_test (arg) int arg; #endif +{ + static pid_t child; + if (!child) { + child = vfork (); + if (child < 0) { + perror ("vfork"); + _exit(2); + } + if (!child) { + arg = getpid(); + write(-1, "", 0); + _exit (arg); + } + } +} int main () { -return f != _doprnt; - ; - return 0; + pid_t parent = getpid (); + pid_t child; + + sparc_address_test (0); + + child = vfork (); + + if (child == 0) { + /* Here is another test for sparc vfork register problems. This + test uses lots of local variables, at least as many local + variables as main has allocated so far including compiler + temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris + 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should + reuse the register of parent for one of the local variables, + since it will think that parent can't possibly be used any more + in this routine. Assigning to the local variable will thus + munge parent in the parent process. */ + pid_t + p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), + p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); + /* Convince the compiler that p..p7 are live; otherwise, it might + use the same hardware register for all 8 local variables. */ + if (p != p1 || p != p2 || p != p3 || p != p4 + || p != p5 || p != p6 || p != p7) + _exit(1); + + /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent + from child file descriptors. If the child closes a descriptor + before it execs or exits, this munges the parent's descriptor + as well. Test for this by closing stdout in the child. */ + _exit(close(fileno(stdout)) != 0); + } else { + int status; + struct stat st; + + while (wait(&status) != child) + ; + exit( + /* Was there some problem with vforking? */ + child < 0 + + /* Did the child fail? (This shouldn't happen.) */ + || status + + /* Did the vfork/compiler bug occur? */ + || parent != getpid() + + /* Did the file descriptor bug occur? */ + || fstat(fileno(stdout), &st) != 0 + ); + } } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext +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='test -s conftest$ac_exeext' + (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_func__doprnt=yes + ac_cv_func_vfork_works=yes else - echo "$as_me: failed program was:" >&5 + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_func__doprnt=no +( exit $ac_status ) +ac_cv_func_vfork_works=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 -echo "${ECHO_T}$ac_cv_func__doprnt" >&6 -if test $ac_cv_func__doprnt = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_DOPRNT 1 -_ACEOF - fi +echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 +echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 +fi; +if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_vfork_works=ac_cv_func_vfork + { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 +echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} fi -done - - +if test "x$ac_cv_func_vfork_works" = xyes; then +cat >>confdefs.h <<\_ACEOF +#define HAVE_WORKING_VFORK 1 +_ACEOF +else +cat >>confdefs.h <<\_ACEOF +#define vfork fork +_ACEOF +fi +if test "x$ac_cv_func_fork_works" = xyes; then +cat >>confdefs.h <<\_ACEOF +#define HAVE_WORKING_FORK 1 +_ACEOF +fi -for ac_func in getcwd posix_spawn putc_unlocked raise select strerror \ -strtoul uname utime utimes +for ac_func in waitpid do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -10434,16 +23763,137 @@ _ACEOF fi done +echo "$as_me:$LINENO: checking for union wait" >&5 +echo $ECHO_N "checking for union wait... $ECHO_C" >&6 +if test "${gt_cv_union_wait+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +union wait status; int pid; pid = wait (&status); +#ifdef WEXITSTATUS +/* Some POSIXoid systems have both the new-style macros and the old + union wait type, and they do not work together. If union wait + conflicts with WEXITSTATUS et al, we don't want to use it at all. */ +if (WEXITSTATUS (status) != 0) pid = -1; +#ifdef WTERMSIG +/* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */ +-- blow chunks here -- +#endif +#endif +#ifdef HAVE_WAITPID +/* Make sure union wait works with waitpid. */ +pid = waitpid (-1, &status, 0); +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext 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='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 + gt_cv_union_wait=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_union_wait=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi + +if test "$gt_cv_union_wait" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UNION_WAIT 1 +_ACEOF + +fi +echo "$as_me:$LINENO: result: $gt_cv_union_wait" >&5 +echo "${ECHO_T}$gt_cv_union_wait" >&6 + + echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 +echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6 +if test "${ac_cv_header_stat_broken+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#if defined(S_ISBLK) && defined(S_IFDIR) +# if S_ISBLK (S_IFDIR) +You lose. +# endif +#endif +#if defined(S_ISBLK) && defined(S_IFCHR) +# if S_ISBLK (S_IFCHR) +You lose. +# endif +#endif +#if defined(S_ISLNK) && defined(S_IFREG) +# if S_ISLNK (S_IFREG) +You lose. +# endif +#endif +#if defined(S_ISSOCK) && defined(S_IFREG) +# if S_ISSOCK (S_IFREG) +You lose. +# endif +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "You lose" >/dev/null 2>&1; then + ac_cv_header_stat_broken=yes +else + ac_cv_header_stat_broken=no +fi +rm -f conftest* +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5 +echo "${ECHO_T}$ac_cv_header_stat_broken" >&6 +if test $ac_cv_header_stat_broken = yes; then -for ac_func in memset stpcpy strcspn \ -strcasecmp strncasecmp strpbrk strstr vasprintf +cat >>confdefs.h <<\_ACEOF +#define STAT_MACROS_BROKEN 1 +_ACEOF + +fi + + +for ac_func in __secure_getenv do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -10523,16 +23973,18 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBOBJS="$LIBOBJS $ac_func.$ac_objext" fi done - am_getline_needs_run_time_check=no - echo "$as_me:$LINENO: checking for getline" >&5 -echo $ECHO_N "checking for getline... $ECHO_C" >&6 -if test "${ac_cv_func_getline+set}" = set; then + + +for ac_func in mkdtemp +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 @@ -10543,7 +23995,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char getline (); below. + which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ @@ -10558,14 +24010,14 @@ 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 getline (); +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_getline) || defined (__stub___getline) +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = getline; +char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -10574,7 +24026,7 @@ char (*f) () = getline; int main () { -return f != getline; +return f != $ac_func; ; return 0; } @@ -10591,32 +24043,32 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_func_getline=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_func_getline=no +eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5 -echo "${ECHO_T}$ac_cv_func_getline" >&6 -if test $ac_cv_func_getline = yes; then - am_getline_needs_run_time_check=yes +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 + else - am_cv_func_working_getline=no + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" fi +done - if test $am_getline_needs_run_time_check = yes; then - echo "$as_me:$LINENO: checking for working getline function" >&5 -echo $ECHO_N "checking for working getline function... $ECHO_C" >&6 -if test "${am_cv_func_working_getline+set}" = set; then + + echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 +echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6 +if test "${ac_cv_header_stat_broken+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 -else - echo fooN |tr -d '\012'|tr N '\012' > conftest.data - if test "$cross_compiling" = yes; then - am_cv_func_working_getline=no else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -10625,67 +24077,57 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include +#include -# include -# include -# include - int main () - { /* Based on a test program from Karl Heuer. */ - char *line = NULL; - size_t siz = 0; - int len; - FILE *in = fopen ("./conftest.data", "r"); - if (!in) - return 1; - len = getline (&line, &siz, in); - exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); - } +#if defined(S_ISBLK) && defined(S_IFDIR) +# if S_ISBLK (S_IFDIR) +You lose. +# endif +#endif + +#if defined(S_ISBLK) && defined(S_IFCHR) +# if S_ISBLK (S_IFCHR) +You lose. +# endif +#endif + +#if defined(S_ISLNK) && defined(S_IFREG) +# if S_ISLNK (S_IFREG) +You lose. +# endif +#endif + +#if defined(S_ISSOCK) && defined(S_IFREG) +# if S_ISSOCK (S_IFREG) +You lose. +# endif +#endif _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 - am_cv_func_working_getline=yes +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "You lose" >/dev/null 2>&1; then + ac_cv_header_stat_broken=yes 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 ) -am_cv_func_working_getline=no -fi -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi + ac_cv_header_stat_broken=no fi -echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5 -echo "${ECHO_T}$am_cv_func_working_getline" >&6 - fi +rm -f conftest* - if test $am_cv_func_working_getline = no; then +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5 +echo "${ECHO_T}$ac_cv_header_stat_broken" >&6 +if test $ac_cv_header_stat_broken = yes; then cat >>confdefs.h <<\_ACEOF -#define getline gnu_getline +#define STAT_MACROS_BROKEN 1 _ACEOF - LIBOBJS="$LIBOBJS getline.$ac_objext" - fi +fi -if test $am_cv_func_working_getline != yes; then -for ac_func in getdelim -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 "$as_me:$LINENO: checking for inttypes.h" >&5 +echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 +if test "${jm_ac_cv_header_inttypes_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -10695,85 +24137,53 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* 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 -/* 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 - +#include +#include int main () { -return f != $ac_func; +uintmax_t i = (uintmax_t) -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>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_var=yes" + jm_ac_cv_header_inttypes_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +jm_ac_cv_header_inttypes_h=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext 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 +echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5 +echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6 + if test $jm_ac_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_INTTYPES_H_WITH_UINTMAX 1 _ACEOF -fi -done + fi -fi - echo "$as_me:$LINENO: checking for working fnmatch function" >&5 -echo $ECHO_N "checking for working fnmatch function... $ECHO_C" >&6 -if test "${gt_cv_func_fnmatch_works+set}" = set; then + echo "$as_me:$LINENO: checking for stdint.h" >&5 +echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 +if test "${jm_ac_cv_header_stdint_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - - if test "$cross_compiling" = yes; then - gt_cv_func_fnmatch_works=no -else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ @@ -10781,71 +24191,52 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -# include -# include - int main () - { - exit (fnmatch ("a*", "abc", 0) != 0 - || fnmatch ("d*/*1", "d/s/1", FNM_PATHNAME) != FNM_NOMATCH); - } - +#include +#include +int +main () +{ +uintmax_t i = (uintmax_t) -1; + ; + return 0; +} _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && { ac_try='./conftest$ac_exeext' + (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 - gt_cv_func_fnmatch_works=yes + jm_ac_cv_header_stdint_h=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 + echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -( exit $ac_status ) -gt_cv_func_fnmatch_works=no -fi -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +jm_ac_cv_header_stdint_h=no fi - +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $gt_cv_func_fnmatch_works" >&5 -echo "${ECHO_T}$gt_cv_func_fnmatch_works" >&6 - if test $gt_cv_func_fnmatch_works = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_FNMATCH 1 -_ACEOF - - fi - - if test $gt_cv_func_fnmatch_works = yes; then - rm -f lib/fnmatch.h - else - test -d lib || mkdir lib - echo '#include "pfnmatch.h"' > lib/fnmatch.h +echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5 +echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6 + if test $jm_ac_cv_header_stdint_h = yes; then -cat >>confdefs.h <<\_ACEOF -#define fnmatch posix_fnmatch +cat >>confdefs.h <<_ACEOF +#define HAVE_STDINT_H_WITH_UINTMAX 1 _ACEOF - LIBOBJS="$LIBOBJS pfnmatch.$ac_objext" fi - - - -for ac_header in limits.h stdlib.h string.h wchar.h wctype.h +for ac_header in fcntl.h sys/time.h time.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 @@ -10987,16 +24378,114 @@ fi done +for ac_func in gettimeofday +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 +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* 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 +/* 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>&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.$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 + + signals_not_posix= + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* 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 "sigset_t" >/dev/null 2>&1; then + : +else + signals_not_posix=1 +fi +rm -f conftest* -for ac_func in isascii iswcntrl iswprint mbsinit wcwidth -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 + if test -z "$signals_not_posix"; then + echo "$as_me:$LINENO: checking for sigprocmask" >&5 +echo $ECHO_N "checking for sigprocmask... $ECHO_C" >&6 +if test "${ac_cv_func_sigprocmask+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -11007,7 +24496,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. + which can conflict with char sigprocmask (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ @@ -11022,14 +24511,14 @@ 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 (); +char sigprocmask (); /* 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) +#if defined (__stub_sigprocmask) || defined (__stub___sigprocmask) choke me #else -char (*f) () = $ac_func; +char (*f) () = sigprocmask; #endif #ifdef __cplusplus } @@ -11038,7 +24527,7 @@ char (*f) () = $ac_func; int main () { -return f != $ac_func; +return f != sigprocmask; ; return 0; } @@ -11055,29 +24544,31 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + ac_cv_func_sigprocmask=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_cv_func_sigprocmask=no fi rm -f 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 +echo "$as_me:$LINENO: result: $ac_cv_func_sigprocmask" >&5 +echo "${ECHO_T}$ac_cv_func_sigprocmask" >&6 +if test $ac_cv_func_sigprocmask = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_POSIX_SIGNALBLOCKING 1 _ACEOF fi -done + fi - echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5 -echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6 -if test "${jm_cv_func_mbrtowc+set}" = set; then + + echo "$as_me:$LINENO: checking for signal handlers with siginfo_t" >&5 +echo $ECHO_N "checking for signal handlers with siginfo_t... $ECHO_C" >&6 +if test "${gt_cv_siginfo_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -11087,50 +24578,61 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include + +#include int main () { -mbstate_t state; return ! (sizeof state && mbrtowc); + +struct sigaction action; +siginfo_t info; +action.sa_flags = SA_SIGINFO; +action.sa_sigaction = (void *) 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>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - jm_cv_func_mbrtowc=yes + gt_cv_siginfo_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -jm_cv_func_mbrtowc=no +gt_cv_siginfo_t=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5 -echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6 - if test $jm_cv_func_mbrtowc = yes; then +echo "$as_me:$LINENO: result: $gt_cv_siginfo_t" >&5 +echo "${ECHO_T}$gt_cv_siginfo_t" >&6 + if test $gt_cv_siginfo_t = yes; then cat >>confdefs.h <<\_ACEOF -#define HAVE_MBRTOWC 1 +#define HAVE_SIGINFO 1 _ACEOF fi - echo "$as_me:$LINENO: checking whether wcwidth is declared" >&5 -echo $ECHO_N "checking whether wcwidth is declared... $ECHO_C" >&6 -if test "${ac_cv_have_decl_wcwidth+set}" = set; then + + +for ac_func in setenv unsetenv +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 @@ -11140,64 +24642,82 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* AIX 3.2.5 declares wcwidth in . */ -#if HAVE_STRING_H -# include +/* 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 -#if HAVE_WCHAR_H -# include +/* 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 () { - -#ifndef wcwidth - char *p = (char *) wcwidth; -#endif - +return f != $ac_func; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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_have_decl_wcwidth=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_have_decl_wcwidth=no +eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_have_decl_wcwidth" >&5 -echo "${ECHO_T}$ac_cv_have_decl_wcwidth" >&6 - if test $ac_cv_have_decl_wcwidth = yes; then - ac_val=1 - else - ac_val=0 - fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_WCWIDTH $ac_val +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 +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + -for ac_header in stdlib.h + + +for ac_header in search.h stdlib.h string.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 @@ -11339,9 +24859,12 @@ fi done - echo "$as_me:$LINENO: checking for mbstate_t" >&5 -echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 -if test "${ac_cv_type_mbstate_t+set}" = set; then +for ac_func in tsearch +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 @@ -11351,15 +24874,95 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -#if HAVE_STDLIB_H -# include +/* 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 -#include +/* 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>&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.$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 if errno is properly declared" >&5 +echo $ECHO_N "checking if errno is properly declared... $ECHO_C" >&6 + if test "${gt_cv_var_errno_declaration+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + extern struct { int foo; } errno; int main () { -mbstate_t x; return sizeof x; +errno.foo = 1; ; return 0; } @@ -11376,53 +24979,47 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_type_mbstate_t=yes + gt_cv_var_errno_declaration=no else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_type_mbstate_t=no +gt_cv_var_errno_declaration=yes fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 -echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 - if test $ac_cv_type_mbstate_t = no; then + + echo "$as_me:$LINENO: result: $gt_cv_var_errno_declaration" >&5 +echo "${ECHO_T}$gt_cv_var_errno_declaration" >&6 + if test $gt_cv_var_errno_declaration = yes; then cat >>confdefs.h <<\_ACEOF -#define mbstate_t int +#define HAVE_ERRNO_DECL 1 _ACEOF - fi - - - + fi -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do - as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking if environ is properly declared" >&5 +echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6 + if test "${gt_cv_var_environ_declaration+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF + + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include <$ac_hdr> - +#include + extern struct { int foo; } environ; int main () { -if ((DIR *) 0) -return 0; +environ.foo = 1; ; return 0; } @@ -11439,54 +25036,77 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_Header=yes" + gt_cv_var_environ_declaration=no else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_Header=no" +gt_cv_var_environ_declaration=yes fi rm -f 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_hdr" | $as_tr_cpp` 1 + + echo "$as_me:$LINENO: result: $gt_cv_var_environ_declaration" >&5 +echo "${ECHO_T}$gt_cv_var_environ_declaration" >&6 + if test $gt_cv_var_environ_declaration = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ENVIRON_DECL 1 _ACEOF -ac_header_dirent=$ac_hdr; break -fi + fi -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then - echo "$as_me:$LINENO: checking for library containing opendir" >&5 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 -if test "${ac_cv_search_opendir+set}" = set; then + + + +for ac_func in strerror +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 - ac_func_search_save_LIBS=$LIBS -ac_cv_search_opendir=no -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - +/* 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 /* 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 opendir (); +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 () { -opendir (); +return f != $ac_func; ; return 0; } @@ -11503,188 +25123,169 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_search_opendir="none required" + 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.$ac_objext conftest$ac_exeext conftest.$ac_ext -if test "$ac_cv_search_opendir" = no; then - for ac_lib in dir; do - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF +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 + +else + LIBOBJS="$LIBOBJS $ac_func.$ac_objext" +fi +done + + + if test $ac_cv_func_strerror = no; then + + : + + fi + + + echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5 +echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* 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 opendir (); +$ac_includes_default int main () { -opendir (); +#ifndef clearerr_unlocked + char *p = (char *) clearerr_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_search_opendir="-l$ac_lib" -break + ac_cv_have_decl_clearerr_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_cv_have_decl_clearerr_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - done -fi -LIBS=$ac_func_search_save_LIBS +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 -echo "${ECHO_T}$ac_cv_search_opendir" >&6 -if test "$ac_cv_search_opendir" != no; then - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" +echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6 +if test $ac_cv_have_decl_clearerr_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CLEARERR_UNLOCKED 1 +_ACEOF -fi else - echo "$as_me:$LINENO: checking for library containing opendir" >&5 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 -if test "${ac_cv_search_opendir+set}" = set; then + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CLEARERR_UNLOCKED 0 +_ACEOF + + +fi + + + + + echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5 +echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_func_search_save_LIBS=$LIBS -ac_cv_search_opendir=no -cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* 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 opendir (); +$ac_includes_default int main () { -opendir (); +#ifndef feof_unlocked + char *p = (char *) feof_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_search_opendir="none required" + ac_cv_have_decl_feof_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_cv_have_decl_feof_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -if test "$ac_cv_search_opendir" = no; then - for ac_lib in x; do - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6 +if test $ac_cv_have_decl_feof_unlocked = yes; then -/* 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 opendir (); -int -main () -{ -opendir (); - ; - return 0; -} +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED 1 _ACEOF -rm -f conftest.$ac_objext 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='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_search_opendir="-l$ac_lib" -break + + else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED 0 +_ACEOF -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - done -fi -LIBS=$ac_func_search_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 -echo "${ECHO_T}$ac_cv_search_opendir" >&6 -if test "$ac_cv_search_opendir" != no; then - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" fi -fi - echo "$as_me:$LINENO: checking whether closedir returns void" >&5 -echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 -if test "${ac_cv_func_closedir_void+set}" = set; then + echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5 +echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_closedir_void=yes else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -11694,70 +25295,64 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -#include <$ac_header_dirent> -#ifndef __cplusplus -int closedir (); -#endif - int main () { -exit (closedir (opendir (".")) != 0); +#ifndef ferror_unlocked + char *p = (char *) ferror_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && { ac_try='./conftest$ac_exeext' + (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_func_closedir_void=no + ac_cv_have_decl_ferror_unlocked=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 + echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -( exit $ac_status ) -ac_cv_func_closedir_void=yes -fi -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +ac_cv_have_decl_ferror_unlocked=no fi +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5 -echo "${ECHO_T}$ac_cv_func_closedir_void" >&6 -if test $ac_cv_func_closedir_void = yes; then +echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6 +if test $ac_cv_have_decl_ferror_unlocked = yes; then -cat >>confdefs.h <<\_ACEOF -#define CLOSEDIR_VOID 1 +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FERROR_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FERROR_UNLOCKED 0 _ACEOF + fi -for ac_header in limits.h string.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 "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5 +echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fflush_unlocked+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 + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -11765,7 +25360,16 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -#include <$ac_header> +int +main () +{ +#ifndef fflush_unlocked + char *p = (char *) fflush_unlocked; +#endif + + ; + return 0; +} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -11779,166 +25383,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_header_compiler=yes + ac_cv_have_decl_fflush_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_header_compiler=no +ac_cv_have_decl_fflush_unlocked=no fi rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6 +if test $ac_cv_have_decl_fflush_unlocked = yes; then -# 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 -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FFLUSH_UNLOCKED 1 _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 - 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 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 preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; - 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: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@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 +#define HAVE_DECL_FFLUSH_UNLOCKED 0 _ACEOF -fi - -done - echo "$as_me:$LINENO: checking for long file names" >&5 -echo $ECHO_N "checking for long file names... $ECHO_C" >&6 -if test "${ac_cv_sys_long_file_names+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_sys_long_file_names=yes -# Test for long file names in all the places we know might matter: -# . the current directory, where building will happen -# $prefix/lib where we will be installing things -# $exec_prefix/lib likewise -# eval it to expand exec_prefix. -# $TMPDIR if set, where it might want to write temporary files -# if $TMPDIR is not set: -# /tmp where it might want to write temporary files -# /var/tmp likewise -# /usr/tmp likewise -if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then - ac_tmpdirs=$TMPDIR -else - ac_tmpdirs='/tmp /var/tmp /usr/tmp' -fi -for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do - test -d $ac_dir || continue - test -w $ac_dir || continue # It is less confusing to not echo anything here. - ac_xdir=$ac_dir/cf$$ - (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue - ac_tf1=$ac_xdir/conftest9012345 - ac_tf2=$ac_xdir/conftest9012346 - (echo 1 >$ac_tf1) 2>/dev/null - (echo 2 >$ac_tf2) 2>/dev/null - ac_val=`cat $ac_tf1 2>/dev/null` - if test ! -f $ac_tf1 || test "$ac_val" != 1; then - ac_cv_sys_long_file_names=no - rm -rf $ac_xdir 2>/dev/null - break - fi - rm -rf $ac_xdir 2>/dev/null -done fi -echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 -echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 -if test $ac_cv_sys_long_file_names = yes; then -cat >>confdefs.h <<\_ACEOF -#define HAVE_LONG_FILE_NAMES 1 -_ACEOF -fi -for ac_func in pathconf -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 "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5 +echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -11947,94 +25423,66 @@ else _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* 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 -/* 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 - +/* end confdefs.h. */ +$ac_includes_default int main () { -return f != $ac_func; +#ifndef fgets_unlocked + char *p = (char *) fgets_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_var=yes" + ac_cv_have_decl_fgets_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_cv_have_decl_fgets_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext 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 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6 +if test $ac_cv_have_decl_fgets_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FGETS_UNLOCKED 1 +_ACEOF + + +else cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_DECL_FGETS_UNLOCKED 0 _ACEOF + fi -done -for ac_header in limits.h string.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 "$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 -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 + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -12042,7 +25490,16 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -#include <$ac_header> +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 @@ -12056,129 +25513,41 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_header_compiler=yes + ac_cv_have_decl_fputc_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_header_compiler=no +ac_cv_have_decl_fputc_unlocked=no fi rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 +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 -# 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 -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTC_UNLOCKED 1 _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 - 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 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 preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; - 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: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@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 +#define HAVE_DECL_FPUTC_UNLOCKED 0 _ACEOF -fi -done +fi -for ac_header in unistd.h vfork.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 "$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 -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 + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF @@ -12186,7 +25555,16 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -#include <$ac_header> +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 @@ -12200,118 +25578,38 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_header_compiler=yes + ac_cv_have_decl_fputs_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_header_compiler=no +ac_cv_have_decl_fputs_unlocked=no fi rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 +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 -# 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 -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTS_UNLOCKED 1 _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 - 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 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 preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; - 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: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@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 +#define HAVE_DECL_FPUTS_UNLOCKED 0 _ACEOF + fi -done -for ac_func in fork vfork -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 "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5 +echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -12321,148 +25619,128 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* 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 -/* 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 - +$ac_includes_default int main () { -return f != $ac_func; +#ifndef fread_unlocked + char *p = (char *) fread_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_var=yes" + ac_cv_have_decl_fread_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_cv_have_decl_fread_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext 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 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6 +if test $ac_cv_have_decl_fread_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREAD_UNLOCKED 1 +_ACEOF + + +else cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_DECL_FREAD_UNLOCKED 0 _ACEOF + fi -done -if test "x$ac_cv_func_fork" = xyes; then - echo "$as_me:$LINENO: checking for working fork" >&5 -echo $ECHO_N "checking for working fork... $ECHO_C" >&6 -if test "${ac_cv_func_fork_works+set}" = set; then + + + + 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 - if test "$cross_compiling" = yes; then - ac_cv_func_fork_works=cross else cat >conftest.$ac_ext <<_ACEOF -/* By Ruediger Kuhlmann. */ - #include - #if HAVE_UNISTD_H - # include - #endif - /* Some systems only have a dummy stub for fork() */ - int main () - { - if (fork() < 0) - exit (1); - exit (0); - } +#line $LINENO "configure" +/* confdefs.h. */ _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +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>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + (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_func_fork_works=yes + ac_cv_have_decl_fwrite_unlocked=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 + echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -( exit $ac_status ) -ac_cv_func_fork_works=no -fi -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +ac_cv_have_decl_fwrite_unlocked=no fi +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 -echo "${ECHO_T}$ac_cv_func_fork_works" >&6 +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 - ac_cv_func_fork_works=$ac_cv_func_fork -fi -if test "x$ac_cv_func_fork_works" = xcross; then - case $host in - *-*-amigaos* | *-*-msdosdjgpp*) - # Override, as these systems have only a dummy fork() stub - ac_cv_func_fork_works=no - ;; - *) - ac_cv_func_fork_works=yes - ;; - esac - { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 -echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FWRITE_UNLOCKED 0 +_ACEOF + + fi -ac_cv_func_vfork_works=$ac_cv_func_vfork -if test "x$ac_cv_func_vfork" = xyes; then - echo "$as_me:$LINENO: checking for working vfork" >&5 -echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 -if test "${ac_cv_func_vfork_works+set}" = set; then + + + + + echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -12471,164 +25749,62 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Thanks to Paul Eggert for this test. */ -#include -#include -#include -#include -#include -#if HAVE_UNISTD_H -# include -#endif -#if HAVE_VFORK_H -# include -#endif -/* On some sparc systems, changes by the child to local and incoming - argument registers are propagated back to the parent. The compiler - is told about this with #include , but some compilers - (e.g. gcc -O) don't grok . Test for this by using a - static variable whose address is put into a register that is - clobbered by the vfork. */ -static void -#ifdef __cplusplus -sparc_address_test (int arg) -# else -sparc_address_test (arg) int arg; -#endif -{ - static pid_t child; - if (!child) { - child = vfork (); - if (child < 0) { - perror ("vfork"); - _exit(2); - } - if (!child) { - arg = getpid(); - write(-1, "", 0); - _exit (arg); - } - } -} - +$ac_includes_default int main () { - pid_t parent = getpid (); - pid_t child; - - sparc_address_test (0); - - child = vfork (); - - if (child == 0) { - /* Here is another test for sparc vfork register problems. This - test uses lots of local variables, at least as many local - variables as main has allocated so far including compiler - temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris - 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should - reuse the register of parent for one of the local variables, - since it will think that parent can't possibly be used any more - in this routine. Assigning to the local variable will thus - munge parent in the parent process. */ - pid_t - p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), - p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); - /* Convince the compiler that p..p7 are live; otherwise, it might - use the same hardware register for all 8 local variables. */ - if (p != p1 || p != p2 || p != p3 || p != p4 - || p != p5 || p != p6 || p != p7) - _exit(1); - - /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent - from child file descriptors. If the child closes a descriptor - before it execs or exits, this munges the parent's descriptor - as well. Test for this by closing stdout in the child. */ - _exit(close(fileno(stdout)) != 0); - } else { - int status; - struct stat st; - - while (wait(&status) != child) - ; - exit( - /* Was there some problem with vforking? */ - child < 0 - - /* Did the child fail? (This shouldn't happen.) */ - || status - - /* Did the vfork/compiler bug occur? */ - || parent != getpid() +#ifndef getc_unlocked + char *p = (char *) getc_unlocked; +#endif - /* Did the file descriptor bug occur? */ - || fstat(fileno(stdout), &st) != 0 - ); - } + ; + return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && { ac_try='./conftest$ac_exeext' + (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_func_vfork_works=yes + ac_cv_have_decl_getc_unlocked=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 + echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -( exit $ac_status ) -ac_cv_func_vfork_works=no -fi -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi +ac_cv_have_decl_getc_unlocked=no fi -echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 -echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 - -fi; -if test "x$ac_cv_func_fork_works" = xcross; then - ac_cv_func_vfork_works=ac_cv_func_vfork - { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 -echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} +rm -f conftest.$ac_objext conftest.$ac_ext fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6 +if test $ac_cv_have_decl_getc_unlocked = yes; then -if test "x$ac_cv_func_vfork_works" = xyes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_WORKING_VFORK 1 +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED 1 _ACEOF -else -cat >>confdefs.h <<\_ACEOF -#define vfork fork +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED 0 _ACEOF -fi -if test "x$ac_cv_func_fork_works" = xyes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_WORKING_FORK 1 -_ACEOF fi -for ac_func in waitpid -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 "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5 +echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -12638,77 +25814,62 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* 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 -/* 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 - +$ac_includes_default int main () { -return f != $ac_func; +#ifndef getchar_unlocked + char *p = (char *) getchar_unlocked; +#endif + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_var=yes" + ac_cv_have_decl_getchar_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_cv_have_decl_getchar_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.$ac_objext 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 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6 +if test $ac_cv_have_decl_getchar_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCHAR_UNLOCKED 1 +_ACEOF + + +else cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_DECL_GETCHAR_UNLOCKED 0 _ACEOF + fi -done -echo "$as_me:$LINENO: checking for union wait" >&5 -echo $ECHO_N "checking for union wait... $ECHO_C" >&6 -if test "${gt_cv_union_wait+set}" = set; then + + + + 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 @@ -12718,67 +25879,62 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include +$ac_includes_default int main () { -union wait status; int pid; pid = wait (&status); -#ifdef WEXITSTATUS -/* Some POSIXoid systems have both the new-style macros and the old - union wait type, and they do not work together. If union wait - conflicts with WEXITSTATUS et al, we don't want to use it at all. */ -if (WEXITSTATUS (status) != 0) pid = -1; -#ifdef WTERMSIG -/* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */ --- blow chunks here -- -#endif -#endif -#ifdef HAVE_WAITPID -/* Make sure union wait works with waitpid. */ -pid = waitpid (-1, &status, 0); +#ifndef putc_unlocked + char *p = (char *) putc_unlocked; #endif ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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 - gt_cv_union_wait=yes + ac_cv_have_decl_putc_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -gt_cv_union_wait=no +ac_cv_have_decl_putc_unlocked=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f 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 -if test "$gt_cv_union_wait" = yes; then +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED 1 +_ACEOF -cat >>confdefs.h <<\_ACEOF -#define HAVE_UNION_WAIT 1 + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED 0 _ACEOF + fi -echo "$as_me:$LINENO: result: $gt_cv_union_wait" >&5 -echo "${ECHO_T}$gt_cv_union_wait" >&6 - echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 -echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6 -if test "${ac_cv_header_stat_broken+set}" = set; then + + + echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5 +echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -12788,60 +25944,109 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include - -#if defined(S_ISBLK) && defined(S_IFDIR) -# if S_ISBLK (S_IFDIR) -You lose. -# endif -#endif - -#if defined(S_ISBLK) && defined(S_IFCHR) -# if S_ISBLK (S_IFCHR) -You lose. -# endif +$ac_includes_default +int +main () +{ +#ifndef putchar_unlocked + char *p = (char *) putchar_unlocked; #endif -#if defined(S_ISLNK) && defined(S_IFREG) -# if S_ISLNK (S_IFREG) -You lose. -# endif -#endif + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +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); } && + { 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_putchar_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -#if defined(S_ISSOCK) && defined(S_IFREG) -# if S_ISSOCK (S_IFREG) -You lose. -# endif -#endif +ac_cv_have_decl_putchar_unlocked=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6 +if test $ac_cv_have_decl_putchar_unlocked = yes; then +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTCHAR_UNLOCKED 1 _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "You lose" >/dev/null 2>&1; then - ac_cv_header_stat_broken=yes + + else - ac_cv_header_stat_broken=no + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTCHAR_UNLOCKED 0 +_ACEOF + + fi -rm -f conftest* -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5 -echo "${ECHO_T}$ac_cv_header_stat_broken" >&6 -if test $ac_cv_header_stat_broken = yes; then -cat >>confdefs.h <<\_ACEOF -#define STAT_MACROS_BROKEN 1 -_ACEOF -fi -for ac_func in __secure_getenv -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 "$as_me:$LINENO: checking for error_at_line" >&5 +echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 +if test "${am_cv_lib_error_at_line+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -12851,39 +26056,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* 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 -/* 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; +error_at_line(0, 0, "", 0, ""); ; return 0; } @@ -12900,29 +26077,29 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + am_cv_lib_error_at_line=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +am_cv_lib_error_at_line=no fi rm -f 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 +echo "$as_me:$LINENO: result: $am_cv_lib_error_at_line" >&5 +echo "${ECHO_T}$am_cv_lib_error_at_line" >&6 + if test $am_cv_lib_error_at_line = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ERROR_AT_LINE 1 _ACEOF -fi -done + else -for ac_func in mkdtemp +for ac_func in strerror do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -13002,75 +26179,12 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - LIBOBJS="$LIBOBJS $ac_func.$ac_objext" fi done - - echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 -echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6 -if test "${ac_cv_header_stat_broken+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include - -#if defined(S_ISBLK) && defined(S_IFDIR) -# if S_ISBLK (S_IFDIR) -You lose. -# endif -#endif - -#if defined(S_ISBLK) && defined(S_IFCHR) -# if S_ISBLK (S_IFCHR) -You lose. -# endif -#endif - -#if defined(S_ISLNK) && defined(S_IFREG) -# if S_ISLNK (S_IFREG) -You lose. -# endif -#endif - -#if defined(S_ISSOCK) && defined(S_IFREG) -# if S_ISSOCK (S_IFREG) -You lose. -# endif -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "You lose" >/dev/null 2>&1; then - ac_cv_header_stat_broken=yes -else - ac_cv_header_stat_broken=no -fi -rm -f conftest* - -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5 -echo "${ECHO_T}$ac_cv_header_stat_broken" >&6 -if test $ac_cv_header_stat_broken = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STAT_MACROS_BROKEN 1 -_ACEOF - -fi - - - echo "$as_me:$LINENO: checking for inttypes.h" >&5 -echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 -if test "${jm_ac_cv_header_inttypes_h+set}" = set; then + echo "$as_me:$LINENO: checking whether strerror is declared" >&5 +echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strerror+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -13080,12 +26194,14 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include +$ac_includes_default int main () { -uintmax_t i = (uintmax_t) -1; +#ifndef strerror + char *p = (char *) strerror; +#endif + ; return 0; } @@ -13102,29 +26218,36 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - jm_ac_cv_header_inttypes_h=yes + ac_cv_have_decl_strerror=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -jm_ac_cv_header_inttypes_h=no +ac_cv_have_decl_strerror=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5 -echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6 - if test $jm_ac_cv_header_inttypes_h = yes; then +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6 +if test $ac_cv_have_decl_strerror = yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_INTTYPES_H_WITH_UINTMAX 1 +#define HAVE_DECL_STRERROR 1 _ACEOF - fi +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR 0 +_ACEOF - echo "$as_me:$LINENO: checking for stdint.h" >&5 -echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 -if test "${jm_ac_cv_header_stdint_h+set}" = set; then + +fi + + + echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 +echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_strerror_r+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -13134,12 +26257,14 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include +$ac_includes_default int main () { -uintmax_t i = (uintmax_t) -1; +#ifndef strerror_r + char *p = (char *) strerror_r; +#endif + ; return 0; } @@ -13149,179 +26274,42 @@ 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); } && - { 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 - jm_ac_cv_header_stdint_h=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -jm_ac_cv_header_stdint_h=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5 -echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6 - if test $jm_ac_cv_header_stdint_h = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_STDINT_H_WITH_UINTMAX 1 -_ACEOF - - fi - - - - - -for ac_header in fcntl.h sys/time.h time.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 -#line $LINENO "configure" -/* 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>&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.$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 -#line $LINENO "configure" -/* 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 + (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=$? - 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 - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes + (exit $ac_status); }; }; then + ac_cv_have_decl_strerror_r=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_header_preproc=no +ac_cv_have_decl_strerror_r=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 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 preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; - 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: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@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" +rm -f 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 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6 +if test $ac_cv_have_decl_strerror_r = yes; then -fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR_R 1 +_ACEOF + + +else cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define HAVE_DECL_STRERROR_R 0 _ACEOF + fi -done -for ac_func in gettimeofday +for ac_func in strerror_r do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -13404,32 +26392,62 @@ _ACEOF fi done +echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 +echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6 +if test "${ac_cv_func_strerror_r_char_p+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else - - signals_not_posix= - cat >conftest.$ac_ext <<_ACEOF + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +$ac_includes_default +int +main () +{ + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); + + ; + return 0; +} _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "sigset_t" >/dev/null 2>&1; then - : +rm -f conftest.$ac_objext +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); } && + { 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_func_strerror_r_char_p=yes else - signals_not_posix=1 -fi -rm -f conftest* + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - if test -z "$signals_not_posix"; then - echo "$as_me:$LINENO: checking for sigprocmask" >&5 -echo $ECHO_N "checking for sigprocmask... $ECHO_C" >&6 -if test "${ac_cv_func_sigprocmask+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +rm -f conftest.$ac_objext conftest.$ac_ext + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + if test "$cross_compiling" = yes; then + : else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -13438,103 +26456,224 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char sigprocmask (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ -#ifdef __STDC__ -# include -#else -# include -#endif -/* 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 sigprocmask (); -/* 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_sigprocmask) || defined (__stub___sigprocmask) -choke me -#else -char (*f) () = sigprocmask; -#endif -#ifdef __cplusplus -} -#endif - +$ac_includes_default + extern char *strerror_r (); int main () { -return f != sigprocmask; +char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + exit (!isalpha (x)); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext +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_func_strerror_r_char_p=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f core 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_func_strerror_r_char_p" >&5 +echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6 +if test $ac_cv_func_strerror_r_char_p = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STRERROR_R_CHAR_P 1 +_ACEOF + +fi + + + fi + + + +for ac_header in limits.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 +#line $LINENO "configure" +/* 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>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { 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_func_sigprocmask=yes + 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.$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 +#line $LINENO "configure" +/* 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 + 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_cv_func_sigprocmask=no + ac_header_preproc=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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: $ac_cv_func_sigprocmask" >&5 -echo "${ECHO_T}$ac_cv_func_sigprocmask" >&6 -if test $ac_cv_func_sigprocmask = yes; then +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -cat >>confdefs.h <<\_ACEOF -#define HAVE_POSIX_SIGNALBLOCKING 1 +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 - fi +done - echo "$as_me:$LINENO: checking for signal handlers with siginfo_t" >&5 -echo $ECHO_N "checking for signal handlers with siginfo_t... $ECHO_C" >&6 -if test "${gt_cv_siginfo_t+set}" = set; then + + +for ac_header in sys/param.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 - cat >conftest.$ac_ext <<_ACEOF + # 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 #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -#include -int -main () -{ - -struct sigaction action; -siginfo_t info; -action.sa_flags = SA_SIGINFO; -action.sa_sigaction = (void *) 0; - - ; - return 0; -} +$ac_includes_default +#include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -13548,119 +26687,273 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - gt_cv_siginfo_t=yes + ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -gt_cv_siginfo_t=no +ac_header_compiler=no fi rm -f 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 +#line $LINENO "configure" +/* 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 + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi -echo "$as_me:$LINENO: result: $gt_cv_siginfo_t" >&5 -echo "${ECHO_T}$gt_cv_siginfo_t" >&6 - if test $gt_cv_siginfo_t = yes; then +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 -cat >>confdefs.h <<\_ACEOF -#define HAVE_SIGINFO 1 + 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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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 +fi + +done -for ac_func in setenv unsetenv +for ac_header in unistd.h 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 +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 - cat >conftest.$ac_ext <<_ACEOF + # 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 #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* 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 -/* 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; -} +$ac_includes_default +#include <$ac_header> _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 +rm -f conftest.$ac_objext +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); } && - { ac_try='test -s conftest$ac_exeext' + { 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_var=yes" + ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_header_compiler=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f 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 +#line $LINENO "configure" +/* 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 + else + ac_cpp_err= + fi +else + ac_cpp_err=yes 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 +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 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 preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@gnu.org. ## +## ------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; + 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: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------ ## +## Report this to bug-autoconf@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_func" | $as_tr_cpp` 1 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -else - LIBOBJS="$LIBOBJS $ac_func.$ac_objext" fi + done + : -for ac_header in search.h stdlib.h string.h unistd.h + + + + + + + + + + + + +for ac_header in sys/types.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -13802,7 +27095,27 @@ fi done -for ac_func in tsearch + + + : + + + + + + + + + + + + + + + + + +for ac_func in canonicalize_file_name do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -13842,168 +27155,74 @@ 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>&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.$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 if errno is properly declared" >&5 -echo $ECHO_N "checking if errno is properly declared... $ECHO_C" >&6 - if test "${gt_cv_var_errno_declaration+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - extern struct { int foo; } errno; -int -main () -{ -errno.foo = 1; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -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); } && - { 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 - gt_cv_var_errno_declaration=no -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -gt_cv_var_errno_declaration=yes -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi - - echo "$as_me:$LINENO: result: $gt_cv_var_errno_declaration" >&5 -echo "${ECHO_T}$gt_cv_var_errno_declaration" >&6 - if test $gt_cv_var_errno_declaration = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_ERRNO_DECL 1 -_ACEOF - - fi - - - - echo "$as_me:$LINENO: checking if environ is properly declared" >&5 -echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6 - if test "${gt_cv_var_environ_declaration+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - extern struct { int foo; } environ; +#ifdef __cplusplus +} +#endif + int main () { -environ.foo = 1; +return f != $ac_func; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 +rm -f conftest.$ac_objext 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='test -s conftest.$ac_objext' + { 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 - gt_cv_var_environ_declaration=no + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -gt_cv_var_environ_declaration=yes +eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f 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: result: $gt_cv_var_environ_declaration" >&5 -echo "${ECHO_T}$gt_cv_var_environ_declaration" >&6 - if test $gt_cv_var_environ_declaration = yes; then + if test $ac_cv_func_canonicalize_file_name = no; then + LIBOBJS="$LIBOBJS canonicalize.$ac_objext" cat >>confdefs.h <<\_ACEOF -#define HAVE_ENVIRON_DECL 1 +#define realpath rpl_realpath _ACEOF - fi + : - echo "$as_me:$LINENO: checking for error_at_line" >&5 -echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 -if test "${am_cv_lib_error_at_line+set}" = set; then + + + + + + + + +for ac_func in getcwd +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 @@ -14013,11 +27232,39 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +/* 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 +/* 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 () { -error_at_line(0, 0, "", 0, ""); +return f != $ac_func; ; return 0; } @@ -14034,23 +27281,26 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - am_cv_lib_error_at_line=yes + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -am_cv_lib_error_at_line=no +eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $am_cv_lib_error_at_line" >&5 -echo "${ECHO_T}$am_cv_lib_error_at_line" >&6 - if test $am_cv_lib_error_at_line = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_ERROR_AT_LINE 1 +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 + + fi @@ -14557,7 +27807,10 @@ _ACEOF MKINSTALLDIRS= if test -n "$ac_aux_dir"; then - MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" @@ -14565,6 +27818,20 @@ _ACEOF + echo "$as_me:$LINENO: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 + # Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + USE_NLS=$enableval +else + USE_NLS=yes +fi; + echo "$as_me:$LINENO: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6 + + + @@ -14724,8 +27991,8 @@ else test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi @@ -14830,8 +28097,8 @@ echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6 fi if test "$XGETTEXT" != ":"; then - if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && - (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 @@ -15756,119 +29023,6 @@ _ACEOF 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. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - 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. -if $LD -v 2>&1 &5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&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 @@ -15891,8 +29045,6 @@ echo "${ECHO_T}$acl_cv_rpath" >&6 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" - sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" - sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" @@ -16457,11 +29609,13 @@ done + for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ -strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next +strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \ +__fsetlocking do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -16942,6 +30096,7 @@ echo "${ECHO_T}$ac_prog_version" >&6 + echo "$as_me:$LINENO: checking whether NLS is requested" >&5 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 # Check whether --enable-nls or --disable-nls was given. @@ -16956,6 +30111,7 @@ echo "${ECHO_T}$USE_NLS" >&6 + BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no @@ -17540,8 +30696,7 @@ echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6 fi if test "$nls_cv_use_gnu_gettext" = "yes"; then - INTLOBJS="\$(GETTOBJS)" - BUILD_INCLUDED_LIBINTL=yes + BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV" LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV" @@ -17643,7 +30798,6 @@ _ACEOF - nls_cv_header_intl= nls_cv_header_libgt= @@ -17656,6 +30810,11 @@ _ACEOF GENCAT=gencat + if test "$USE_INCLUDED_LIBINTL" = yes; then + INTLOBJS="\$(GETTOBJS)" + fi + + INTL_LIBTOOL_SUFFIX_PREFIX=l @@ -18674,6 +31833,20 @@ 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 "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"RELOCATABLE_VIA_LD\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"RELOCATABLE_VIA_LD\" 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 @@ -19248,6 +32421,7 @@ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -19266,7 +32440,6 @@ s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@YACC@,$YACC,;t t s,@LEX@,$LEX,;t t -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t s,@GCJ@,$GCJ,;t t s,@GCJFLAGS@,$GCJFLAGS,;t t s,@HAVE_GCJ@,$HAVE_GCJ,;t t @@ -19304,15 +32477,38 @@ s,@host_vendor@,$host_vendor,;t t s,@host_os@,$host_os,;t t s,@LN_S@,$LN_S,;t t s,@ECHO@,$ECHO,;t t +s,@AR@,$AR,;t t +s,@ac_ct_AR@,$ac_ct_AR,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@DLLTOOL@,$DLLTOOL,;t t +s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t +s,@AS@,$AS,;t t +s,@ac_ct_AS@,$ac_ct_AS,;t t +s,@OBJDUMP@,$OBJDUMP,;t t +s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t +s,@CXX@,$CXX,;t t +s,@CXXFLAGS@,$CXXFLAGS,;t t +s,@ac_ct_CXX@,$ac_ct_CXX,;t t +s,@CXXDEPMODE@,$CXXDEPMODE,;t t +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t +s,@CXXCPP@,$CXXCPP,;t t +s,@F77@,$F77,;t t +s,@FFLAGS@,$FFLAGS,;t t +s,@ac_ct_F77@,$ac_ct_F77,;t t s,@LIBTOOL@,$LIBTOOL,;t t +s,@RELOCATABLE@,$RELOCATABLE,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@SET_RELOCATABLE@,$SET_RELOCATABLE,;t t +s,@RELOCATABLE_VIA_LD_TRUE@,$RELOCATABLE_VIA_LD_TRUE,;t t +s,@RELOCATABLE_VIA_LD_FALSE@,$RELOCATABLE_VIA_LD_FALSE,;t t s,@HAVE__BOOL@,$HAVE__BOOL,;t t s,@STDBOOL_H@,$STDBOOL_H,;t t s,@ALLOCA@,$ALLOCA,;t t s,@ALLOCA_H@,$ALLOCA_H,;t t -s,@LIBOBJS@,$LIBOBJS,;t t s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t +s,@USE_NLS@,$USE_NLS,;t t s,@MSGFMT@,$MSGFMT,;t t s,@GMSGFMT@,$GMSGFMT,;t t s,@XGETTEXT@,$XGETTEXT,;t t @@ -19321,14 +32517,13 @@ s,@GLIBC21@,$GLIBC21,;t t s,@LIBICONV@,$LIBICONV,;t t s,@LTLIBICONV@,$LTLIBICONV,;t t s,@INTLBISON@,$INTLBISON,;t t -s,@USE_NLS@,$USE_NLS,;t t s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t s,@CATOBJEXT@,$CATOBJEXT,;t t -s,@INTLOBJS@,$INTLOBJS,;t t s,@DATADIRNAME@,$DATADIRNAME,;t t s,@INSTOBJEXT@,$INSTOBJEXT,;t t s,@GENCAT@,$GENCAT,;t t +s,@INTLOBJS@,$INTLOBJS,;t t s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t s,@INTLLIBS@,$INTLLIBS,;t t s,@LIBINTL@,$LIBINTL,;t t @@ -19344,8 +32539,6 @@ s,@DVIPS@,$DVIPS,;t t s,@TEXI2PDF@,$TEXI2PDF,;t t s,@PERL@,$PERL,;t t s,@CROSS_COMPILING@,$CROSS_COMPILING,;t t -s,@CXX@,$CXX,;t t -s,@CXXFLAGS@,$CXXFLAGS,;t t s,@LTALLOCA@,$LTALLOCA,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF @@ -19812,7 +33005,16 @@ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} cat $tmp/config.h rm -f $tmp/config.h fi -_am_stamp_count=`expr ${_am_stamp_count-0} + 1` +# 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\(//\)[^/]' \| \ diff --git a/gettext-tools/doc/Makefile.in b/gettext-tools/doc/Makefile.in index 28bbe606a..34dcbc9e1 100644 --- a/gettext-tools/doc/Makefile.in +++ b/gettext-tools/doc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,11 +61,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ # Documentation in Postscript format. @@ -75,6 +80,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -111,7 +118,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -129,6 +135,7 @@ MAKEINFO = env LANG= LANGUAGE= @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -140,7 +147,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -154,13 +165,22 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -191,7 +211,7 @@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -docdir = $(prefix)/doc/gettext +docdir = $(datadir)/doc/gettext dvidir = $(docdir) psdir = $(docdir) pdfdir = $(docdir) @@ -199,7 +219,16 @@ htmldir = $(docdir) AUTOMAKE_OPTIONS = 1.2 gnits -# Temporary index files. automake doesn't remove them reliably by itself. + +# VMS support. + +# Woe32 support. +EXTRA_DIST = \ + iso-639.sed iso-3166.sed ISO_639 ISO_3166 ISO_3166_de texi2html \ + ChangeLog.0\ +Makefile.vms Makefile.msvc + +# Temporary index files. automake removes only the predefined ones by itself. MOSTLYCLEANFILES = \ gettext.am gettext.ams \ gettext.cp gettext.cps \ @@ -208,10 +237,8 @@ MOSTLYCLEANFILES = \ gettext.ev gettext.evs \ gettext.fn gettext.fns \ gettext.kw gettext.kws \ - gettext.ky gettext.kys \ gettext.op gettext.ops \ gettext.pg gettext.pgs \ - gettext.tp gettext.tps \ gettext.vr gettext.vrs @@ -227,11 +254,6 @@ gettext_TEXINFOS = \ gettextize.texi autopoint.texi iso-639.texi iso-3166.texi -EXTRA_DIST = \ - iso-639.sed iso-3166.sed ISO_639 ISO_3166 ISO_3166_de texi2html \ - ChangeLog.0 - - CLEANFILES = gettext.pdf gettext.html # gettext.dvi and gettext.ps are already known to automake. MAINTAINERCLEANFILES = gettext_*.html @@ -274,7 +296,7 @@ distclean-libtool: -rm -f libtool .texi.info: - @rm -f $@ $@-[0-9] $@-[0-9][0-9] + @rm -f $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9] $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ -o $@ `test -f '$<' || echo '$(srcdir)/'`$< @@ -323,9 +345,10 @@ uninstall-info-am: @list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ + relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ (if cd $(DESTDIR)$(infodir); then \ - echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9])"; \ - rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9]; \ + echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \ + rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ else :; fi); \ done @@ -349,11 +372,10 @@ mostlyclean-aminfo: gettext.ps maintainer-clean-aminfo: - list='$(INFO_DEPS)'; for i in $$list; do \ - rm -f $$i; \ - if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ - rm -f $$i-[0-9]*; \ - fi; \ + @list='$(INFO_DEPS)'; for i in $$list; do \ + i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \ + echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \ + rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \ done tags: TAGS TAGS: @@ -400,6 +422,9 @@ check-am: all-am check: check-am all-am: Makefile $(INFO_DEPS) all-local +installdirs: installdirs-local + $(mkinstalldirs) $(DESTDIR)$(infodir) + install: install-am install-exec: install-exec-am install-data: install-data-am @@ -455,7 +480,9 @@ install-info-am: $(INFO_DEPS) @list='$(INFO_DEPS)'; \ for file in $$list; do \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ - for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \ + file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \ + for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ + $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ if test -f $$ifile; then \ relfile=`echo "$$ifile" | sed 's|^.*/||'`; \ echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \ @@ -628,9 +655,6 @@ dist-html-split: for file in `cd $$d && echo gettext_*.html`; do \ cp -p $$d/$$file $(distdir)/$$file || exit 1; \ done - -# One more automake bug. -installdirs: installdirs-local # 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/gettext-tools/doc/gettext.info b/gettext-tools/doc/gettext.info index 9e05045bc..ee8bc5477 100644 --- a/gettext-tools/doc/gettext.info +++ b/gettext-tools/doc/gettext.info @@ -47,188 +47,191 @@ translation approved by the Foundation.  Indirect: gettext.info-1: 2506 -gettext.info-2: 50352 -gettext.info-3: 95211 -gettext.info-4: 142322 -gettext.info-5: 188354 -gettext.info-6: 230991 -gettext.info-7: 279072 -gettext.info-8: 327529 -gettext.info-9: 377153 -gettext.info-10: 416019 +gettext.info-2: 51864 +gettext.info-3: 100432 +gettext.info-4: 150065 +gettext.info-5: 199493 +gettext.info-6: 242507 +gettext.info-7: 290748 +gettext.info-8: 340344 +gettext.info-9: 390216 +gettext.info-10: 438111  Tag Table: (Indirect) Node: Top2506 -Node: Introduction12982 -Node: Why14840 -Ref: Why-Footnote-117947 -Node: Concepts18103 -Node: Aspects21516 -Node: Files27354 -Node: Overview29255 -Node: Basics40047 -Node: Installation40877 -Node: PO Files42819 -Ref: PO Files-Footnote-150225 -Node: Main PO Commands50352 -Node: Entry Positioning55422 -Node: Normalizing60876 -Node: Sources65329 -Node: Triggering66662 -Node: Preparing Strings69692 -Node: Mark Keywords76570 -Node: Marking80125 -Node: c-format Flag87846 -Node: Special cases91757 -Node: Template94490 -Node: xgettext Invocation95211 -Node: Creating102263 -Node: msginit Invocation103144 -Node: Header Entry105010 -Node: Updating111416 -Node: msgmerge Invocation112171 -Node: Translated Entries116414 -Node: Fuzzy Entries117768 -Node: Untranslated Entries120937 -Node: Obsolete Entries122857 -Node: Modifying Translations126070 -Node: Modifying Comments134027 -Node: Subedit138440 -Node: C Sources Context142322 -Node: Auxiliary147432 -Node: Compendium150657 -Node: Creating Compendia151267 -Node: Using Compendia153706 -Node: Manipulating154594 -Node: msgcat Invocation158356 -Node: msgconv Invocation161831 -Node: msggrep Invocation164237 -Node: msgfilter Invocation168164 -Node: msguniq Invocation172258 -Node: msgcomm Invocation175374 -Node: msgcmp Invocation178644 -Node: msgattrib Invocation179874 -Node: msgen Invocation183686 -Node: msgexec Invocation186282 -Node: libgettextpo188354 -Node: Binaries193469 -Node: msgfmt Invocation193801 -Node: msgunfmt Invocation199533 -Node: MO Files202460 -Node: Users210551 -Node: Matrix212034 -Node: Installers213238 -Node: End Users214408 -Node: Programmers215057 -Node: catgets216230 -Node: Interface to catgets217633 -Node: Problems with catgets219637 -Node: gettext220538 -Node: Interface to gettext221996 -Node: Ambiguities224335 -Node: Locating Catalogs227028 -Ref: Locating Catalogs-Footnote-1228175 -Ref: Locating Catalogs-Footnote-2228400 -Node: Charset conversion228549 -Node: Plural forms230991 -Ref: Plural forms-Footnote-1241584 -Node: GUI program problems241676 -Node: Optimized gettext246780 -Node: Comparison248113 -Node: Using libintl.a252383 -Node: gettext grok252816 -Node: Temp Programmers255365 -Node: Temp Implementations255805 -Node: Temp catgets257171 -Node: Temp WSI258858 -Node: Temp Notes260846 -Node: Translators261335 -Node: Trans Intro 0261714 -Node: Trans Intro 1264363 -Node: Discussions266227 -Node: Organization269726 -Node: Central Coordination271707 -Node: National Teams272835 -Node: Sub-Cultures275347 -Node: Organizational Ideas276266 -Node: Mailing Lists277269 -Node: Information Flow279072 -Node: Maintainers281205 -Node: Flat and Non-Flat283102 -Node: Prerequisites284585 -Node: gettextize Invocation288726 -Node: Adjusting Files295429 -Node: po/POTFILES.in297156 -Node: po/LINGUAS298401 -Node: po/Makevars299183 -Node: configure.in300769 -Node: config.guess302871 -Node: mkinstalldirs303987 -Node: aclocal304748 -Node: acconfig306386 -Node: config.h.in306872 -Node: Makefile308029 -Node: src/Makefile310610 -Node: lib/gettext.h313625 -Node: autoconf macros315850 -Node: AM_GNU_GETTEXT316420 -Node: AM_GNU_GETTEXT_VERSION319881 -Node: AM_ICONV320311 -Node: CVS Issues322505 -Node: Distributed CVS323059 -Node: Files under CVS324973 -Node: autopoint Invocation327529 -Node: Programming Languages329327 -Node: Language Implementors330148 -Node: Programmers for other Languages334974 -Node: Translators for other Languages335540 -Node: c-format336628 -Node: python-format337139 -Node: lisp-format337565 -Node: elisp-format337880 -Node: librep-format338359 -Node: smalltalk-format338751 -Node: java-format339240 -Node: awk-format339672 -Node: object-pascal-format339982 -Node: ycp-format340198 -Node: tcl-format340584 -Node: php-format340865 -Node: Maintainers for other Languages341188 -Node: List of Programming Languages342415 -Node: C343538 -Node: sh344603 -Node: bash345229 -Node: Python345914 -Node: Common Lisp346976 -Node: clisp C347690 -Node: Emacs Lisp348412 -Node: librep349118 -Node: Smalltalk349769 -Node: Java350711 -Node: gawk353381 -Node: Pascal354208 -Node: wxWindows355424 -Node: YCP356158 -Node: Tcl356817 -Node: Perl358120 -Node: PHP358738 -Node: Pike359518 -Node: List of Data Formats360144 -Node: POT360603 -Node: RST360847 -Node: Glade361059 -Node: Conclusion361337 -Node: History361837 -Node: References365939 -Node: Language Codes367494 -Node: Country Codes371433 -Node: Program Index377153 -Node: Option Index378517 -Node: Variable Index405236 -Node: PO Mode Index406338 -Node: Autoconf Macro Index415696 -Node: Index416019 +Node: Introduction13187 +Node: Why15045 +Ref: Why-Footnote-118152 +Node: Concepts18308 +Node: Aspects21721 +Node: Files27559 +Node: Overview29460 +Node: Basics40252 +Node: Installation41082 +Node: PO Files43024 +Ref: PO Files-Footnote-151737 +Node: Main PO Commands51864 +Node: Entry Positioning56934 +Node: Normalizing62388 +Node: Sources66841 +Node: Triggering68243 +Node: Preparing Strings71302 +Node: Mark Keywords78199 +Node: Marking81754 +Node: c-format Flag89475 +Node: Special cases93386 +Node: Names96133 +Node: Template99711 +Node: xgettext Invocation100432 +Node: Creating108651 +Node: msginit Invocation109532 +Node: Header Entry111772 +Node: Updating118784 +Node: msgmerge Invocation119539 +Node: Translated Entries124157 +Node: Fuzzy Entries125511 +Node: Untranslated Entries128680 +Node: Obsolete Entries130600 +Node: Modifying Translations133813 +Node: Modifying Comments141770 +Node: Subedit146183 +Node: C Sources Context150065 +Node: Auxiliary155175 +Node: Compendium158400 +Node: Creating Compendia159010 +Node: Using Compendia161449 +Node: Manipulating162337 +Node: msgcat Invocation166099 +Node: msgconv Invocation169949 +Node: msggrep Invocation172729 +Node: msgfilter Invocation177101 +Node: msguniq Invocation181572 +Node: msgcomm Invocation185062 +Node: msgcmp Invocation188707 +Node: msgattrib Invocation190112 +Node: msgen Invocation194298 +Node: msgexec Invocation197247 +Node: libgettextpo199493 +Node: Binaries204609 +Node: msgfmt Invocation204941 +Node: msgunfmt Invocation210848 +Node: MO Files213975 +Node: Users222066 +Node: Matrix223549 +Node: Installers224753 +Node: End Users225923 +Node: Programmers226572 +Node: catgets227745 +Node: Interface to catgets229148 +Node: Problems with catgets231152 +Node: gettext232053 +Node: Interface to gettext233511 +Node: Ambiguities235850 +Node: Locating Catalogs238543 +Ref: Locating Catalogs-Footnote-1239690 +Ref: Locating Catalogs-Footnote-2239915 +Node: Charset conversion240064 +Node: Plural forms242507 +Ref: Plural forms-Footnote-1253109 +Node: GUI program problems253201 +Node: Optimized gettext258305 +Node: Comparison259638 +Node: Using libintl.a263908 +Node: gettext grok264341 +Node: Temp Programmers266891 +Node: Temp Implementations267331 +Node: Temp catgets268697 +Node: Temp WSI270384 +Node: Temp Notes272372 +Node: Translators272861 +Node: Trans Intro 0273318 +Node: Trans Intro 1275967 +Node: Discussions277831 +Node: Organization281401 +Node: Central Coordination283382 +Node: National Teams284510 +Node: Sub-Cultures287023 +Node: Organizational Ideas287942 +Node: Mailing Lists288945 +Node: Information Flow290748 +Node: Prioritizing messages292911 +Node: Maintainers297175 +Node: Flat and Non-Flat299072 +Node: Prerequisites300555 +Node: gettextize Invocation304696 +Node: Adjusting Files311402 +Node: po/POTFILES.in313129 +Node: po/LINGUAS314374 +Node: po/Makevars316052 +Node: configure.in317646 +Node: config.guess319748 +Node: mkinstalldirs320864 +Node: aclocal321625 +Node: acconfig323263 +Node: config.h.in323749 +Node: Makefile324906 +Node: src/Makefile327487 +Node: lib/gettext.h330503 +Node: autoconf macros332736 +Node: AM_GNU_GETTEXT333363 +Node: AM_GNU_GETTEXT_VERSION336946 +Node: AM_PO_SUBDIRS337381 +Node: AM_ICONV338148 +Node: CVS Issues340344 +Node: Distributed CVS340898 +Node: Files under CVS342812 +Node: autopoint Invocation345368 +Node: Programming Languages347166 +Node: Language Implementors347987 +Node: Programmers for other Languages352813 +Node: Translators for other Languages353379 +Node: c-format354467 +Node: python-format354978 +Node: lisp-format355404 +Node: elisp-format355719 +Node: librep-format356198 +Node: smalltalk-format356590 +Node: java-format357079 +Node: awk-format357511 +Node: object-pascal-format357821 +Node: ycp-format358037 +Node: tcl-format358423 +Node: php-format358704 +Node: Maintainers for other Languages359027 +Node: List of Programming Languages360255 +Node: C361378 +Node: sh362447 +Node: bash363073 +Node: Python363758 +Node: Common Lisp364880 +Node: clisp C365594 +Node: Emacs Lisp366320 +Node: librep367032 +Node: Smalltalk367683 +Node: Java368625 +Node: gawk372159 +Node: Pascal372986 +Node: wxWindows374205 +Node: YCP374939 +Node: Tcl375598 +Node: Perl376903 +Node: PHP377521 +Node: Pike378301 +Node: List of Data Formats378927 +Node: POT379386 +Node: RST379630 +Node: Glade379842 +Node: Conclusion380120 +Node: History380620 +Node: References384722 +Node: Language Codes386277 +Node: Country Codes390216 +Node: Program Index395936 +Node: Option Index397300 +Node: Variable Index427199 +Node: PO Mode Index428374 +Node: Autoconf Macro Index437732 +Node: Index438111  End Tag Table diff --git a/gettext-tools/doc/gettext.info-1 b/gettext-tools/doc/gettext.info-1 index 8c37a3a47..5867fe943 100644 --- a/gettext-tools/doc/gettext.info-1 +++ b/gettext-tools/doc/gettext.info-1 @@ -50,8 +50,8 @@ File: gettext.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir) GNU `gettext' utilities *********************** - This manual document the GNU gettext tools and the GNU libintl -library, version 0.12-pre1. + This manual documents the GNU gettext tools and the GNU libintl +library, version 0.12-pre4. * Menu: @@ -106,6 +106,7 @@ Preparing Program Sources * Marking:: Marking Translatable Strings * c-format Flag:: Telling something about the following string * Special cases:: Special Cases of Translatable Strings +* Names:: Marking Proper Names for Translation Making the PO Template File @@ -199,6 +200,7 @@ The Translator's View * Discussions:: Discussions * Organization:: Organization * Information Flow:: Information Flow +* Prioritizing messages:: How to find which messages to translate first Organization @@ -239,6 +241,7 @@ Autoconf macros for use in `configure.in' * AM_GNU_GETTEXT:: AM_GNU_GETTEXT in `gettext.m4' * AM_GNU_GETTEXT_VERSION:: AM_GNU_GETTEXT_VERSION in `gettext.m4' +* AM_PO_SUBDIRS:: AM_PO_SUBDIRS in `po.m4' * AM_ICONV:: AM_ICONV in `iconv.m4' Integrating with CVS @@ -975,9 +978,60 @@ forms of flags defined: again as soon as the `xgettext' program generates a new template file. + The `c-format' flag tells that the untranslated string and the + translation are supposed to be C format strings. The `no-c-format' + flag tells that they are not C format strings, even though the + untranslated string happens to look like a C format string (with + `%' directives). + In case the `c-format' flag is given for a string the `msgfmt' does some more tests to check to validity of the translation. - *Note msgfmt Invocation::. + *Note msgfmt Invocation::, *Note c-format Flag:: and *Note + c-format::. + +`python-format' +`no-python-format' + Likewise for Python, see *Note python-format::. + +`lisp-format' +`no-lisp-format' + Likewise for Lisp, see *Note lisp-format::. + +`elisp-format' +`no-elisp-format' + Likewise for Emacs Lisp, see *Note elisp-format::. + +`librep-format' +`no-librep-format' + Likewise for librep, see *Note librep-format::. + +`smalltalk-format' +`no-smalltalk-format' + Likewise for Smalltalk, see *Note smalltalk-format::. + +`java-format' +`no-java-format' + Likewise for Java, see *Note java-format::. + +`awk-format' +`no-awk-format' + Likewise for awk, see *Note awk-format::. + +`object-pascal-format' +`no-object-pascal-format' + Likewise for Object Pascal, see *Note object-pascal-format::. + +`ycp-format' +`no-ycp-format' + Likewise for YCP, see *Note ycp-format::. + +`tcl-format' +`no-tcl-format' + Likewise for Tcl, see *Note tcl-format::. + +`php-format' +`no-php-format' + Likewise for PHP, see *Note php-format::. A different kind of entries is used for translations which involve plural forms. diff --git a/gettext-tools/doc/gettext.info-10 b/gettext-tools/doc/gettext.info-10 index 81e3ac541..74327ff13 100644 --- a/gettext-tools/doc/gettext.info-10 +++ b/gettext-tools/doc/gettext.info-10 @@ -71,6 +71,7 @@ General Index * auxiliary PO file: Auxiliary. * available translations: Matrix. * awk: gawk. +* awk-format flag: PO Files. * backup old file, and msgmerge program: msgmerge Invocation. * bash: bash. * bibliography: References. @@ -124,6 +125,7 @@ General Index * duplicate removal: msguniq Invocation. * editing comments in PO files: Modifying Comments. * editing translations: Modifying Translations. +* elisp-format flag: PO Files. * Emacs Lisp: Emacs Lisp. * encoding: Aspects. * encoding conversion: Manipulating. @@ -179,6 +181,7 @@ General Index * Java mode, and msgfmt program: msgfmt Invocation. * Java mode, and msgunfmt program: msgunfmt Invocation. * Java, string concatenation: Preparing Strings. +* java-format flag: PO Files. * keyboard accelerator checking: msgfmt Invocation. * l10n: Concepts. * language codes: Language Codes. @@ -189,12 +192,14 @@ General Index * libintl for Java: Java. * libintl library: AM_GNU_GETTEXT. * librep Lisp: librep. +* librep-format flag: PO Files. * LINGUAS file: po/LINGUAS. * link with libintl: Overview. * Linux <1>: Header Entry. * Linux <2>: Overview. * Linux: Aspects. * Lisp: Common Lisp. +* lisp-format flag: PO Files. * list of translation teams, where to find: Header Entry. * locale facet, LC_ALL: Triggering. * locale facet, LC_COLLATE: Triggering. @@ -255,11 +260,23 @@ General Index * newlines in PO files: PO Files. * ngettext: Plural forms. * NLS: Concepts. +* no-awk-format flag: PO Files. * no-c-format flag: PO Files. * no-c-format, and xgettext: c-format Flag. +* no-elisp-format flag: PO Files. +* no-java-format flag: PO Files. +* no-librep-format flag: PO Files. +* no-lisp-format flag: PO Files. +* no-object-pascal-format flag: PO Files. +* no-php-format flag: PO Files. +* no-python-format flag: PO Files. +* no-smalltalk-format flag: PO Files. +* no-tcl-format flag: PO Files. +* no-ycp-format flag: PO Files. * nplurals, in a PO file header: Plural forms. * number format: Aspects. * Object Pascal: Pascal. +* object-pascal-format flag: PO Files. * obsolete entries: Obsolete Entries. * optimization of gettext functions: Optimized gettext. * orthography: Manipulating. @@ -272,6 +289,7 @@ General Index * Pascal: Pascal. * Perl: Perl. * PHP: PHP. +* php-format flag: PO Files. * Pike: Pike. * plural form formulas: Plural forms. * plural forms: Plural forms. @@ -297,6 +315,7 @@ General Index * problems with catgets interface: Problems with catgets. * programming languages: Language Implementors. * Python: Python. +* python-format flag: PO Files. * quotation marks <1>: po/Makevars. * quotation marks: Header Entry. * quote characters, use in PO files: Header Entry. @@ -314,6 +333,7 @@ General Index * she, he, and they: Introduction. * shell scripts: sh. * Smalltalk: Smalltalk. +* smalltalk-format flag: PO Files. * sorting msgcat output: msgcat Invocation. * sorting msgmerge output: msgmerge Invocation. * sorting msgunfmt output: msgunfmt Invocation. @@ -328,6 +348,7 @@ General Index * Tcl: Tcl. * Tcl mode, and msgfmt program: msgfmt Invocation. * Tcl mode, and msgunfmt program: msgunfmt Invocation. +* tcl-format flag: PO Files. * template PO file: Overview. * testing .po files for equivalence: xgettext Invocation. * Tk's scripting language: Tcl. @@ -349,5 +370,6 @@ General Index * xmodmap program, and typing quotation marks: Header Entry. * YaST2 scripting language: YCP. * YCP: YCP. +* ycp-format flag: PO Files. diff --git a/gettext-tools/doc/gettext.info-2 b/gettext-tools/doc/gettext.info-2 index 898137f3f..749c9ca97 100644 --- a/gettext-tools/doc/gettext.info-2 +++ b/gettext-tools/doc/gettext.info-2 @@ -393,6 +393,7 @@ sections of this chapter. * Marking:: Marking Translatable Strings * c-format Flag:: Telling something about the following string * Special cases:: Special Cases of Translatable Strings +* Names:: Marking Proper Names for Translation  File: gettext.info, Node: Triggering, Next: Preparing Strings, Prev: Sources, Up: Sources @@ -449,9 +450,10 @@ code above by a sequence of `setlocale' lines } On all POSIX conformant systems the locale categories `LC_CTYPE', -`LC_COLLATE', `LC_MONETARY', `LC_NUMERIC', and `LC_TIME' are available. -On some modern systems there is also a locale `LC_MESSAGES' which is -called on some old, XPG2 compliant systems `LC_RESPONSES'. +`LC_MESSAGES', `LC_COLLATE', `LC_MONETARY', `LC_NUMERIC', and `LC_TIME' +are available. On some systems which are only ISO C compliant, +`LC_MESSAGES' is missing, but a substitute for it is defined in GNU +gettext's `'. Note that changing the `LC_CTYPE' also affects the functions declared in the `' standard header. If this is not desirable @@ -474,9 +476,9 @@ Preparing Translatable Strings ============================== Before strings can be marked for translations, they sometimes need to -be adjusted. Usually preparing a string for translation is done right +be adjusted. Usually preparing a string for translation is done right before marking it, during the marking phase which is described in the -next sections. What you have to keep in mind while doing that is the +next sections. What you have to keep in mind while doing that is the following. * Decent English style. @@ -489,7 +491,7 @@ following. Let's look at some examples of these guidelines. - Translatable strings should be in good English style. If slang + Translatable strings should be in good English style. If slang language with abbreviations and shortcuts is used, often translators will not understand the message and will produce very inappropriate translations. @@ -509,25 +511,25 @@ of the objects"? In both cases, adding more words to the message will help both the translator and the English speaking user. - Translatable strings should be entire sentences. It is often not + Translatable strings should be entire sentences. It is often not possible to translate single verbs or adjectives in a substitutable way. printf ("File %s is %s protected", filename, rw ? "write" : "read"); Most translators will not look at the source and will thus only see the -string `"File %s is %s protected"', which is unintelligible. Change +string `"File %s is %s protected"', which is unintelligible. Change this to printf (rw ? "File %s is write protected" : "File %s is read protected", filename); This way the translator will not only understand the message, she will -also be able to find the appropriate grammatical construction. The +also be able to find the appropriate grammatical construction. The French translator for example translates "write protected" like "protected against writing". - Often sentences don't fit into a single line. If a sentence is output -using two subsequent `printf' statements, like this + Often sentences don't fit into a single line. If a sentence is +output using two subsequent `printf' statements, like this printf ("Locale charset \"%s\" is different from\n", lcharset); printf ("input file charset \"%s\".\n", fcharset); @@ -550,26 +552,27 @@ this case: Should these two statements merged into a single one? I would recommend to merge them if the two sentences are related to each other, because then it makes it easier for the translator to understand and translate -both. On the other hand, if one of the two messages is a stereotypic +both. On the other hand, if one of the two messages is a stereotypic one, occurring in other places as well, you will do a favour to the -translator by not merging the two. (Identical messages occurring in +translator by not merging the two. (Identical messages occurring in several places are combined by xgettext, so the translator has to handle them once only.) Translatable strings should be limited to one paragraph; don't let a -single message be longer than ten lines. The reason is that when the +single message be longer than ten lines. The reason is that when the translatable string changes, the translator is faced with the task of -updating the entire translated string. Maybe only a single word will +updating the entire translated string. Maybe only a single word will have changed in the English string, but the translator doesn't see that (with the current translation tools), therefore she has to proofread the entire message. Many GNU programs have a `--help' output that extends over several -screen pages. It is a courtesy towards the translators to split such a -message into several ones of five to ten lines each. While doing that, +screen pages. It is a courtesy towards the translators to split such a +message into several ones of five to ten lines each. While doing that, you can also attempt to split the documented options into groups, such as the input options, the output options, and the informative output -options. This will help every user to find the option he is looking for. +options. This will help every user to find the option he is looking +for. Hardcoded string concatenation is sometimes used to construct English strings: @@ -587,12 +590,12 @@ format string: sprintf (s, "Replace %s with %s?", object1, object2); - A similar case is compile time concatenation of strings. The ISO C 99 -include file `' contains a macro `PRId64' that can be used -as a formatting directive for outputting an `int64_t' integer through -`printf'. It expands to a constant string, usually "d" or "ld" or "lld" -or something like this, depending on the platform. Assume you have -code like + A similar case is compile time concatenation of strings. The ISO C +99 include file `' contains a macro `PRId64' that can be +used as a formatting directive for outputting an `int64_t' integer +through `printf'. It expands to a constant string, usually "d" or "ld" +or "lld" or something like this, depending on the platform. Assume you +have code like printf ("The amount is %0" PRId64 "\n", number); @@ -616,15 +619,16 @@ code like this: printf (gettext ("The amount is %s\n"), buf1); This means, you put the platform dependent code in one statement, -and the internationalization code in a different statement. Note that a -buffer length of 100 is safe, because all available hardware integer +and the internationalization code in a different statement. Note that +a buffer length of 100 is safe, because all available hardware integer types are limited to 128 bits, and to print a 128 bit integer one needs at most 54 characters, regardless whether in decimal, octal or hexadecimal. - All this applies to other programming languages as well. For + All this applies to other programming languages as well. For example, in Java, string contenation is very frequently used, because -it is a compiler built-in operator. Like in C, in Java, you would change +it is a compiler built-in operator. Like in C, in Java, you would +change System.out.println("Replace "+object1+" with "+object2+"?"); @@ -926,7 +930,7 @@ xgettext Invocation:: to see how the `--debug' option can be used for solving this problem.  -File: gettext.info, Node: Special cases, Prev: c-format Flag, Up: Sources +File: gettext.info, Node: Special cases, Next: Names, Prev: c-format Flag, Up: Sources Special Cases of Translatable Strings ===================================== @@ -1008,6 +1012,74 @@ sure the output is really translated in any case. But this analysis is generally not very difficult. If it should be in any situation you can use this second method in this situation. + +File: gettext.info, Node: Names, Prev: Special cases, Up: Sources + +Marking Proper Names for Translation +==================================== + + Should names of persons, cities, locations etc. be marked for +translation or not? People who only know languages that can be written +with Latin letters (English, Spanish, French, German, etc.) are tempted +to say "no", because names usually do not change when transported +between these languages. However, in general when translating from one +script to another, names are translated too, usually phonetically or by +transliteration. For example, Russian or Greek names are converted to +the Latin alphabet when being translated to English, and English or +French names are converted to the Katakana script when being translated +to Japanese. This is necessary because the speakers of the target +language in general cannot read the script the name is originally +written in. + + As a programmer, you should therefore make sure that names are marked +for translation, with a special comment telling the translators that it +is a proper name and how to pronounce it. Like this: + + printf (_("Written by %s.\n"), + /* TRANSLATORS: This is a proper name. See the gettext + manual, section Names. Note this is actually a non-ASCII + name: The first name is (with Unicode escapes) + "Fran\u00e7ois" or (with HTML entities) "François". + Pronounciation is like "fraa-swa pee-nar". */ + _("Francois Pinard")); + + As a translator, you should use some care when translating names, +because it is frustrating if people see their names mutilated or +distorted. If your language uses the Latin script, all you need to do +is to reproduce the name as perfectly as you can within the usual +character set of your language. In this particular case, this means to +provide a translation containing the c-cedilla character. If your +language uses a different script and the people speaking it don't +usually read Latin words, it means transliteration; but you should +still give, in parentheses, the original writing of the name - for the +sake of the people that do read the Latin script. Here is an example, +using Greek as the target script: + + #. This is a proper name. See the gettext + #. manual, section Names. Note this is actually a non-ASCII + #. name: The first name is (with Unicode escapes) + #. "Fran\u00e7ois" or (with HTML entities) "François". + #. Pronounciation is like "fraa-swa pee-nar". + msgid "Francois Pinard" + msgstr "\phi\rho\alpha\sigma\omicron\alpha \pi\iota\nu\alpha\rho" + " (Francois Pinard)" + + Because translation of names is such a sensitive domain, it is a good +idea to test your translation before submitting it. + + The translation project +has set up a POT file and translation domain consisting of program +author names, with better facilities for the translator than those +presented here. Namely, there the original name is written directly in +Unicode (rather than with Unicode escapes or HTML entities), and the +pronounciation is denoted using the International Phonetic Alphabet (see +). + + However, we don't recommend this approach for all POT files in all +packages, because this would force translators to use PO files in UTF-8 +encoding, which is - in the current state of software (as of 2003) - a +major hassle for translators using GNU Emacs or XEmacs with po-mode. +  File: gettext.info, Node: Template, Next: Creating, Prev: Sources, Up: Top diff --git a/gettext-tools/doc/gettext.info-3 b/gettext-tools/doc/gettext.info-3 index b66b38a77..b4a931a73 100644 --- a/gettext-tools/doc/gettext.info-3 +++ b/gettext-tools/doc/gettext.info-3 @@ -100,8 +100,8 @@ Choice of input file language `--language=NAME' Specifies the language of the input files. The supported languages are `C', `C++', `ObjectiveC', `PO', `Python', `Lisp', `EmacsLisp', - `librep', `Smalltalk', `Java', `awk', `YCP', `Tcl', `PHP', `RST', - `Glade'. + `librep', `Smalltalk', `Java', `JavaProperties', `awk', `YCP', + `Tcl', `PHP', `RST', `Glade'. `-C' `--c++' @@ -204,6 +204,11 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -255,6 +260,33 @@ Output details the GNU project that want their translations to be in the public domain. +`--msgid-bugs-address=EMAIL@ADDRESS' + Set the reporting address for msgid bugs. This is the email + address or URL to which the translators shall report bugs in the + untranslated strings: + + - Strings which are not entire sentences, see the maintainer + guidelines in *Note Preparing Strings::. + + - Strings which use unclear terms or require additional context + to be understood. + + - Strings which make invalid assumptions about notation of + date, time or money. + + - Pluralisation problems. + + - Incorrect English spelling. + + - Incorrect formatting. + + It can be your email address, or a mailing list address where + translators can write to without being subscribed, or the URL of a + web page through which the translators can contact you. + + The default value is empty, which means that translators will be + clueless! Don't forget to specify this option. + `-m [STRING]' `--msgstr-prefix[=STRING]' Use STRING (or "" if not specified) as prefix for msgstr entries. @@ -334,6 +366,14 @@ Output file location the user's locale setting. If it is `-', the results are written to standard output. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -348,6 +388,12 @@ Output details Declares that the PO file will not have a human translator and is instead automatically generated. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -391,11 +437,31 @@ entry. You should fill in the following fields. Project-Id-Version This is the name and version of the package. +Report-Msgid-Bugs-To + This has already been filled in by `xgettext'. It contains an + email address or URL where you can report bugs in the untranslated + strings: + + - Strings which are not entire sentences, see the maintainer + guidelines in *Note Preparing Strings::. + + - Strings which use unclear terms or require additional context + to be understood. + + - Strings which make invalid assumptions about notation of + date, time or money. + + - Pluralisation problems. + + - Incorrect English spelling. + + - Incorrect formatting. + POT-Creation-Date This has already been filled in by `xgettext'. PO-Revision-Date - You don't need to fill this in. It will be filled by the Emacs PO + You don't need to fill this in. It will be filled by the Emacs PO mode when you save the file. Last-Translator @@ -433,7 +499,7 @@ Content-Type Because the PO files must be portable to operating systems with less advanced internationalization facilities, the character encodings that can be used are limited to those supported by both - GNU `libc' and GNU `libiconv'. These are: `ASCII', `ISO-8859-1', + GNU `libc' and GNU `libiconv'. These are: `ASCII', `ISO-8859-1', `ISO-8859-2', `ISO-8859-3', `ISO-8859-4', `ISO-8859-5', `ISO-8859-6', `ISO-8859-7', `ISO-8859-8', `ISO-8859-9', `ISO-8859-13', `ISO-8859-14', `ISO-8859-15', `KOI8-R', `KOI8-U', @@ -654,6 +720,14 @@ Operation modifiers Do not use fuzzy matching when an exact match is not found. This may speed up the operation considerably. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input files are Java ResourceBundles in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -675,6 +749,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will diff --git a/gettext-tools/doc/gettext.info-4 b/gettext-tools/doc/gettext.info-4 index 31282a4d3..e7b79648d 100644 --- a/gettext-tools/doc/gettext.info-4 +++ b/gettext-tools/doc/gettext.info-4 @@ -478,6 +478,14 @@ Message selection Shorthand for `--less-than=2'. Requests that only unique messages be printed. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input files are Java ResourceBundles in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -508,6 +516,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -585,6 +599,14 @@ Conversion target The default encoding is the current locale's encoding. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -606,6 +628,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -720,6 +748,10 @@ regular expressions if -E is given, or fixed strings if -F is given. `--msgstr' Start of patterns for the msgstr. +`-C' +`--comment' + Start of patterns for the translator's comment. + `-E' `--extended-regexp' Specify that PATTERN is an extended regular expression. @@ -740,6 +772,14 @@ regular expressions if -E is given, or fixed strings if -F is given. `--ignore-case' Ignore case distinctions. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -760,6 +800,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -845,11 +891,11 @@ you can first convert the translation catalog to UTF-8 using the using the `LC_ALL' environment variable. Note: Most translations in a translation catalog don't end with a -newline character. For this reason, it is important that the FILTER +newline character. For this reason, it is important that the FILTER recognizes its last input line even if it ends without a newline, and -that it doesn't add an undesired trailing newline at the end. The `sed' +that it doesn't add an undesired trailing newline at the end. The `sed' program on some platforms is known to ignore the last line of input if -it is not terminated with a newline. You can use GNU `sed' instead; it +it is not terminated with a newline. You can use GNU `sed' instead; it does not have this limitation. Useful FILTER-OPTIONs when the FILTER is `sed' @@ -868,6 +914,14 @@ Useful FILTER-OPTIONs when the FILTER is `sed' `--silent' Suppress automatic printing of pattern space. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -893,6 +947,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -979,6 +1039,14 @@ Message selection `--unique' Print only unique messages, discard duplicates. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -1009,6 +1077,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -1106,6 +1180,14 @@ Message selection Shorthand for `--less-than=2'. Requests that only unique messages be printed. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input files are Java ResourceBundles in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -1128,6 +1210,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -1201,6 +1289,14 @@ Operation modifiers `--multi-domain' Apply REF.pot to each of the domains in DEF.po. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input files are Java ResourceBundles in Java + `.properties' syntax, not in PO file syntax. + Informative output ------------------ @@ -1304,6 +1400,14 @@ that are listed in the ONLY-FILE and not listed in the IGNORE-FILE. Synonym for `--only-obsolete --clear-obsolete': It keeps only the obsolete messages and makes them non-obsolete. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -1326,6 +1430,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -1370,10 +1480,10 @@ Invoking the `msgen' Program The `msgen' program creates an English translation catalog. The input file is the last created English PO file, or a PO Template file (generally created by xgettext). Untranslated entries are assigned a -translation that is identical to the msgid, and are marked fuzzy. +translation that is identical to the msgid. Note: `msginit --no-translator --locale=en' performs a very similar -task. The main difference is that `msginit' cares specially about the +task. The main difference is that `msginit' cares specially about the header entry, whereas `msgen' doesn't. Input file location @@ -1400,6 +1510,14 @@ Output file location The results are written to standard output if no output file is specified or if it is `-'. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Output details -------------- @@ -1421,6 +1539,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -1502,6 +1626,14 @@ Input file location If no INPUTFILE is given or if it is `-', standard input is read. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input file is a Java ResourceBundle in Java + `.properties' syntax, not in PO file syntax. + Informative output ------------------ diff --git a/gettext-tools/doc/gettext.info-5 b/gettext-tools/doc/gettext.info-5 index 27df251df..25940d34b 100644 --- a/gettext-tools/doc/gettext.info-5 +++ b/gettext-tools/doc/gettext.info-5 @@ -55,7 +55,7 @@ is not sufficient, a set of C functions is provided in a library, to make it possible to process PO files in your own programs. When you use this library, you don't need to write routines to parse the PO file; instead, you retreive a pointer in memory to each of messages -contained in the PO file. Functions for writing PO files are not +contained in the PO file. Functions for writing PO files are not provided at this time. The functions are declared in the header file `', and @@ -271,6 +271,14 @@ Output file location in Tcl mode The `-l' and `-d' options are mandatory. The `.msg' file is written in the specified directory. +Input file syntax +----------------- + +`-P' +`--properties-input' + Assume the input files are Java ResourceBundles in Java + `.properties' syntax, not in PO file syntax. + Input file interpretation ------------------------- @@ -449,6 +457,12 @@ Output details Uniforum format should be avoided because it doesn't support the GNU extensions. +`-p' +`--properties-output' + Write out a Java ResourceBundle in Java `.properties' syntax. Note + that this file format doesn't support plural forms and silently + drops obsolete messages. + `-w NUMBER' `--width=NUMBER' Set the output page width. Long strings in the output files will @@ -1052,7 +1066,7 @@ MSGIDs be US-ASCII strings. If the CODESET parameter is the null pointer, `bind_textdomain_codeset' returns the currently selected codeset - for the domain with the name DOMAINNAME. It returns `NULL' if no + for the domain with the name DOMAINNAME. It returns `NULL' if no codeset has yet been selected. The `bind_textdomain_codeset' function can be used several times. diff --git a/gettext-tools/doc/gettext.info-6 b/gettext-tools/doc/gettext.info-6 index ea05cfe81..dda63a167 100644 --- a/gettext-tools/doc/gettext.info-6 +++ b/gettext-tools/doc/gettext.info-6 @@ -223,7 +223,7 @@ Two forms, singular used for one only Languages with this property include: Germanic family - Danish, Dutch, English, German, Norwegian, Swedish + Danish, Dutch, English, Faroese, German, Norwegian, Swedish Finno-Ugric family Estonian, Finnish @@ -645,7 +645,7 @@ is a list comments: } The variable `_nl_msg_cat_cntr' is defined in `loadmsgcat.c'. You - don't need to know what this is for. But it can be used to detect + don't need to know what this is for. But it can be used to detect whether a `gettext' implementation is GNU gettext and not non-GNU system's native gettext implementation. @@ -790,6 +790,7 @@ The Translator's View * Discussions:: Discussions * Organization:: Organization * Information Flow:: Information Flow +* Prioritizing messages:: How to find which messages to translate first  File: gettext.info, Node: Trans Intro 0, Next: Trans Intro 1, Prev: Translators, Up: Translators @@ -946,9 +947,10 @@ concerns. Some of these doubts are presented and discussed, here. not want to make their program free, or want other kinds of freedom. The simplest answer is "normally not". - The GNU `gettext' library, i.e. the contents of `libintl', is - covered by the GNU Library General Public License. The rest of - the GNU `gettext' package is covered by the GNU General Public + The `gettext-runtime' part of GNU `gettext', i.e. the contents of + `libintl', is covered by the GNU Library General Public License. + The `gettext-tools' part of GNU `gettext', i.e. the rest of the + GNU `gettext' package, is covered by the GNU General Public License. The mere marking of localizable strings in a package, or @@ -1075,7 +1077,7 @@ subscribed to all my pretest lists, so I do not even have to warn him specifically of incoming releases. I'm sure, that is a good idea to get teams for each language working -on translations. That will make the translations better and more +on translations. That will make the translations better and more consistent. * Menu: diff --git a/gettext-tools/doc/gettext.info-7 b/gettext-tools/doc/gettext.info-7 index c2115f332..9e121e0cc 100644 --- a/gettext-tools/doc/gettext.info-7 +++ b/gettext-tools/doc/gettext.info-7 @@ -45,7 +45,7 @@ versions, except that this permission notice may be stated in a translation approved by the Foundation.  -File: gettext.info, Node: Information Flow, Prev: Organization, Up: Translators +File: gettext.info, Node: Information Flow, Next: Prioritizing messages, Prev: Organization, Up: Translators Information Flow ================ @@ -85,6 +85,104 @@ I sent a proposal for a fast and flexible format, but it is not receiving acceptance yet by the GNU deciders. I'll tell you when I have more information about this. + +File: gettext.info, Node: Prioritizing messages, Prev: Information Flow, Up: Translators + +Prioritizing messages: How to determine which messages to translate first +========================================================================= + + A translator sometimes has only a limited amount of time per week to +spend on a package, and some packages have quite large message catalogs +(over 1000 messages). Therefore she wishes to translate the messages +first that are the most visible to the user, or that occur most +frequently. This section describes how to determine these "most +urgent" messages. It also applies to determine the "next most urgent" +messages after the message catalog has already been partially +translated. + + In a first step, she uses the programs like a user would do. While +she does this, the GNU `gettext' library logs into a file the not yet +translated messages for which a translation was requested from the +program. + + In a second step, she uses the PO mode to translate precisely this +set of messages. + + Here a more details. The GNU `libintl' library (but not the +corresponding functions in GNU `libc') supports an environment variable +`GETTEXT_LOG_UNTRANSLATED'. The GNU `libintl' library will log into +this file the messages for which `gettext()' and related functions +couldn't find the translation. If the file doesn't exist, it will be +created as needed. On systems with GNU `libc' a shared library +`preloadable_libintl.so' is provided that can be used with the ELF +`LD_PRELOAD' mechanism. + + So, in the first step, the translator uses these commands on systems +with GNU `libc': + + $ LD_PRELOAD=/usr/local/lib/preloadable_libintl.so + $ export LD_PRELOAD + $ GETTEXT_LOG_UNTRANSLATED=$HOME/gettextlogused + $ export GETTEXT_LOG_UNTRANSLATED + +and these commands on other systems: + + $ GETTEXT_LOG_UNTRANSLATED=$HOME/gettextlogused + $ export GETTEXT_LOG_UNTRANSLATED + + Then she uses and peruses the programs. (It is a good and +recommended practice to use the programs for which you provide +translations: it gives you the needed context.) When done, she removes +the environment variables: + + $ unset LD_PRELOAD + $ unset GETTEXT_LOG_UNTRANSLATED + + The second step starts with removing duplicates: + + $ msguniq $HOME/gettextlogused > missing.po + + The result is a PO file, but needs some preprocessing before the +Emacs PO mode can be used with it. First, it is a multi-domain PO +file, containing messages from many translation domains. Second, it +lacks all translator comments and source references. Here is how to +get a list of the affected translation domains: + + $ sed -n -e 's,^domain "\(.*\)"$,\1,p' < missing.po | sort | uniq + + Then the translator can handle the domains one by one. For +simplicity, let's use environment variables to denote the language, +domain and source package. + + $ lang=nl # your language + $ domain=coreutils # the name of the domain to be handled + $ package=/usr/src/gnu/coreutils-4.5.4 # the package where it comes from + + She takes the latest copy of `$lang.po' from the Translation Project, +or from the package (in most cases, `$package/po/$lang.po'), or creates +a fresh one if she's the first translator (see *Note Creating::). She +then uses the following commands to mark the not urgent messages as +"obsolete". (This doesn't mean that these messages - translated and +untranslated ones - will go away. It simply means that Emacs PO mode +will ignore them in the following editing session.) + + $ msggrep --domain=$domain missing.po | grep -v '^domain' \ + > $domain-missing.po + $ msgattrib --set-obsolete --ignore-file $domain-missing.po $domain.$lang.po \ + > $domain.$lang-urgent.po + + The she translates `$domain.$lang-urgent.po' by use of Emacs PO mode. +(FIXME: I don't know whether `KBabel' and `gtranslator' also preserve +obsolete messages, as they should.) Finally she restores the not +urgent messages (with their earlier translations, for those which were +already translated) through this command: + + $ msgmerge --no-fuzzy-matching $domain.$lang-urgent.po $package/po/$domain.pot \ + > $domain.$lang.po + + Then she can submit `$domain.$lang.po' and proceed to the next +domain. +  File: gettext.info, Node: Maintainers, Next: Programming Languages, Prev: Translators, Up: Top @@ -285,7 +383,7 @@ and accepts the following options: `--intl' Install the libintl sources in a subdirectory named `intl/'. This libintl will be used to provide internationalization on systems - that don't have GNU libintl installed. If this option is omitted, + that don't have GNU libintl installed. If this option is omitted, the call to `AM_GNU_GETTEXT' in `configure.in' should read: `AM_GNU_GETTEXT([external])', and internationalization will not be enabled on systems lacking GNU gettext. @@ -327,7 +425,7 @@ specified. 2. A `po/' directory is created for eventually holding all translation files, but initially only containing the file `po/Makefile.in.in' from the GNU `gettext' distribution (beware - the double `.in' in the file name) and a few auxiliary files. If + the double `.in' in the file name) and a few auxiliary files. If the `po/' directory already exists, it will be preserved along with the files it contains, and only `Makefile.in.in' and the auxiliary files will be overwritten. @@ -339,7 +437,7 @@ specified. first. 4. The files `config.rpath' and `mkinstalldirs' are copied into the - directory containing configuration support files. It is needed by + directory containing configuration support files. It is needed by the `AM_GNU_GETTEXT' autoconf macro. 5. Only if the project is using GNU `automake': A set of `autoconf' @@ -399,7 +497,7 @@ each. So, here comes a list of files, each one followed by a description of all alterations it needs. Many examples are taken out from the GNU -`gettext' 0.12-pre1 distribution itself, or from the GNU `hello' +`gettext' 0.12-pre4 distribution itself, or from the GNU `hello' distribution (`http://www.franken.de/users/gnu/ke/hello' or `http://www.gnu.franken.de/ke/hello/') You may indeed refer to the source code of the GNU `gettext' and GNU `hello' packages, as they are @@ -474,6 +572,22 @@ want to further restrict, at installation time, the set of installed languages, this should not be done by modifying the `LINGUAS' file, but rather by using the `LINGUAS' environment variable (*note Installers::). + It is recommended that you add the "languages" `en@quot' and +`en@boldquot' to the `LINGUAS' file. `en@quot' is a variant of English +message catalogs (`en') which uses real quotation marks instead of the +ugly looking asymmetric ASCII substitutes ``' and `''. `en@boldquot' +is a variant of `en@quot' that additionally outputs quoted pieces of +text in a bold font, when used in a terminal emulator which supports +the VT100 escape sequences (such as `xterm' or the Linux console, but +not Emacs in `M-x shell' mode). + + These extra message catalogs `en@quot' and `en@boldquot' are +constructed automatically, not by translators; to support them, you +need the files `Rules-quot', `quot.sed', `boldquot.sed', +`en@quot.header', `en@boldquot.header', `insert-header.sin' in the +`po/' directory. You can copy them from GNU gettext's `po/' directory; +they are also installed by running `gettextize'. +  File: gettext.info, Node: po/Makevars, Next: configure.in, Prev: po/LINGUAS, Up: Adjusting Files @@ -482,27 +596,27 @@ File: gettext.info, Node: po/Makevars, Next: configure.in, Prev: po/LINGUAS, The `po/' directory also has a file named `Makevars'. It can be left unmodified if your package has a single message domain and, -accordingly, a single `po/' directory. Only packages which have +accordingly, a single `po/' directory. Only packages which have multiple `po/' directories at different locations need to adjust the three variables defined in `Makevars'. `po/Makevars' gets inserted into the `po/Makefile' when the latter -is created. At the same time, all files called `Rules-*' in the `po/' -directory get appended to the `po/Makefile'. They present an +is created. At the same time, all files called `Rules-*' in the `po/' +directory get appended to the `po/Makefile'. They present an opportunity to add rules for special PO files to the Makefile, without needing to mess with `po/Makefile.in.in'. GNU gettext comes with a `Rules-quot' file, containing rules for -building catalogs `en@quot.po' and `en@boldquot.po'. The effect of +building catalogs `en@quot.po' and `en@boldquot.po'. The effect of `en@quot.po' is that people who set their `LANGUAGE' environment variable to `en@quot' will get messages with proper looking symmetric Unicode quotation marks instead of abusing the ASCII grave accent and -the ASCII apostrophe for indicating quotations. To enable this catalog, -simply add `en@quot' to the `po/LINGUAS' file. The effect of +the ASCII apostrophe for indicating quotations. To enable this +catalog, simply add `en@quot' to the `po/LINGUAS' file. The effect of `en@boldquot.po' is that people who set `LANGUAGE' to `en@boldquot' will get not only proper quotation marks, but also the quoted text will -be shown in a bold font on terminals and consoles. This catalog is -useful only for command-line programs, not GUI programs. To enable it, +be shown in a bold font on terminals and consoles. This catalog is +useful only for command-line programs, not GUI programs. To enable it, similarly add `en@boldquot' to the `po/LINGUAS' file.  @@ -519,7 +633,7 @@ File: gettext.info, Node: configure.in, Next: config.guess, Prev: po/Makevars This is done by a set of lines like these: PACKAGE=gettext - VERSION=0.12-pre1 + VERSION=0.12-pre4 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") AC_DEFINE_UNQUOTED(VERSION, "$VERSION") AC_SUBST(PACKAGE) @@ -527,12 +641,12 @@ File: gettext.info, Node: configure.in, Next: config.guess, Prev: po/Makevars or, if you are using GNU `automake', by a line like this: - AM_INIT_AUTOMAKE(gettext, 0.12-pre1) + AM_INIT_AUTOMAKE(gettext, 0.12-pre4) Of course, you replace `gettext' with the name of your package, - and `0.12-pre1' by its version numbers, exactly as they should + and `0.12-pre4' by its version numbers, exactly as they should appear in the packaged `tar' file name of your distribution - (`gettext-0.12-pre1.tar.gz', here). + (`gettext-0.12-pre4.tar.gz', here). 2. Check for internationalization support. @@ -801,8 +915,8 @@ modifications needed in `src/Makefile.in': 5. You should ensure that the final linking will use `@LIBINTL@' or `@LTLIBINTL@' as a library. `@LIBINTL@' is for use without - `libtool', `@LTLIBINTL@' is for use with `libtool'. An easy way to - achieve this is to manage that it gets into `LIBS', like this: + `libtool', `@LTLIBINTL@' is for use with `libtool'. An easy way + to achieve this is to manage that it gets into `LIBS', like this: LIBS = @LIBINTL@ @LIBS@ @@ -840,9 +954,9 @@ File: gettext.info, Node: lib/gettext.h, Prev: src/Makefile, Up: Adjusting Fi --------------------- Internationalization of packages, as provided by GNU `gettext', is -optional. It can be turned off in two situations: +optional. It can be turned off in two situations: - * When the installer has specified `./configure --disable-nls'. This + * When the installer has specified `./configure --disable-nls'. This can be useful when small binaries are more important than features, for example when building utilities for boot diskettes. It can also be useful in order to get some specific C compiler @@ -858,17 +972,17 @@ optional. It can be turned off in two situations: A C preprocessor macro can be used to detect these two cases. Usually, when `libintl.h' was found and not explicitly disabled, the `ENABLE_NLS' macro will be defined to 1 in the autoconf generated -configuration file (usually called `config.h'). In the two negative +configuration file (usually called `config.h'). In the two negative situations, however, this macro will not be defined, thus it will evaluate to 0 in C preprocessor expressions. `gettext.h' is a convenience header file for conditional use of -`', depending on the `ENABLE_NLS' macro. If `ENABLE_NLS' is +`', depending on the `ENABLE_NLS' macro. If `ENABLE_NLS' is set, it includes `'; otherwise it defines no-op substitutes -for the libintl.h functions. We recommend the use of `"gettext.h"' over -direct use of `', so that portability to older systems is -guaranteed and installers can turn off internationalization if they -want to. In the C code, you will then write +for the libintl.h functions. We recommend the use of `"gettext.h"' +over direct use of `', so that portability to older systems +is guaranteed and installers can turn off internationalization if they +want to. In the C code, you will then write #include "gettext.h" @@ -877,11 +991,11 @@ instead of #include The location of `gettext.h' is usually in a directory containing -auxiliary include files. In many GNU packages, there is a directory +auxiliary include files. In many GNU packages, there is a directory `lib/' containing helper functions; `gettext.h' fits there. In other packages, it can go into the `src' directory. - Do not install the `gettext.h' file in public locations. Every + Do not install the `gettext.h' file in public locations. Every package that needs it should contain a copy of it on its own.  @@ -898,6 +1012,7 @@ macro is, of course, `AM_GNU_GETTEXT'. * AM_GNU_GETTEXT:: AM_GNU_GETTEXT in `gettext.m4' * AM_GNU_GETTEXT_VERSION:: AM_GNU_GETTEXT_VERSION in `gettext.m4' +* AM_PO_SUBDIRS:: AM_PO_SUBDIRS in `po.m4' * AM_ICONV:: AM_ICONV in `iconv.m4'  @@ -909,9 +1024,10 @@ AM_GNU_GETTEXT in `gettext.m4' The `AM_GNU_GETTEXT' macro tests for the presence of the GNU gettext function family in either the C library or a separate `libintl' library (shared or static libraries are both supported) or in the package's -`intl/' directory. +`intl/' directory. It also invokes `AM_PO_SUBDIRS', thus preparing the +`po/' directories of the package for building. - `AM_GNU_GETTEXT' accepts up to three optional arguments. The general + `AM_GNU_GETTEXT' accepts up to three optional arguments. The general syntax is AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]) @@ -936,20 +1052,21 @@ implies `need-ngettext'. `$(top_builddir)/intl/' is used. The `AM_GNU_GETTEXT' macro determines whether GNU gettext is -available and should be used. If so, it sets the `USE_NLS' variable to +available and should be used. If so, it sets the `USE_NLS' variable to `yes'; it defines `ENABLE_NLS' to 1 in the autoconf generated configuration file (usually called `config.h'); it sets the variables `LIBINTL' and `LTLIBINTL' to the linker options for use in a Makefile (`LIBINTL' for use without libtool, `LTLIBINTL' for use with libtool); -it adds an `-I' option to `CPPFLAGS' if necessary. In the negative +it adds an `-I' option to `CPPFLAGS' if necessary. In the negative case, it sets `USE_NLS' to `no'; it sets `LIBINTL' and `LTLIBINTL' to empty and doesn't change `CPPFLAGS'. The complexities that `AM_GNU_GETTEXT' deals with are the following: * Some operating systems have `gettext' in the C library, for example - glibc. Some have it in a separate library `libintl'. GNU `libintl' - might have been installed as part of the GNU `gettext' package. + glibc. Some have it in a separate library `libintl'. GNU + `libintl' might have been installed as part of the GNU `gettext' + package. * GNU `libintl', if installed, is not necessarily already in the search path (`CPPFLAGS' for the include file search path, @@ -961,18 +1078,19 @@ empty and doesn't change `CPPFLAGS'. catalog's text encoding to the user's locale encoding. * GNU `libintl', if installed, is not necessarily already in the run - time library search path. To avoid the need for setting an + time library search path. To avoid the need for setting an environment variable like `LD_LIBRARY_PATH', the macro adds the appropriate run time search path options to the `LIBINTL' and - `LTLIBINTL' variables. This works on most systems, but not on some - operating systems with limited shared library support, like SCO. + `LTLIBINTL' variables. This works on most systems, but not on + some operating systems with limited shared library support, like + SCO. - * GNU `libintl' relies on POSIX `iconv'. The macro checks for linker - options needed to use iconv and appends them to the `LIBINTL' and - `LTLIBINTL' variables. + * GNU `libintl' relies on POSIX/XSI `iconv'. The macro checks for + linker options needed to use iconv and appends them to the + `LIBINTL' and `LTLIBINTL' variables.  -File: gettext.info, Node: AM_GNU_GETTEXT_VERSION, Next: AM_ICONV, Prev: AM_GNU_GETTEXT, Up: autoconf macros +File: gettext.info, Node: AM_GNU_GETTEXT_VERSION, Next: AM_PO_SUBDIRS, Prev: AM_GNU_GETTEXT, Up: autoconf macros AM_GNU_GETTEXT_VERSION in `gettext.m4' -------------------------------------- @@ -984,29 +1102,48 @@ the GNU gettext infrastructure that is used by the package. use of it (*note CVS Issues::).  -File: gettext.info, Node: AM_ICONV, Prev: AM_GNU_GETTEXT_VERSION, Up: autoconf macros +File: gettext.info, Node: AM_PO_SUBDIRS, Next: AM_ICONV, Prev: AM_GNU_GETTEXT_VERSION, Up: autoconf macros + +AM_PO_SUBDIRS in `po.m4' +------------------------ + + The `AM_PO_SUBDIRS' macro prepares the `po/' directories of the +package for building. This macro should be used in internationalized +programs written in other programming languages than C, C++, Objective +C, for example `sh', `Python', `Lisp'. See *Note Programming +Languages:: for a list of programming languages that support +localization through PO files. + + The `AM_PO_SUBDIRS' macro determines whether internationalization +should be used. If so, it sets the `USE_NLS' variable to `yes', +otherwise to `no'. It also determines the right values for Makefile +variables in each `po/' directory. + + +File: gettext.info, Node: AM_ICONV, Prev: AM_PO_SUBDIRS, Up: autoconf macros AM_ICONV in `iconv.m4' ---------------------- - The `AM_ICONV' macro tests for the presence of the POSIX `iconv' + The `AM_ICONV' macro tests for the presence of the POSIX/XSI `iconv' function family in either the C library or a separate `libiconv' -library. If found, it sets the `am_cv_func_iconv' variable to `yes'; it -defines `HAVE_ICONV' to 1 in the autoconf generated configuration file -(usually called `config.h'); it defines `ICONV_CONST' to `const' or to -empty, depending on whether the second argument of `iconv()' is of type -`const char **' or `char **'; it sets the variables `LIBICONV' and -`LTLIBICONV' to the linker options for use in a Makefile (`LIBICONV' -for use without libtool, `LTLIBICONV' for use with libtool); it adds an -`-I' option to `CPPFLAGS' if necessary. If not found, it sets -`LIBICONV' and `LTLIBICONV' to empty and doesn't change `CPPFLAGS'. +library. If found, it sets the `am_cv_func_iconv' variable to `yes'; +it defines `HAVE_ICONV' to 1 in the autoconf generated configuration +file (usually called `config.h'); it defines `ICONV_CONST' to `const' +or to empty, depending on whether the second argument of `iconv()' is +of type `const char **' or `char **'; it sets the variables `LIBICONV' +and `LTLIBICONV' to the linker options for use in a Makefile +(`LIBICONV' for use without libtool, `LTLIBICONV' for use with +libtool); it adds an `-I' option to `CPPFLAGS' if necessary. If not +found, it sets `LIBICONV' and `LTLIBICONV' to empty and doesn't change +`CPPFLAGS'. The complexities that `AM_ICONV' deals with are the following: * Some operating systems have `iconv' in the C library, for example - glibc. Some have it in a separate library `libiconv', for example - OSF/1 or FreeBSD. Regardless of the operating system, GNU - `libiconv' might have been installed. In that case, it should be + glibc. Some have it in a separate library `libiconv', for example + OSF/1 or FreeBSD. Regardless of the operating system, GNU + `libiconv' might have been installed. In that case, it should be used instead of the operating system's native `iconv'. * GNU `libiconv', if installed, is not necessarily already in the @@ -1019,122 +1156,12 @@ for use without libtool, `LTLIBICONV' for use with libtool); it adds an crashes. * GNU `libiconv', if installed, is not necessarily already in the - run time library search path. To avoid the need for setting an + run time library search path. To avoid the need for setting an environment variable like `LD_LIBRARY_PATH', the macro adds the appropriate run time search path options to the `LIBICONV' - variable. This works on most systems, but not on some operating + variable. This works on most systems, but not on some operating systems with limited shared library support, like SCO. `iconv.m4' is distributed with the GNU gettext package because `gettext.m4' relies on it. - -File: gettext.info, Node: CVS Issues, Prev: autoconf macros, Up: Maintainers - -Integrating with CVS -==================== - - Many projects use CVS for distributed development, version control -and source backup. This section gives some advice how to manage the -uses of `cvs', `gettextize', `autopoint' and `autoconf'. - -* Menu: - -* Distributed CVS:: Avoiding version mismatch in distributed development -* Files under CVS:: Files to put under CVS version control -* autopoint Invocation:: Invoking the `autopoint' Program - - -File: gettext.info, Node: Distributed CVS, Next: Files under CVS, Prev: CVS Issues, Up: CVS Issues - -Avoiding version mismatch in distributed development ----------------------------------------------------- - - In a project development with multiple developers, using CVS, there -should be a single developer who occasionally - when there is desire to -upgrade to a new `gettext' version - runs `gettextize' and performs the -changes listed in *Note Adjusting Files::, and then commits his changes -to the CVS. - - It is highly recommended that all developers on a project use the -same version of GNU `gettext' in the package. In other words, if a -developer runs `gettextize', he should go the whole way, make the -necessary remaining changes and commit his changes to the CVS. -Otherwise the following damages will likely occur: - - * Apparent version mismatch between developers. Since some `gettext' - specific portions in `configure.in', `configure.ac' and - `Makefile.am', `Makefile.in' files depend on the `gettext' - version, the use of infrastructure files belonging to different - `gettext' versions can easily lead to build errors. - - * Hidden version mismatch. Such version mismatch can also lead to - malfunctioning of the package, that may be undiscovered by the - developers. The worst case of hidden version mismatch is that - internationalization of the package doesn't work at all. - - * Release risks. All developers implicitly perform constant testing - on a package. This is important in the days and weeks before a - release. If the guy who makes the release tar files uses a - different version of GNU `gettext' than the other developers, the - distribution will be less well tested than if all had been using - the same `gettext' version. For example, it is possible that a - platform specific bug goes undiscovered due to this constellation. - - -File: gettext.info, Node: Files under CVS, Next: autopoint Invocation, Prev: Distributed CVS, Up: CVS Issues - -Files to put under CVS version control --------------------------------------- - - There are basically three ways to deal with generated files in the -context of a CVS repository, such as `configure' generated from -`configure.in', `PARSER.c' generated from `PARSER.y', or -`po/Makefile.in.in' autoinstalled by `gettextize' or `autopoint'. - - 1. All generated files are always committed into the repository. - - 2. All generated files are committed into the repository occasionally, - for example each time a release is made. - - 3. Generated files are never committed into the repository. - - Each of these three approaches has different advantages and -drawbacks. - - 1. The advantage is that anyone can check out the CVS at any moment - and gets a working build. The drawbacks are: 1a. It requires - some frequent "cvs commit" actions by the maintainers. 1b. The - reposity grows in size quite fast. - - 2. The advantage is that anyone can check out the CVS, and the usual - "./configure; make" will work. The drawbacks are: 2a. The one who - checks out the repository needs tools like GNU `automake', GNU - `autoconf', GNU `m4' installed in his PATH; sometimes he even - needs particular versions of them. 2b. When a release is made and - a commit is made on the generated files, the other developers get - conflicts on the generated files after doing "cvs update". - Although these conflicts are easy to resolve, they are annoying. - - 3. The advantage is less work for the maintainers. The drawback is - that anyone who checks out the CVS not only needs tools like GNU - `automake', GNU `autoconf', GNU `m4' installed in his PATH, but - also that he needs to perform a package specific pre-build step - before being able to "./configure; make". - - For the first and second approach, all files modified or brought in -by the occasional `gettextize' invocation and update should be -committed into the CVS. - - For the third approach, the maintainer can omit from the CVS -repository all the files that `gettextize' mentions as "copy". -Instead, he adds to the `configure.in' or `configure.ac' a line of the -form - - AM_GNU_GETTEXT_VERSION(0.12-pre1) - -and adds to the package's pre-build script an invocation of -`autopoint'. For everyone who checks out the CVS, this `autopoint' -invocation will copy into the right place the `gettext' infrastructure -files that have been omitted from the CVS. - diff --git a/gettext-tools/doc/gettext.info-8 b/gettext-tools/doc/gettext.info-8 index e9ba6c1e7..9a6686eae 100644 --- a/gettext-tools/doc/gettext.info-8 +++ b/gettext-tools/doc/gettext.info-8 @@ -44,6 +44,116 @@ manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation. + +File: gettext.info, Node: CVS Issues, Prev: autoconf macros, Up: Maintainers + +Integrating with CVS +==================== + + Many projects use CVS for distributed development, version control +and source backup. This section gives some advice how to manage the +uses of `cvs', `gettextize', `autopoint' and `autoconf'. + +* Menu: + +* Distributed CVS:: Avoiding version mismatch in distributed development +* Files under CVS:: Files to put under CVS version control +* autopoint Invocation:: Invoking the `autopoint' Program + + +File: gettext.info, Node: Distributed CVS, Next: Files under CVS, Prev: CVS Issues, Up: CVS Issues + +Avoiding version mismatch in distributed development +---------------------------------------------------- + + In a project development with multiple developers, using CVS, there +should be a single developer who occasionally - when there is desire to +upgrade to a new `gettext' version - runs `gettextize' and performs the +changes listed in *Note Adjusting Files::, and then commits his changes +to the CVS. + + It is highly recommended that all developers on a project use the +same version of GNU `gettext' in the package. In other words, if a +developer runs `gettextize', he should go the whole way, make the +necessary remaining changes and commit his changes to the CVS. +Otherwise the following damages will likely occur: + + * Apparent version mismatch between developers. Since some `gettext' + specific portions in `configure.in', `configure.ac' and + `Makefile.am', `Makefile.in' files depend on the `gettext' + version, the use of infrastructure files belonging to different + `gettext' versions can easily lead to build errors. + + * Hidden version mismatch. Such version mismatch can also lead to + malfunctioning of the package, that may be undiscovered by the + developers. The worst case of hidden version mismatch is that + internationalization of the package doesn't work at all. + + * Release risks. All developers implicitly perform constant testing + on a package. This is important in the days and weeks before a + release. If the guy who makes the release tar files uses a + different version of GNU `gettext' than the other developers, the + distribution will be less well tested than if all had been using + the same `gettext' version. For example, it is possible that a + platform specific bug goes undiscovered due to this constellation. + + +File: gettext.info, Node: Files under CVS, Next: autopoint Invocation, Prev: Distributed CVS, Up: CVS Issues + +Files to put under CVS version control +-------------------------------------- + + There are basically three ways to deal with generated files in the +context of a CVS repository, such as `configure' generated from +`configure.in', `PARSER.c' generated from `PARSER.y', or +`po/Makefile.in.in' autoinstalled by `gettextize' or `autopoint'. + + 1. All generated files are always committed into the repository. + + 2. All generated files are committed into the repository occasionally, + for example each time a release is made. + + 3. Generated files are never committed into the repository. + + Each of these three approaches has different advantages and +drawbacks. + + 1. The advantage is that anyone can check out the CVS at any moment + and gets a working build. The drawbacks are: 1a. It requires + some frequent "cvs commit" actions by the maintainers. 1b. The + reposity grows in size quite fast. + + 2. The advantage is that anyone can check out the CVS, and the usual + "./configure; make" will work. The drawbacks are: 2a. The one who + checks out the repository needs tools like GNU `automake', GNU + `autoconf', GNU `m4' installed in his PATH; sometimes he even + needs particular versions of them. 2b. When a release is made and + a commit is made on the generated files, the other developers get + conflicts on the generated files after doing "cvs update". + Although these conflicts are easy to resolve, they are annoying. + + 3. The advantage is less work for the maintainers. The drawback is + that anyone who checks out the CVS not only needs tools like GNU + `automake', GNU `autoconf', GNU `m4' installed in his PATH, but + also that he needs to perform a package specific pre-build step + before being able to "./configure; make". + + For the first and second approach, all files modified or brought in +by the occasional `gettextize' invocation and update should be +committed into the CVS. + + For the third approach, the maintainer can omit from the CVS +repository all the files that `gettextize' mentions as "copy". +Instead, he adds to the `configure.in' or `configure.ac' a line of the +form + + AM_GNU_GETTEXT_VERSION(0.12-pre4) + +and adds to the package's pre-build script an invocation of +`autopoint'. For everyone who checks out the CVS, this `autopoint' +invocation will copy into the right place the `gettext' infrastructure +files that have been omitted from the CVS. +  File: gettext.info, Node: autopoint Invocation, Prev: Files under CVS, Up: CVS Issues @@ -82,8 +192,8 @@ Informative output Output version information and exit. `autopoint' supports the GNU `gettext' versions from 0.10.35 to the -current one, 0.12-pre1. In order to apply `autopoint' to a package -using a `gettext' version newer than 0.12-pre1, you need to install +current one, 0.12-pre4. In order to apply `autopoint' to a package +using a `gettext' version newer than 0.12-pre4, you need to install this same version of GNU `gettext' at least. In packages using GNU `automake', an invocation of `autopoint' @@ -400,7 +510,7 @@ case in two ways. particular programming language. If the package uses more than one programming language with `gettext' support, it becomes necessary to change the POT file construction rule in - `po/Makefile.in.in'. It is recommended to make one `xgettext' + `po/Makefile.in.in'. It is recommended to make one `xgettext' invocation per programming language, each with the options appropriate for that language, and to combine the resulting files using `msgcat'. @@ -477,7 +587,7 @@ Extractor `xgettext -k_' Formatting with positions - `fprintf "%2$d %1$d"' (POSIX but not C 99) + `fprintf "%2$d %1$d"' (POSIX/XSI but not C 99) In C++: `autosprintf "%2$d %1$d"' (*note Introduction: (autosprintf)Top.) @@ -605,7 +715,8 @@ gettext shorthand `_('abc')' etc. gettext/ngettext functions - `gettext.gettext', `gettext.dgettext', also `ugettext' + `gettext.gettext', `gettext.dgettext', `gettext.ngettext', + `gettext.dngettext', also `ugettext', `ungettext' textdomain `gettext.textdomain' function, or `gettext.install(DOMAIN)' @@ -622,7 +733,7 @@ Prerequisite `import gettext' Use or emulate GNU gettext - emulate. Bug: uses only the first found .mo file, not all of them + emulate. Bug: uses only the first found .mo file, not all of them Extractor `xgettext' @@ -726,7 +837,7 @@ Extractor `clisp-xgettext' Formatting with positions - `fprintf "%2$d %1$d"' (POSIX but not C 99) + `fprintf "%2$d %1$d"' (POSIX/XSI but not C 99) Portability On platforms without gettext, no translation. @@ -777,7 +888,8 @@ Formatting with positions `format "%2$d %1$d"' Portability - Only XEmacs. Without `I18N3' defined at build time, no translation. + Only XEmacs. Without `I18N3' defined at build time, no + translation. po-mode marking -- @@ -931,15 +1043,29 @@ po-mode marking Before marking strings as internationalizable, uses of the string concatenation operator need to be converted to `MessageFormat' -applications. For example, `"file "+filename+" not found"' becomes +applications. For example, `"file "+filename+" not found"' becomes `MessageFormat.format("file {0} not found", new Object[] { filename })'. Only after this is done, can the strings be marked and extracted. GNU gettext uses the native Java internationalization mechanism, -namely `ResourceBundle's. To convert a PO file to a ResourceBundle, the -`msgfmt' program can be used with the option `--java' or `--java2'. To -convert a ResourceBundle back to a PO file, the `msgunfmt' program can -be used with the option `--java'. +namely `ResourceBundle's. There are two formats of `ResourceBundle's: +`.properties' files and `.class' files. The `.properties' format is a +text file which the translators can directly edit, like PO files, but +which doesn't support plural forms. Whereas the `.class' format is +compiled from `.java' source code and can support plural forms +(provided it is accessed through an appropriate API, see below). + + To convert a PO file to a `.properties' file, the `msgcat' program +can be used with the option `--properties-output'. To convert a +`.properties' file back to a PO file, the `msgcat' program can be used +with the option `--properties-input'. All the tools that manipulate PO +files can work with `.properties' files as well, if given the +`--properties-input' and/or `--properties-output' option. + + To convert a PO file to a ResourceBundle class, the `msgfmt' program +can be used with the option `--java' or `--java2'. To convert a +ResourceBundle back to a PO file, the `msgunfmt' program can be used +with the option `--java'. Two different programmatic APIs can be used to access ResourceBundles. Note that both APIs work with all kinds of @@ -952,10 +1078,11 @@ ResourceBundles, whether GNU gettext generated classes, or other translation. Note that a missing translation yields a `MissingResourceException'. - This has the advantage of being the standard API. And it does not - require any additional libraries, only the `msgfmt' generated - `.class' files. But it cannot do plural handling, even if the - resource was generated from a PO file with plural handling. + This has the advantage of being the standard API. And it does not + require any additional libraries, only the `msgcat' generated + `.properties' files or the `msgfmt' generated `.class' files. But + it cannot do plural handling, even if the resource was generated + by `msgfmt' from a PO file with plural handling. 2. The `gnu.gettext.GettextResource' API. @@ -963,8 +1090,9 @@ ResourceBundles, whether GNU gettext generated classes, or other javadoc1 directory (javadoc1/tree.html) and in Javadoc 2 style format in the javadoc2 directory (javadoc2/index.html). - Its `gettext' function returns a string translation. Note that when - a translation is missing, the MSGID argument is returned unchanged. + Its `gettext' function returns a string translation. Note that + when a translation is missing, the MSGID argument is returned + unchanged. This has the advantage of having the `ngettext' function for plural handling. @@ -1073,8 +1201,8 @@ po-mode marking -- The Pascal compiler has special support for the `ResourceString' data -type. It generates a `.rst' file. This is then converted to a `.pot' -file by use of `xgettext' or `rstconv'. At runtime, a `.mo' file +type. It generates a `.rst' file. This is then converted to a `.pot' +file by use of `xgettext' or `rstconv'. At runtime, a `.mo' file corresponding to translations of this `.pot' file can be loaded using the `TranslateResourceStrings' function in the `gettext' unit. @@ -1225,11 +1353,11 @@ po-mode marking Before marking strings as internationalizable, substitutions of variables into the string need to be converted to `format' -applications. For example, `"file $filename not found"' becomes +applications. For example, `"file $filename not found"' becomes `[format "file %s not found" $filename]'. Only after this is done, can the strings be marked and extracted. After marking, this example becomes `[format [_ "file %s not found"] $filename]' or `[msgcat::mc -"file %s not found" $filename]'. Note that the `msgcat::mc' function +"file %s not found" $filename]'. Note that the `msgcat::mc' function implicitly calls `format' when more than one argument is given.  @@ -2078,730 +2206,3 @@ come from this standard. `zu' Zulu. - -File: gettext.info, Node: Country Codes, Next: Program Index, Prev: Language Codes, Up: Top - -Country Codes -************* - - The ISO 3166 standard defines two character codes for many countries -and territories. All abbreviations for countries used in the -Translation Project should come from this standard. - -`AD' - Andorra. - -`AE' - United Arab Emirates. - -`AF' - Afghanistan. - -`AG' - Antigua and Barbuda. - -`AI' - Anguilla. - -`AL' - Albania. - -`AM' - Armenia. - -`AN' - Netherlands Antilles. - -`AO' - Angola. - -`AQ' - Antarctica. - -`AR' - Argentina. - -`AS' - Samoa (American). - -`AT' - Austria. - -`AU' - Australia. - -`AW' - Aruba. - -`AZ' - Azerbaijan. - -`BA' - Bosnia and Herzegovina. - -`BB' - Barbados. - -`BD' - Bangladesh. - -`BE' - Belgium. - -`BF' - Burkina Faso. - -`BG' - Bulgaria. - -`BH' - Bahrain. - -`BI' - Burundi. - -`BJ' - Benin. - -`BM' - Bermuda. - -`BN' - Brunei. - -`BO' - Bolivia. - -`BR' - Brazil. - -`BS' - Bahamas. - -`BT' - Bhutan. - -`BV' - Bouvet Island. - -`BW' - Botswana. - -`BY' - Belarus. - -`BZ' - Belize. - -`CA' - Canada. - -`CC' - Cocos (Keeling) Islands. - -`CD' - Congo (Dem. Rep.). - -`CF' - Central African Rep.. - -`CG' - Congo (Rep.). - -`CH' - Switzerland. - -`CI' - Cote d'Ivoire. - -`CK' - Cook Islands. - -`CL' - Chile. - -`CM' - Cameroon. - -`CN' - China. - -`CO' - Colombia. - -`CR' - Costa Rica. - -`CU' - Cuba. - -`CV' - Cape Verde. - -`CX' - Christmas Island. - -`CY' - Cyprus. - -`CZ' - Czech Republic. - -`DE' - Germany. - -`DJ' - Djibouti. - -`DK' - Denmark. - -`DM' - Dominica. - -`DO' - Dominican Republic. - -`DZ' - Algeria. - -`EC' - Ecuador. - -`EE' - Estonia. - -`EG' - Egypt. - -`EH' - Western Sahara. - -`ER' - Eritrea. - -`ES' - Spain. - -`ET' - Ethiopia. - -`FI' - Finland. - -`FJ' - Fiji. - -`FK' - Falkland Islands. - -`FM' - Micronesia. - -`FO' - Faeroe Islands. - -`FR' - France. - -`GA' - Gabon. - -`GB' - Britain (UK). - -`GD' - Grenada. - -`GE' - Georgia. - -`GF' - French Guiana. - -`GH' - Ghana. - -`GI' - Gibraltar. - -`GL' - Greenland. - -`GM' - Gambia. - -`GN' - Guinea. - -`GP' - Guadeloupe. - -`GQ' - Equatorial Guinea. - -`GR' - Greece. - -`GS' - South Georgia and the South Sandwich Islands. - -`GT' - Guatemala. - -`GU' - Guam. - -`GW' - Guinea-Bissau. - -`GY' - Guyana. - -`HK' - Hong Kong. - -`HM' - Heard Island and McDonald Islands. - -`HN' - Honduras. - -`HR' - Croatia. - -`HT' - Haiti. - -`HU' - Hungary. - -`ID' - Indonesia. - -`IE' - Ireland. - -`IL' - Israel. - -`IN' - India. - -`IO' - British Indian Ocean Territory. - -`IQ' - Iraq. - -`IR' - Iran. - -`IS' - Iceland. - -`IT' - Italy. - -`JM' - Jamaica. - -`JO' - Jordan. - -`JP' - Japan. - -`KE' - Kenya. - -`KG' - Kyrgyzstan. - -`KH' - Cambodia. - -`KI' - Kiribati. - -`KM' - Comoros. - -`KN' - St Kitts and Nevis. - -`KP' - Korea (North). - -`KR' - Korea (South). - -`KW' - Kuwait. - -`KY' - Cayman Islands. - -`KZ' - Kazakhstan. - -`LA' - Laos. - -`LB' - Lebanon. - -`LC' - St Lucia. - -`LI' - Liechtenstein. - -`LK' - Sri Lanka. - -`LR' - Liberia. - -`LS' - Lesotho. - -`LT' - Lithuania. - -`LU' - Luxembourg. - -`LV' - Latvia. - -`LY' - Libya. - -`MA' - Morocco. - -`MC' - Monaco. - -`MD' - Moldova. - -`MG' - Madagascar. - -`MH' - Marshall Islands. - -`MK' - Macedonia. - -`ML' - Mali. - -`MM' - Myanmar (Burma). - -`MN' - Mongolia. - -`MO' - Macao. - -`MP' - Northern Mariana Islands. - -`MQ' - Martinique. - -`MR' - Mauritania. - -`MS' - Montserrat. - -`MT' - Malta. - -`MU' - Mauritius. - -`MV' - Maldives. - -`MW' - Malawi. - -`MX' - Mexico. - -`MY' - Malaysia. - -`MZ' - Mozambique. - -`NA' - Namibia. - -`NC' - New Caledonia. - -`NE' - Niger. - -`NF' - Norfolk Island. - -`NG' - Nigeria. - -`NI' - Nicaragua. - -`NL' - Netherlands. - -`NO' - Norway. - -`NP' - Nepal. - -`NR' - Nauru. - -`NU' - Niue. - -`NZ' - New Zealand. - -`OM' - Oman. - -`PA' - Panama. - -`PE' - Peru. - -`PF' - French Polynesia. - -`PG' - Papua New Guinea. - -`PH' - Philippines. - -`PK' - Pakistan. - -`PL' - Poland. - -`PM' - St Pierre and Miquelon. - -`PN' - Pitcairn. - -`PR' - Puerto Rico. - -`PS' - Palestine. - -`PT' - Portugal. - -`PW' - Palau. - -`PY' - Paraguay. - -`QA' - Qatar. - -`RE' - Reunion. - -`RO' - Romania. - -`RU' - Russia. - -`RW' - Rwanda. - -`SA' - Saudi Arabia. - -`SB' - Solomon Islands. - -`SC' - Seychelles. - -`SD' - Sudan. - -`SE' - Sweden. - -`SG' - Singapore. - -`SH' - St Helena. - -`SI' - Slovenia. - -`SJ' - Svalbard and Jan Mayen. - -`SK' - Slovakia. - -`SL' - Sierra Leone. - -`SM' - San Marino. - -`SN' - Senegal. - -`SO' - Somalia. - -`SR' - Suriname. - -`ST' - Sao Tome and Principe. - -`SV' - El Salvador. - -`SY' - Syria. - -`SZ' - Swaziland. - -`TC' - Turks and Caicos Is. - -`TD' - Chad. - -`TF' - French Southern and Antarctic Lands. - -`TG' - Togo. - -`TH' - Thailand. - -`TJ' - Tajikistan. - -`TK' - Tokelau. - -`TM' - Turkmenistan. - -`TN' - Tunisia. - -`TO' - Tonga. - -`TP' - East Timor. - -`TR' - Turkey. - -`TT' - Trinidad and Tobago. - -`TV' - Tuvalu. - -`TW' - Taiwan. - -`TZ' - Tanzania. - -`UA' - Ukraine. - -`UG' - Uganda. - -`UM' - US minor outlying islands. - -`US' - United States. - -`UY' - Uruguay. - -`UZ' - Uzbekistan. - -`VA' - Vatican City. - -`VC' - St Vincent. - -`VE' - Venezuela. - -`VG' - Virgin Islands (UK). - -`VI' - Virgin Islands (US). - -`VN' - Vietnam. - -`VU' - Vanuatu. - -`WF' - Wallis and Futuna. - -`WS' - Samoa (Western). - -`YE' - Yemen. - -`YT' - Mayotte. - -`YU' - Yugoslavia. - -`ZA' - South Africa. - -`ZM' - Zambia. - -`ZW' - Zimbabwe. - diff --git a/gettext-tools/doc/gettext.info-9 b/gettext-tools/doc/gettext.info-9 index 194478e15..d757389d7 100644 --- a/gettext-tools/doc/gettext.info-9 +++ b/gettext-tools/doc/gettext.info-9 @@ -44,6 +44,733 @@ manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation. + +File: gettext.info, Node: Country Codes, Next: Program Index, Prev: Language Codes, Up: Top + +Country Codes +************* + + The ISO 3166 standard defines two character codes for many countries +and territories. All abbreviations for countries used in the +Translation Project should come from this standard. + +`AD' + Andorra. + +`AE' + United Arab Emirates. + +`AF' + Afghanistan. + +`AG' + Antigua and Barbuda. + +`AI' + Anguilla. + +`AL' + Albania. + +`AM' + Armenia. + +`AN' + Netherlands Antilles. + +`AO' + Angola. + +`AQ' + Antarctica. + +`AR' + Argentina. + +`AS' + Samoa (American). + +`AT' + Austria. + +`AU' + Australia. + +`AW' + Aruba. + +`AZ' + Azerbaijan. + +`BA' + Bosnia and Herzegovina. + +`BB' + Barbados. + +`BD' + Bangladesh. + +`BE' + Belgium. + +`BF' + Burkina Faso. + +`BG' + Bulgaria. + +`BH' + Bahrain. + +`BI' + Burundi. + +`BJ' + Benin. + +`BM' + Bermuda. + +`BN' + Brunei. + +`BO' + Bolivia. + +`BR' + Brazil. + +`BS' + Bahamas. + +`BT' + Bhutan. + +`BV' + Bouvet Island. + +`BW' + Botswana. + +`BY' + Belarus. + +`BZ' + Belize. + +`CA' + Canada. + +`CC' + Cocos (Keeling) Islands. + +`CD' + Congo (Dem. Rep.). + +`CF' + Central African Rep.. + +`CG' + Congo (Rep.). + +`CH' + Switzerland. + +`CI' + Cote d'Ivoire. + +`CK' + Cook Islands. + +`CL' + Chile. + +`CM' + Cameroon. + +`CN' + China. + +`CO' + Colombia. + +`CR' + Costa Rica. + +`CU' + Cuba. + +`CV' + Cape Verde. + +`CX' + Christmas Island. + +`CY' + Cyprus. + +`CZ' + Czech Republic. + +`DE' + Germany. + +`DJ' + Djibouti. + +`DK' + Denmark. + +`DM' + Dominica. + +`DO' + Dominican Republic. + +`DZ' + Algeria. + +`EC' + Ecuador. + +`EE' + Estonia. + +`EG' + Egypt. + +`EH' + Western Sahara. + +`ER' + Eritrea. + +`ES' + Spain. + +`ET' + Ethiopia. + +`FI' + Finland. + +`FJ' + Fiji. + +`FK' + Falkland Islands. + +`FM' + Micronesia. + +`FO' + Faeroe Islands. + +`FR' + France. + +`GA' + Gabon. + +`GB' + Britain (UK). + +`GD' + Grenada. + +`GE' + Georgia. + +`GF' + French Guiana. + +`GH' + Ghana. + +`GI' + Gibraltar. + +`GL' + Greenland. + +`GM' + Gambia. + +`GN' + Guinea. + +`GP' + Guadeloupe. + +`GQ' + Equatorial Guinea. + +`GR' + Greece. + +`GS' + South Georgia and the South Sandwich Islands. + +`GT' + Guatemala. + +`GU' + Guam. + +`GW' + Guinea-Bissau. + +`GY' + Guyana. + +`HK' + Hong Kong. + +`HM' + Heard Island and McDonald Islands. + +`HN' + Honduras. + +`HR' + Croatia. + +`HT' + Haiti. + +`HU' + Hungary. + +`ID' + Indonesia. + +`IE' + Ireland. + +`IL' + Israel. + +`IN' + India. + +`IO' + British Indian Ocean Territory. + +`IQ' + Iraq. + +`IR' + Iran. + +`IS' + Iceland. + +`IT' + Italy. + +`JM' + Jamaica. + +`JO' + Jordan. + +`JP' + Japan. + +`KE' + Kenya. + +`KG' + Kyrgyzstan. + +`KH' + Cambodia. + +`KI' + Kiribati. + +`KM' + Comoros. + +`KN' + St Kitts and Nevis. + +`KP' + Korea (North). + +`KR' + Korea (South). + +`KW' + Kuwait. + +`KY' + Cayman Islands. + +`KZ' + Kazakhstan. + +`LA' + Laos. + +`LB' + Lebanon. + +`LC' + St Lucia. + +`LI' + Liechtenstein. + +`LK' + Sri Lanka. + +`LR' + Liberia. + +`LS' + Lesotho. + +`LT' + Lithuania. + +`LU' + Luxembourg. + +`LV' + Latvia. + +`LY' + Libya. + +`MA' + Morocco. + +`MC' + Monaco. + +`MD' + Moldova. + +`MG' + Madagascar. + +`MH' + Marshall Islands. + +`MK' + Macedonia. + +`ML' + Mali. + +`MM' + Myanmar (Burma). + +`MN' + Mongolia. + +`MO' + Macao. + +`MP' + Northern Mariana Islands. + +`MQ' + Martinique. + +`MR' + Mauritania. + +`MS' + Montserrat. + +`MT' + Malta. + +`MU' + Mauritius. + +`MV' + Maldives. + +`MW' + Malawi. + +`MX' + Mexico. + +`MY' + Malaysia. + +`MZ' + Mozambique. + +`NA' + Namibia. + +`NC' + New Caledonia. + +`NE' + Niger. + +`NF' + Norfolk Island. + +`NG' + Nigeria. + +`NI' + Nicaragua. + +`NL' + Netherlands. + +`NO' + Norway. + +`NP' + Nepal. + +`NR' + Nauru. + +`NU' + Niue. + +`NZ' + New Zealand. + +`OM' + Oman. + +`PA' + Panama. + +`PE' + Peru. + +`PF' + French Polynesia. + +`PG' + Papua New Guinea. + +`PH' + Philippines. + +`PK' + Pakistan. + +`PL' + Poland. + +`PM' + St Pierre and Miquelon. + +`PN' + Pitcairn. + +`PR' + Puerto Rico. + +`PS' + Palestine. + +`PT' + Portugal. + +`PW' + Palau. + +`PY' + Paraguay. + +`QA' + Qatar. + +`RE' + Reunion. + +`RO' + Romania. + +`RU' + Russia. + +`RW' + Rwanda. + +`SA' + Saudi Arabia. + +`SB' + Solomon Islands. + +`SC' + Seychelles. + +`SD' + Sudan. + +`SE' + Sweden. + +`SG' + Singapore. + +`SH' + St Helena. + +`SI' + Slovenia. + +`SJ' + Svalbard and Jan Mayen. + +`SK' + Slovakia. + +`SL' + Sierra Leone. + +`SM' + San Marino. + +`SN' + Senegal. + +`SO' + Somalia. + +`SR' + Suriname. + +`ST' + Sao Tome and Principe. + +`SV' + El Salvador. + +`SY' + Syria. + +`SZ' + Swaziland. + +`TC' + Turks and Caicos Is. + +`TD' + Chad. + +`TF' + French Southern and Antarctic Lands. + +`TG' + Togo. + +`TH' + Thailand. + +`TJ' + Tajikistan. + +`TK' + Tokelau. + +`TM' + Turkmenistan. + +`TN' + Tunisia. + +`TO' + Tonga. + +`TP' + East Timor. + +`TR' + Turkey. + +`TT' + Trinidad and Tobago. + +`TV' + Tuvalu. + +`TW' + Taiwan. + +`TZ' + Tanzania. + +`UA' + Ukraine. + +`UG' + Uganda. + +`UM' + US minor outlying islands. + +`US' + United States. + +`UY' + Uruguay. + +`UZ' + Uzbekistan. + +`VA' + Vatican City. + +`VC' + St Vincent. + +`VE' + Venezuela. + +`VG' + Virgin Islands (UK). + +`VI' + Virgin Islands (US). + +`VN' + Vietnam. + +`VU' + Vanuatu. + +`WF' + Wallis and Futuna. + +`WS' + Samoa (Western). + +`YE' + Yemen. + +`YT' + Mayotte. + +`YU' + Yugoslavia. + +`ZA' + South Africa. + +`ZM' + Zambia. + +`ZW' + Zimbabwe. +  File: gettext.info, Node: Program Index, Next: Option Index, Prev: Country Codes, Up: Top @@ -104,6 +831,7 @@ Option Index * --check-header, msgfmt option: msgfmt Invocation. * --clear-fuzzy, msgattrib option: msgattrib Invocation. * --clear-obsolete, msgattrib option: msgattrib Invocation. +* --comment, msggrep option: msggrep Invocation. * --compendium, msgmerge option: msgmerge Invocation. * --copy, gettextize option: gettextize Invocation. * --copyright-holder, xgettext option: xgettext Invocation. @@ -201,6 +929,7 @@ Option Index * --more-than, msgcat option: msgcat Invocation. * --more-than, msgcomm option: msgcomm Invocation. * --msgid, msggrep option: msggrep Invocation. +* --msgid-bugs-address, xgettext option: xgettext Invocation. * --msgstr, msggrep option: msggrep Invocation. * --msgstr-prefix, xgettext option: xgettext Invocation. * --msgstr-suffix, xgettext option: xgettext Invocation. @@ -254,6 +983,31 @@ Option Index * --output-file, msgmerge option: msgmerge Invocation. * --output-file, msgunfmt option: msgunfmt Invocation. * --output-file, msguniq option: msguniq Invocation. +* --properties-input, msgattrib option: msgattrib Invocation. +* --properties-input, msgcat option: msgcat Invocation. +* --properties-input, msgcmp option: msgcmp Invocation. +* --properties-input, msgcomm option: msgcomm Invocation. +* --properties-input, msgconv option: msgconv Invocation. +* --properties-input, msgen option: msgen Invocation. +* --properties-input, msgexec option: msgexec Invocation. +* --properties-input, msgfilter option: msgfilter Invocation. +* --properties-input, msgfmt option: msgfmt Invocation. +* --properties-input, msggrep option: msggrep Invocation. +* --properties-input, msginit option: msginit Invocation. +* --properties-input, msgmerge option: msgmerge Invocation. +* --properties-input, msguniq option: msguniq Invocation. +* --properties-output, msgattrib option: msgattrib Invocation. +* --properties-output, msgcat option: msgcat Invocation. +* --properties-output, msgcomm option: msgcomm Invocation. +* --properties-output, msgconv option: msgconv Invocation. +* --properties-output, msgen option: msgen Invocation. +* --properties-output, msgfilter option: msgfilter Invocation. +* --properties-output, msggrep option: msggrep Invocation. +* --properties-output, msginit option: msginit Invocation. +* --properties-output, msgmerge option: msgmerge Invocation. +* --properties-output, msgunfmt option: msgunfmt Invocation. +* --properties-output, msguniq option: msguniq Invocation. +* --properties-output, xgettext option: xgettext Invocation. * --quiet, msgfilter option: msgfilter Invocation. * --quiet, msgmerge option: msgmerge Invocation. * --regexp=, msggrep option: msggrep Invocation. @@ -355,6 +1109,7 @@ Option Index * -c, gettextize option: gettextize Invocation. * -C, msgfmt option: msgfmt Invocation. * -c, msgfmt option: msgfmt Invocation. +* -C, msggrep option: msggrep Invocation. * -C, msgmerge option: msgmerge Invocation. * -c, xgettext option: xgettext Invocation. * -C, xgettext option: xgettext Invocation. @@ -461,6 +1216,30 @@ Option Index * -o, msgunfmt option: msgunfmt Invocation. * -o, msguniq option: msguniq Invocation. * -o, xgettext option: xgettext Invocation. +* -p, msgattrib option: msgattrib Invocation. +* -P, msgattrib option: msgattrib Invocation. +* -p, msgcat option: msgcat Invocation. +* -P, msgcat option: msgcat Invocation. +* -P, msgcmp option: msgcmp Invocation. +* -p, msgcomm option: msgcomm Invocation. +* -P, msgcomm option: msgcomm Invocation. +* -p, msgconv option: msgconv Invocation. +* -P, msgconv option: msgconv Invocation. +* -p, msgen option: msgen Invocation. +* -P, msgen option: msgen Invocation. +* -P, msgexec option: msgexec Invocation. +* -p, msgfilter option: msgfilter Invocation. +* -P, msgfilter option: msgfilter Invocation. +* -P, msgfmt option: msgfmt Invocation. +* -p, msggrep option: msggrep Invocation. +* -P, msggrep option: msggrep Invocation. +* -p, msginit option: msginit Invocation. +* -P, msginit option: msginit Invocation. +* -p, msgmerge option: msgmerge Invocation. +* -P, msgmerge option: msgmerge Invocation. +* -p, msgunfmt option: msgunfmt Invocation. +* -p, msguniq option: msguniq Invocation. +* -P, msguniq option: msguniq Invocation. * -p, xgettext option: xgettext Invocation. * -q, msgmerge option: msgmerge Invocation. * -r, msgfmt option: msgfmt Invocation. @@ -524,6 +1303,7 @@ Variable Index * Menu: +* GETTEXT_LOG_UNTRANSLATED, environment variable: Prioritizing messages. * LANG, environment variable <1>: gettext grok. * LANG, environment variable: End Users. * LANGUAGE, environment variable <1>: po/Makevars. @@ -719,4 +1499,5 @@ Autoconf Macro Index * AM_GNU_GETTEXT: AM_GNU_GETTEXT. * AM_GNU_GETTEXT_VERSION: AM_GNU_GETTEXT_VERSION. * AM_ICONV: AM_ICONV. +* AM_PO_SUBDIRS: AM_PO_SUBDIRS. diff --git a/gettext-tools/doc/gettext_1.html b/gettext-tools/doc/gettext_1.html index bef410d57..c2237ce15 100644 --- a/gettext-tools/doc/gettext_1.html +++ b/gettext-tools/doc/gettext_1.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 1 Introduction @@ -176,7 +176,7 @@ by which the programs are untied from calling only English strings or other English specific habits, and connected to generic ways of doing the same, instead. Program developers may use various techniques to internationalize their programs. Some of these have been standardized. -GNU gettext offers one of these standards. See section 10 The Programmer's View. +GNU gettext offers one of these standards. See section 10 The Programmer's View.

@@ -555,12 +555,12 @@ is used to find and extract all translatable strings, and create a PO template file out of all these. This `package.pot´ file contains all original program strings. It has sets of pointers to exactly where in C sources each string is used. All translations -are set to empty. The letter t in `.pot´ marks this as +are set to empty. The letter t in `.pot´ marks this as a Template PO file, not yet oriented towards any particular language. -See section 4.1 Invoking the xgettext Program, for more details about how one calls the +See section 4.1 Invoking the xgettext Program, for more details about how one calls the xgettext program. If you are really lazy, you might be interested at working a lot more right away, and preparing the -whole distribution setup (see section 12 The Maintainer's View). By doing so, you +whole distribution setup (see section 12 The Maintainer's View). By doing so, you spare yourself typing the xgettext command, as make should now generate the proper things automatically for you! @@ -569,7 +569,7 @@ should now generate the proper things automatically for you! The first time through, there is no `lang.po´ yet, so the msgmerge step may be skipped and replaced by a mere copy of `package.pot´ to `lang.po´, where lang -represents the target language. See section 5 Creating a New PO File for details. +represents the target language. See section 5 Creating a New PO File for details.

@@ -577,7 +577,7 @@ Then comes the initial translation of messages. Translation in itself is a whole matter, still exclusively meant for humans, and whose complexity far overwhelms the level of this manual. Nevertheless, a few hints are given in some other chapter of this -manual (see section 11 The Translator's View). You will also find there indications +manual (see section 11 The Translator's View). You will also find there indications about how to contact translating teams, or becoming part of them, for sharing your translating concerns with others who target the same native language. @@ -594,14 +594,14 @@ of PO file format are taken care of for you, but you have to acquire some familiarity with PO mode itself. Besides main PO mode commands (see section 2.3 Main PO mode Commands), you should know how to move between entries (see section 2.4 Entry Positioning), and how to handle untranslated entries -(see section 6.4 Untranslated Entries). +(see section 6.4 Untranslated Entries).

If some common translations have already been saved into a compendium PO file, translators may use PO mode for initializing untranslated entries from the compendium, and also save selected translations into -the compendium, updating it (see section 6.11 Using Translation Compendia). Compendium files +the compendium, updating it (see section 6.11 Using Translation Compendia). Compendium files are meant to be exchanged between members of a given translation team.

@@ -647,8 +647,8 @@ out of recent C sources. The refreshing operation adjusts all references to C source locations for strings, since these strings move as programs are modified. Also, msgmerge comments out as obsolete, in `lang.po´, those already translated entries -which are no longer used in the program sources (see section 6.5 Obsolete Entries). It finally discovers new strings and inserts them in -the resulting PO file as untranslated entries (see section 6.4 Untranslated Entries). See section 6.1 Invoking the msgmerge Program, for more information about what +which are no longer used in the program sources (see section 6.5 Obsolete Entries). It finally discovers new strings and inserts them in +the resulting PO file as untranslated entries (see section 6.4 Untranslated Entries). See section 6.1 Invoking the msgmerge Program, for more information about what msgmerge really does.

@@ -678,7 +678,7 @@ distribution. Once the PO file is complete and dependable, the msgfmt program is used for turning the PO file into a machine-oriented format, which may yield efficient retrieval of translations by the programs of the -package, whenever needed at runtime (see section 8.3 The Format of GNU MO Files). See section 8.1 Invoking the msgfmt Program, for more information about all modes of execution +package, whenever needed at runtime (see section 8.3 The Format of GNU MO Files). See section 8.1 Invoking the msgfmt Program, for more information about all modes of execution for the msgfmt program.

@@ -688,7 +688,7 @@ with the GNU gettext library, usually through the operation of make, given a suitable `Makefile´ exists for the project, and the resulting executable is installed somewhere users will find it. The MO files themselves should also be properly installed. Given the -appropriate environment variables are set (see section 9.3 Magic for End Users), the +appropriate environment variables are set (see section 9.3 Magic for End Users), the program should localize itself automatically, whenever it executes.

diff --git a/gettext-tools/doc/gettext_10.html b/gettext-tools/doc/gettext_10.html index b6035e052..1e32e865e 100644 --- a/gettext-tools/doc/gettext_10.html +++ b/gettext-tools/doc/gettext_10.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 10 The Programmer's View @@ -10,7 +10,7 @@ Go to the first, previous<


-

10 The Programmer's View

+

10 The Programmer's View

One aim of the current message catalog implementation provided by @@ -28,9 +28,9 @@ later explain our solution of this dilemma. -

10.1 About catgets

+

10.1 About catgets

- +

@@ -63,9 +63,9 @@ therefore part of all Unix implementation (implementations, which are -

10.1.1 The Interface

+

10.1.1 The Interface

- +

@@ -78,7 +78,7 @@ for the functions and the needed definitions are in the

- + catopen is used like in this:

@@ -97,7 +97,7 @@ message catalog, equivalent to handles to file returned by open.

- + This handle is of course used in the catgets function which can be used like this: @@ -129,7 +129,7 @@ should better be const char *, but the standard is published in

- + The last of these function functions is used and behaves as expected:

@@ -144,9 +144,9 @@ After this no catgets call using the descriptor is legal anymore.

-

10.1.2 Problems with the catgets Interface?!

+

10.1.2 Problems with the catgets Interface?!

- +

@@ -165,9 +165,9 @@ more easy to manage.

-

10.2 About gettext

+

10.2 About gettext

- +

@@ -182,7 +182,7 @@ The main points about this solution is that it does not follow the method of normal file handling (open-use-close) and that it does not burden the programmer so many task, especially the unique key handling. Of course here also a unique key is needed, but this key is the message -itself (how long or short it is). See section 10.3 Comparing the Two Interfaces for a more +itself (how long or short it is). See section 10.3 Comparing the Two Interfaces for a more detailed comparison of the two methods.

@@ -196,9 +196,9 @@ in using this library will be interested in this description. -

10.2.1 The Interface

+

10.2.1 The Interface

- +

@@ -267,11 +267,11 @@ your language.

-

10.2.2 Solving Ambiguities

+

10.2.2 Solving Ambiguities

- - - + + +

@@ -345,9 +345,9 @@ unreliabilities.

-

10.2.3 Locating Message Catalog Files

+

10.2.3 Locating Message Catalog Files

- +

@@ -385,10 +385,10 @@ The value of the locale is determined through

-

10.2.4 How to specify the output character set gettext uses

+

10.2.4 How to specify the output character set gettext uses

- - + +

@@ -420,7 +420,7 @@ recommended that all msgids be US-ASCII strings.

Function: char * bind_textdomain_codeset (const char *domainname, const char *codeset) -
+
The bind_textdomain_codeset function can be used to specify the output character set for message catalogs for domain domainname. The codeset argument must be a valid codeset name which can be used @@ -430,7 +430,7 @@ for the iconv_open function, or a null pointer.

If the codeset parameter is the null pointer, bind_textdomain_codeset returns the currently selected codeset -for the domain with the name domainname. It returns NULL if +for the domain with the name domainname. It returns NULL if no codeset has yet been selected.

@@ -452,9 +452,9 @@ global variable errno is set accordingly.

-

10.2.5 Additional functions for plural forms

+

10.2.5 Additional functions for plural forms

- +

@@ -574,7 +574,7 @@ purpose.

Function: char * ngettext (const char *msgid1, const char *msgid2, unsigned long int n) -
+
The ngettext function is similar to the gettext function as it finds the message catalogs in the same way. But it takes two extra arguments. The msgid1 parameter must contain the singular @@ -604,7 +604,7 @@ Please note that the numeric value n has to be passed to the

Function: char * dngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n) -
+
The dngettext is similar to the dgettext function in the way the message catalog is selected. The difference is that it takes two extra parameter to provide the correct plural form. These two @@ -615,7 +615,7 @@ parameters are handled in the same way ngettext handles them.

Function: char * dcngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n, int category) -
+
The dcngettext is similar to the dcgettext function in the way the message catalog is selected. The difference is that it takes two extra parameter to provide the correct plural form. These two @@ -640,9 +640,9 @@ possibility of extensions to not prevent the use of new languages).

- - - + + + The information about the plural form selection has to be stored in the header entry of the PO file (the one with the empty msgid string). The plural form information looks like this: @@ -668,7 +668,7 @@ value of nplurals.

- + The following rules are known at this point. The language with families are listed. But this does not necessarily mean the information can be generalized for the whole family (as can be easily seen in the table @@ -722,7 +722,7 @@ Languages with this property include:

Germanic family
-Danish, Dutch, English, German, Norwegian, Swedish +Danish, Dutch, English, Faroese, German, Norwegian, Swedish
Finno-Ugric family
Estonian, Finnish @@ -876,11 +876,11 @@ Slovenian -

10.2.6 How to use gettext in GUI programs

+

10.2.6 How to use gettext in GUI programs

- - - + + +

@@ -957,7 +957,7 @@ fine:

- +

   char *
@@ -1032,9 +1032,9 @@ quite some memory and disk space by doing this.
 

-

10.2.7 Optimization of the *gettext functions

+

10.2.7 Optimization of the *gettext functions

- +

@@ -1087,10 +1087,10 @@ find the result through a single cache lookup.

-

10.3 Comparing the Two Interfaces

+

10.3 Comparing the Two Interfaces

- - + +

@@ -1140,7 +1140,7 @@ by

- +

 #include <libintl.h>
@@ -1155,7 +1155,7 @@ can use any that becomes available.
 
 

- + The same procedure can be done for the gettext_noop invocations (see section 3.6 Special Cases of Translatable Strings). One usually defines gettext_noop as a no-op macro. So you should consider the following code for your project: @@ -1234,12 +1234,12 @@ little bit. But it is not impossible to overcome.

catgets allows same original entry to have different translations, but gettext has another, scalable approach for solving ambiguities -of this kind: See section 10.2.2 Solving Ambiguities. +of this kind: See section 10.2.2 Solving Ambiguities.

-

10.4 Using libintl.a in own programs

+

10.4 Using libintl.a in own programs

Starting with version 0.9.4 the library libintl.h should be @@ -1250,7 +1250,7 @@ and the library in directories selected using the $(prefix).

-

10.5 Being a gettext grok

+

10.5 Being a gettext grok

To fully exploit the functionality of the GNU gettext library it @@ -1263,7 +1263,7 @@ is a list comments:

  • Changing the language at runtime - + For interactive programs it might be useful to offer a selection of the used language at runtime. To understand how to do this one need to know @@ -1280,20 +1280,20 @@ priority:
    1. LANGUAGE - + - +
    2. LC_ALL - - - - - - + + + + + +
    3. LC_xxx, according to selected locale - +
    4. LANG
    @@ -1311,7 +1311,7 @@ But there is one little hook. The code for gcc-2.7.0 and up provides some optimization. This optimization normally prevents the calling of the dcgettext function as long as no new catalog is loaded. But if dcgettext is not called the program also cannot find the -LANGUAGE variable be changed (see section 10.2.7 Optimization of the *gettext functions). A +LANGUAGE variable be changed (see section 10.2.7 Optimization of the *gettext functions). A solution for this is very easy. Include the following code in the language switching function. @@ -1327,9 +1327,9 @@ language switching function. }
- + The variable _nl_msg_cat_cntr is defined in `loadmsgcat.c´. -You don't need to know what this is for. But it can be used to detect +You don't need to know what this is for. But it can be used to detect whether a gettext implementation is GNU gettext and not non-GNU system's native gettext implementation. @@ -1337,11 +1337,11 @@ system's native gettext implementation. -

10.6 Temporary Notes for the Programmers Chapter

+

10.6 Temporary Notes for the Programmers Chapter

-

10.6.1 Temporary - Two Possible Implementations

+

10.6.1 Temporary - Two Possible Implementations

There are two competing methods for language independent messages: @@ -1373,7 +1373,7 @@ see the Programming for Internationalization FAQ.

-

10.6.2 Temporary - About catgets

+

10.6.2 Temporary - About catgets

There have been a few discussions of late on the use of @@ -1418,7 +1418,7 @@ of all Unix systems.

-

10.6.3 Temporary - Why a single implementation

+

10.6.3 Temporary - Why a single implementation

Now it seems kind of wasteful to me to have two different systems @@ -1463,7 +1463,7 @@ the future.

-

10.6.4 Temporary - Notes

+

10.6.4 Temporary - Notes

X/Open agreed very late on the standard form so that many diff --git a/gettext-tools/doc/gettext_11.html b/gettext-tools/doc/gettext_11.html index 6a50ad333..2350dc72e 100644 --- a/gettext-tools/doc/gettext_11.html +++ b/gettext-tools/doc/gettext_11.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 11 The Translator's View @@ -10,11 +10,11 @@ Go to the first, previous


-

11 The Translator's View

+

11 The Translator's View

-

11.1 Introduction 0

+

11.1 Introduction 0

Free software is going international! The Translation Project is a way @@ -92,7 +92,7 @@ you can work on.

-

11.2 Introduction 1

+

11.2 Introduction 1

This is now official, GNU is going international! Here is the @@ -142,7 +142,7 @@ document, please e-mail to `translation@iro.umontreal.ca´.

-

11.3 Discussions

+

11.3 Discussions

Facing this internationalization effort, a few users expressed their @@ -199,10 +199,11 @@ the GNU Library General Public License, when they do not want to make their program free, or want other kinds of freedom. The simplest answer is "normally not". -The GNU gettext library, i.e. the contents of libintl, -is covered by the GNU Library General Public License. The rest of -the GNU gettext package is covered by the GNU General Public -License. +The gettext-runtime part of GNU gettext, i.e. the +contents of libintl, is covered by the GNU Library General Public +License. The gettext-tools part of GNU gettext, i.e. the +rest of the GNU gettext package, is covered by the GNU General +Public License. The mere marking of localizable strings in a package, or conditional inclusion of a few lines for initialization, is not really including @@ -219,7 +220,7 @@ software. -

11.4 Organization

+

11.4 Organization

On a larger scale, the true solution would be to organize some kind of @@ -263,7 +264,7 @@ reaches the Translation Project coordinator. -

11.4.1 Central Coordination

+

11.4.1 Central Coordination

I also think GNU will need sooner than it thinks, that someone setup @@ -288,7 +289,7 @@ overwhelming task, the time to put delegations in place.

-

11.4.2 National Teams

+

11.4.2 National Teams

I suggest we look for volunteer coordinators/editors for individual @@ -344,14 +345,14 @@ him specifically of incoming releases.

I'm sure, that is a good idea to get teams for each language working -on translations. That will make the translations better and more +on translations. That will make the translations better and more consistent.

-

11.4.2.1 Sub-Cultures

+

11.4.2.1 Sub-Cultures

Taking French for example, there are a few sub-cultures around computers @@ -373,7 +374,7 @@ means soon!

-

11.4.2.2 Organizational Ideas

+

11.4.2.2 Organizational Ideas

I expect the next big changes after the official release. Please note @@ -410,7 +411,7 @@ this also seems to work). -

11.4.3 Mailing Lists

+

11.4.3 Mailing Lists

If we get any inquiries about GNU gettext, send them on to: @@ -464,7 +465,7 @@ subscribe as they see fit, as long as each team is represented in it.

-

11.5 Information Flow

+

11.5 Information Flow

There will surely be some discussion about this messages after the @@ -510,6 +511,150 @@ I sent a proposal for a fast and flexible format, but it is not receiving acceptance yet by the GNU deciders. I'll tell you when I have more information about this. +

+ + +

11.6 Prioritizing messages: How to determine which messages to translate first

+ +

+A translator sometimes has only a limited amount of time per week to +spend on a package, and some packages have quite large message catalogs +(over 1000 messages). Therefore she wishes to translate the messages +first that are the most visible to the user, or that occur most frequently. +This section describes how to determine these "most urgent" messages. +It also applies to determine the "next most urgent" messages after the +message catalog has already been partially translated. + +

+

+In a first step, she uses the programs like a user would do. While she +does this, the GNU gettext library logs into a file the not yet +translated messages for which a translation was requested from the program. + +

+

+In a second step, she uses the PO mode to translate precisely this set +of messages. + +

+

+ +Here a more details. The GNU libintl library (but not the +corresponding functions in GNU libc) supports an environment variable +GETTEXT_LOG_UNTRANSLATED. The GNU libintl library will +log into this file the messages for which gettext() and related +functions couldn't find the translation. If the file doesn't exist, it +will be created as needed. On systems with GNU libc a shared library +`preloadable_libintl.so´ is provided that can be used with the ELF +`LD_PRELOAD´ mechanism. + +

+

+So, in the first step, the translator uses these commands on systems with +GNU libc: + +

+ +
+$ LD_PRELOAD=/usr/local/lib/preloadable_libintl.so
+$ export LD_PRELOAD
+$ GETTEXT_LOG_UNTRANSLATED=$HOME/gettextlogused
+$ export GETTEXT_LOG_UNTRANSLATED
+
+ +

+and these commands on other systems: + +

+ +
+$ GETTEXT_LOG_UNTRANSLATED=$HOME/gettextlogused
+$ export GETTEXT_LOG_UNTRANSLATED
+
+ +

+Then she uses and peruses the programs. (It is a good and recommended +practice to use the programs for which you provide translations: it +gives you the needed context.) When done, she removes the environment +variables: + +

+ +
+$ unset LD_PRELOAD
+$ unset GETTEXT_LOG_UNTRANSLATED
+
+ +

+The second step starts with removing duplicates: + +

+ +
+$ msguniq $HOME/gettextlogused > missing.po
+
+ +

+The result is a PO file, but needs some preprocessing before the Emacs PO +mode can be used with it. First, it is a multi-domain PO file, containing +messages from many translation domains. Second, it lacks all translator +comments and source references. Here is how to get a list of the affected +translation domains: + +

+ +
+$ sed -n -e 's,^domain "\(.*\)"$,\1,p' < missing.po | sort | uniq
+
+ +

+Then the translator can handle the domains one by one. For simplicity, +let's use environment variables to denote the language, domain and source +package. + +

+ +
+$ lang=nl             # your language
+$ domain=coreutils    # the name of the domain to be handled
+$ package=/usr/src/gnu/coreutils-4.5.4   # the package where it comes from
+
+ +

+She takes the latest copy of `$lang.po´ from the Translation Project, +or from the package (in most cases, `$package/po/$lang.po´), or +creates a fresh one if she's the first translator (see section 5 Creating a New PO File). +She then uses the following commands to mark the not urgent messages as +"obsolete". (This doesn't mean that these messages - translated and +untranslated ones - will go away. It simply means that Emacs PO mode +will ignore them in the following editing session.) + +

+ +
+$ msggrep --domain=$domain missing.po | grep -v '^domain' \
+  > $domain-missing.po
+$ msgattrib --set-obsolete --ignore-file $domain-missing.po $domain.$lang.po \
+  > $domain.$lang-urgent.po
+
+ +

+The she translates `$domain.$lang-urgent.po´ by use of Emacs PO mode. +(FIXME: I don't know whether KBabel and gtranslator also +preserve obsolete messages, as they should.) +Finally she restores the not urgent messages (with their earlier +translations, for those which were already translated) through this command: + +

+ +
+$ msgmerge --no-fuzzy-matching $domain.$lang-urgent.po $package/po/$domain.pot \
+  > $domain.$lang.po
+
+ +

+Then she can submit `$domain.$lang.po´ and proceed to the next domain. +


Go to the first, previous, next, last section, table of contents. diff --git a/gettext-tools/doc/gettext_12.html b/gettext-tools/doc/gettext_12.html index 92ee7cd02..a16fcf42c 100644 --- a/gettext-tools/doc/gettext_12.html +++ b/gettext-tools/doc/gettext_12.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 12 The Maintainer's View @@ -10,15 +10,15 @@ Go to the first, previous


-

12 The Maintainer's View

+

12 The Maintainer's View

- +

The maintainer of a package has many responsibilities. One of them is ensuring that the package will install easily on many platforms, -and that the magic we described earlier (see section 9 The User's View) will work +and that the magic we described earlier (see section 9 The User's View) will work for installers and end users.

@@ -52,7 +52,7 @@ for changes. -

12.1 Flat or Non-Flat Directory Structures

+

12.1 Flat or Non-Flat Directory Structures

Some free software packages are distributed as tar files which unpack @@ -85,11 +85,11 @@ use this as an opportunity to unflatten their package structure.

-

12.2 Prerequisite Works

+

12.2 Prerequisite Works

- - - + + +

@@ -186,7 +186,7 @@ never try to solve a team's problem on your own.

-

12.3 Invoking the gettextize Program

+

12.3 Invoking the gettextize Program

The gettextize program is an interactive tool that helps the @@ -221,7 +221,7 @@ GNU gettext.

  • It performs as many of the tasks mentioned in the next section -section 12.4 Files You Must Create or Alter as can be performed automatically. +section 12.4 Files You Must Create or Alter as can be performed automatically.
  • It removes obsolete files and idioms used for previous GNU @@ -238,8 +238,8 @@ It can be invoked as follows:

    - - + +

     gettextize [ option... ] [ directory ]
    @@ -255,8 +255,8 @@ and accepts the following options:
     
    `--copy´
    - - + + Copy the needed files instead of making symbolic links. Using links would allow the package to always use the latest gettext code available on the system, but it might disturb some mechanism the @@ -267,23 +267,23 @@ maintainer is used to apply to the sources. Because running
    `--force´
    - - + + Force replacement of files which already exist.
    `--intl´
    - + Install the libintl sources in a subdirectory named `intl/´. This libintl will be used to provide internationalization on systems -that don't have GNU libintl installed. If this option is omitted, +that don't have GNU libintl installed. If this option is omitted, the call to AM_GNU_GETTEXT in `configure.in´ should read: `AM_GNU_GETTEXT([external])´, and internationalization will not be enabled on systems lacking GNU gettext.
    `--no-changelog´
    - + Don't update or create ChangeLog files. By default, gettextize logs all changes (file additions, modifications and removals) in a file called `ChangeLog´ in each affected directory. @@ -292,20 +292,20 @@ file called `ChangeLog´ in each affected directory.
    `--dry-run´
    - - + + Print modifications but don't perform them. All actions that gettextize would normally execute are inhibited and instead only listed on standard output.
    `--help´
    - + Display this help and exit.
    `--version´
    - + Output version information and exit.
  • @@ -342,7 +342,7 @@ A `po/´ directory is created for eventually holding all translation files, but initially only containing the file `po/Makefile.in.in´ from the GNU gettext distribution (beware the double `.in´ in the file name) and a few auxiliary -files. If the `po/´ directory already exists, it will be preserved +files. If the `po/´ directory already exists, it will be preserved along with the files it contains, and only `Makefile.in.in´ and the auxiliary files will be overwritten. @@ -357,7 +357,7 @@ the `intl/´ directory is emptied first.
  • The files `config.rpath´ and `mkinstalldirs´ are copied into -the directory containing configuration support files. It is needed by +the directory containing configuration support files. It is needed by the AM_GNU_GETTEXT autoconf macro.
  • @@ -408,7 +408,7 @@ It is important to understand that gettextize can not do the entire job of adapting a package for using GNU gettext. The amount of remaining work depends on whether the package uses GNU automake or not. But in any case, the maintainer should still -read the section section 12.4 Files You Must Create or Alter after invoking gettextize. +read the section section 12.4 Files You Must Create or Alter after invoking gettextize.

    @@ -416,14 +416,14 @@ It is also important to understand that gettextize is not part of the GNU build system, in the sense that it should not be invoked automatically, and not be invoked by someone who doesn't assume the responsibilities of a package maintainer. For the latter purpose, a -separate tool is provided, see section 12.6.3 Invoking the autopoint Program. +separate tool is provided, see section 12.6.3 Invoking the autopoint Program.

    -

    12.4 Files You Must Create or Alter

    +

    12.4 Files You Must Create or Alter

    - +

    @@ -438,7 +438,7 @@ changes needed in each.

    So, here comes a list of files, each one followed by a description of all alterations it needs. Many examples are taken out from the GNU -gettext 0.12-pre1 distribution itself, or from the GNU +gettext 0.12-pre4 distribution itself, or from the GNU hello distribution (http://www.franken.de/users/gnu/ke/hello or http://www.gnu.franken.de/ke/hello/) You may indeed refer to the source code of the GNU gettext and GNU hello @@ -449,9 +449,9 @@ gettext functionality. -

    12.4.1 `POTFILES.in´ in `po/´

    +

    12.4.1 `POTFILES.in´ in `po/´

    - +

    @@ -495,9 +495,9 @@ case of bison), not the generated C file.

    -

    12.4.2 `LINGUAS´ in `po/´

    +

    12.4.2 `LINGUAS´ in `po/´

    - +

    @@ -519,53 +519,73 @@ that these languages are currently supported by your package. If you want to further restrict, at installation time, the set of installed languages, this should not be done by modifying the `LINGUAS´ file, but rather by using the LINGUAS environment variable -(see section 9.2 Magic for Installers). +(see section 9.2 Magic for Installers). + +

    +

    +It is recommended that you add the "languages" `en@quot´ and +`en@boldquot´ to the LINGUAS file. en@quot is a +variant of English message catalogs (en) which uses real quotation +marks instead of the ugly looking asymmetric ASCII substitutes ``´ +and `'´. en@boldquot is a variant of en@quot that +additionally outputs quoted pieces of text in a bold font, when used in +a terminal emulator which supports the VT100 escape sequences (such as +xterm or the Linux console, but not Emacs in M-x shell mode). + +

    +

    +These extra message catalogs `en@quot´ and `en@boldquot´ +are constructed automatically, not by translators; to support them, you +need the files `Rules-quot´, `quot.sed´, `boldquot.sed´, +`en@quot.header´, `en@boldquot.header´, `insert-header.sin´ +in the `po/´ directory. You can copy them from GNU gettext's `po/´ +directory; they are also installed by running gettextize.

    -

    12.4.3 `Makefile´ pieces in `po/´

    +

    12.4.3 `Makefile´ pieces in `po/´

    - +

    The `po/´ directory also has a file named `Makevars´. It can be left unmodified if your package has a single message domain -and, accordingly, a single `po/´ directory. Only packages which +and, accordingly, a single `po/´ directory. Only packages which have multiple `po/´ directories at different locations need to adjust the three variables defined in `Makevars´.

    `po/Makevars´ gets inserted into the `po/Makefile´ when the -latter is created. At the same time, all files called `Rules-*´ in the -`po/´ directory get appended to the `po/Makefile´. They present +latter is created. At the same time, all files called `Rules-*´ in the +`po/´ directory get appended to the `po/Makefile´. They present an opportunity to add rules for special PO files to the Makefile, without needing to mess with `po/Makefile.in.in´.

    - - + + GNU gettext comes with a `Rules-quot´ file, containing rules for -building catalogs `en@quot.po´ and `en@boldquot.po´. The +building catalogs `en@quot.po´ and `en@boldquot.po´. The effect of `en@quot.po´ is that people who set their LANGUAGE environment variable to `en@quot´ will get messages with proper looking symmetric Unicode quotation marks instead of abusing the ASCII -grave accent and the ASCII apostrophe for indicating quotations. To +grave accent and the ASCII apostrophe for indicating quotations. To enable this catalog, simply add en@quot to the `po/LINGUAS´ -file. The effect of `en@boldquot.po´ is that people who set +file. The effect of `en@boldquot.po´ is that people who set LANGUAGE to `en@boldquot´ will get not only proper quotation marks, but also the quoted text will be shown in a bold font on terminals -and consoles. This catalog is useful only for command-line programs, not -GUI programs. To enable it, similarly add en@boldquot to the +and consoles. This catalog is useful only for command-line programs, not +GUI programs. To enable it, similarly add en@boldquot to the `po/LINGUAS´ file.

    -

    12.4.4 `configure.in´ at top level

    +

    12.4.4 `configure.in´ at top level

    `configure.in´ or `configure.ac´ - this is the source from which @@ -576,14 +596,14 @@ GUI programs. To enable it, similarly add en@boldquot to the

    1. Declare the package and version. - + This is done by a set of lines like these:
       PACKAGE=gettext
      -VERSION=0.12-pre1
      +VERSION=0.12-pre4
       AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
       AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
       AC_SUBST(PACKAGE)
      @@ -594,13 +614,13 @@ or, if you are using GNU automake, by a line like this:
       
       
       
      -AM_INIT_AUTOMAKE(gettext, 0.12-pre1)
      +AM_INIT_AUTOMAKE(gettext, 0.12-pre4)
       
      Of course, you replace `gettext´ with the name of your package, -and `0.12-pre1´ by its version numbers, exactly as they +and `0.12-pre4´ by its version numbers, exactly as they should appear in the packaged tar file name of your distribution -(`gettext-0.12-pre1.tar.gz´, here). +(`gettext-0.12-pre4.tar.gz´, here).
    2. Check for internationalization support. @@ -647,7 +667,7 @@ add intl/Makefile to the AC_OUTPUT line. -

      12.4.5 `config.guess´, `config.sub´ at top level

      +

      12.4.5 `config.guess´, `config.sub´ at top level

      If you haven't suppressed the `intl/´ subdirectory, @@ -681,9 +701,9 @@ AC_CONFIG_AUX_DIR([subdir]) -

      12.4.6 `mkinstalldirs´ at top level

      +

      12.4.6 `mkinstalldirs´ at top level

      - +

      @@ -708,9 +728,9 @@ AC_CONFIG_AUX_DIR([subdir]) -

      12.4.7 `aclocal.m4´ at top level

      +

      12.4.7 `aclocal.m4´ at top level

      - +

      @@ -763,9 +783,9 @@ piece of m4 code will be the same for all projects using GNU

      -

      12.4.8 `acconfig.h´ at top level

      +

      12.4.8 `acconfig.h´ at top level

      - +

      @@ -779,9 +799,9 @@ independently from the `intl/´ directory.

      -

      12.4.9 `config.h.in´ at top level

      +

      12.4.9 `config.h.in´ at top level

      - +

      @@ -820,7 +840,7 @@ following lines to `config.h.in´: -

      12.4.10 `Makefile.in´ at top level

      +

      12.4.10 `Makefile.in´ at top level

      Here are a few modifications you need to make to your main, top-level @@ -907,7 +927,7 @@ to `Makefile.am´ are already made by running `gettextize&ac

      -

      12.4.11 `Makefile.in´ in `src/´

      +

      12.4.11 `Makefile.in´ in `src/´

      Some of the modifications made in the main `Makefile.in´ will @@ -980,7 +1000,7 @@ Note that @datadir@ defaults to `$(prefix)/share´@LIBINTL@ or @LTLIBINTL@ as a library. @LIBINTL@ is for use without -libtool, @LTLIBINTL@ is for use with libtool. An +libtool, @LTLIBINTL@ is for use with libtool. An easy way to achieve this is to manage that it gets into LIBS, like this: @@ -1028,25 +1048,25 @@ dist: Makefile $(DISTFILES) -

      12.4.12 `gettext.h´ in `lib/´

      +

      12.4.12 `gettext.h´ in `lib/´

      - - - + + +

      Internationalization of packages, as provided by GNU gettext, is -optional. It can be turned off in two situations: +optional. It can be turned off in two situations:

      • -When the installer has specified `./configure --disable-nls´. This +When the installer has specified `./configure --disable-nls´. This can be useful when small binaries are more important than features, for -example when building utilities for boot diskettes. It can also be useful +example when building utilities for boot diskettes. It can also be useful in order to get some specific C compiler warnings about code quality with some older versions of GCC (older than 3.0). @@ -1060,23 +1080,23 @@ error.

      -A C preprocessor macro can be used to detect these two cases. Usually, +A C preprocessor macro can be used to detect these two cases. Usually, when libintl.h was found and not explicitly disabled, the ENABLE_NLS macro will be defined to 1 in the autoconf generated -configuration file (usually called `config.h´). In the two negative +configuration file (usually called `config.h´). In the two negative situations, however, this macro will not be defined, thus it will evaluate to 0 in C preprocessor expressions.

      - + `gettext.h´ is a convenience header file for conditional use of -`<libintl.h>´, depending on the ENABLE_NLS macro. If +`<libintl.h>´, depending on the ENABLE_NLS macro. If ENABLE_NLS is set, it includes `<libintl.h>´; otherwise it -defines no-op substitutes for the libintl.h functions. We recommend +defines no-op substitutes for the libintl.h functions. We recommend the use of "gettext.h" over direct use of `<libintl.h>´, so that portability to older systems is guaranteed and installers can -turn off internationalization if they want to. In the C code, you will +turn off internationalization if they want to. In the C code, you will then write

      @@ -1096,21 +1116,21 @@ instead of

      The location of gettext.h is usually in a directory containing -auxiliary include files. In many GNU packages, there is a directory +auxiliary include files. In many GNU packages, there is a directory `lib/´ containing helper functions; `gettext.h´ fits there. In other packages, it can go into the `src´ directory.

      -Do not install the gettext.h file in public locations. Every +Do not install the gettext.h file in public locations. Every package that needs it should contain a copy of it on its own.

      -

      12.5 Autoconf macros for use in `configure.in´

      +

      12.5 Autoconf macros for use in `configure.in´

      - +

      @@ -1123,18 +1143,19 @@ The primary macro is, of course, AM_GNU_GETTEXT. -

      12.5.1 AM_GNU_GETTEXT in `gettext.m4´

      +

      12.5.1 AM_GNU_GETTEXT in `gettext.m4´

      - + The AM_GNU_GETTEXT macro tests for the presence of the GNU gettext function family in either the C library or a separate libintl library (shared or static libraries are both supported) or in the package's -`intl/´ directory. +`intl/´ directory. It also invokes AM_PO_SUBDIRS, thus preparing +the `po/´ directories of the package for building.

      -AM_GNU_GETTEXT accepts up to three optional arguments. The general +AM_GNU_GETTEXT accepts up to three optional arguments. The general syntax is

      @@ -1171,13 +1192,13 @@ implies `need-ngettext´.

      The AM_GNU_GETTEXT macro determines whether GNU gettext is -available and should be used. If so, it sets the USE_NLS variable +available and should be used. If so, it sets the USE_NLS variable to `yes´; it defines ENABLE_NLS to 1 in the autoconf generated configuration file (usually called `config.h´); it sets the variables LIBINTL and LTLIBINTL to the linker options for use in a Makefile (LIBINTL for use without libtool, LTLIBINTL for use with libtool); it adds an `-I´ option to -CPPFLAGS if necessary. In the negative case, it sets +CPPFLAGS if necessary. In the negative case, it sets USE_NLS to `no´; it sets LIBINTL and LTLIBINTL to empty and doesn't change CPPFLAGS. @@ -1190,9 +1211,9 @@ The complexities that AM_GNU_GETTEXT deals with are the following:

      • - + Some operating systems have gettext in the C library, for example -glibc. Some have it in a separate library libintl. GNU libintl +glibc. Some have it in a separate library libintl. GNU libintl might have been installed as part of the GNU gettext package.
      • @@ -1211,43 +1232,63 @@ to the user's locale encoding.
      • GNU libintl, if installed, is not necessarily already in the -run time library search path. To avoid the need for setting an environment +run time library search path. To avoid the need for setting an environment variable like LD_LIBRARY_PATH, the macro adds the appropriate run time search path options to the LIBINTL and LTLIBINTL -variables. This works on most systems, but not on some operating systems +variables. This works on most systems, but not on some operating systems with limited shared library support, like SCO.
      • -GNU libintl relies on POSIX iconv. The macro checks for +GNU libintl relies on POSIX/XSI iconv. The macro checks for linker options needed to use iconv and appends them to the LIBINTL and LTLIBINTL variables.
      -

      12.5.2 AM_GNU_GETTEXT_VERSION in `gettext.m4´

      +

      12.5.2 AM_GNU_GETTEXT_VERSION in `gettext.m4´

      - + The AM_GNU_GETTEXT_VERSION macro declares the version number of the GNU gettext infrastructure that is used by the package.

      The use of this macro is optional; only the autopoint program makes -use of it (see section 12.6 Integrating with CVS). +use of it (see section 12.6 Integrating with CVS). + +

      + + +

      12.5.3 AM_PO_SUBDIRS in `po.m4´

      + +

      + +The AM_PO_SUBDIRS macro prepares the `po/´ directories of the +package for building. This macro should be used in internationalized +programs written in other programming languages than C, C++, Objective C, +for example sh, Python, Lisp. See section 13 Other Programming Languages for a list of programming languages that support localization +through PO files. + +

      +

      +The AM_PO_SUBDIRS macro determines whether internationalization +should be used. If so, it sets the USE_NLS variable to `yes´, +otherwise to `no´. It also determines the right values for Makefile +variables in each `po/´ directory.

      -

      12.5.3 AM_ICONV in `iconv.m4´

      +

      12.5.4 AM_ICONV in `iconv.m4´

      - -The AM_ICONV macro tests for the presence of the POSIX + +The AM_ICONV macro tests for the presence of the POSIX/XSI iconv function family in either the C library or a separate -libiconv library. If found, it sets the am_cv_func_iconv +libiconv library. If found, it sets the am_cv_func_iconv variable to `yes´; it defines HAVE_ICONV to 1 in the autoconf generated configuration file (usually called `config.h´); it defines ICONV_CONST to `const´ or to empty, depending on whether the @@ -1256,7 +1297,7 @@ second argument of iconv() is of type `const char **´LTLIBICONV to the linker options for use in a Makefile (LIBICONV for use without libtool, LTLIBICONV for use with libtool); it adds an `-I´ option to CPPFLAGS if -necessary. If not found, it sets LIBICONV and LTLIBICONV to +necessary. If not found, it sets LIBICONV and LTLIBICONV to empty and doesn't change CPPFLAGS.

      @@ -1268,11 +1309,11 @@ The complexities that AM_ICONV deals with are the following:
      • - + Some operating systems have iconv in the C library, for example -glibc. Some have it in a separate library libiconv, for example -OSF/1 or FreeBSD. Regardless of the operating system, GNU libiconv -might have been installed. In that case, it should be used instead of the +glibc. Some have it in a separate library libiconv, for example +OSF/1 or FreeBSD. Regardless of the operating system, GNU libiconv +might have been installed. In that case, it should be used instead of the operating system's native iconv.
      • @@ -1291,9 +1332,9 @@ crashes.
      • GNU libiconv, if installed, is not necessarily already in the -run time library search path. To avoid the need for setting an environment +run time library search path. To avoid the need for setting an environment variable like LD_LIBRARY_PATH, the macro adds the appropriate -run time search path options to the LIBICONV variable. This works +run time search path options to the LIBICONV variable. This works on most systems, but not on some operating systems with limited shared library support, like SCO.
      @@ -1305,7 +1346,7 @@ library support, like SCO.

      -

      12.6 Integrating with CVS

      +

      12.6 Integrating with CVS

      Many projects use CVS for distributed development, version control and @@ -1316,13 +1357,13 @@ of cvs, gettextize, autopoint and a -

      12.6.1 Avoiding version mismatch in distributed development

      +

      12.6.1 Avoiding version mismatch in distributed development

      In a project development with multiple developers, using CVS, there should be a single developer who occasionally - when there is desire to upgrade to a new gettext version - runs gettextize and -performs the changes listed in section 12.4 Files You Must Create or Alter, and then commits +performs the changes listed in section 12.4 Files You Must Create or Alter, and then commits his changes to the CVS.

      @@ -1364,7 +1405,7 @@ undiscovered due to this constellation. -

      12.6.2 Files to put under CVS version control

      +

      12.6.2 Files to put under CVS version control

      There are basically three ways to deal with generated files in the @@ -1438,7 +1479,7 @@ form

      -AM_GNU_GETTEXT_VERSION(0.12-pre1)
      +AM_GNU_GETTEXT_VERSION(0.12-pre4)
       

      @@ -1450,11 +1491,11 @@ and adds to the package's pre-build script an invocation of

      -

      12.6.3 Invoking the autopoint Program

      +

      12.6.3 Invoking the autopoint Program

      - - + +

       autopoint [option]...
      @@ -1471,7 +1512,7 @@ this version into the package.
       

      -

      12.6.3.1 Options

      +

      12.6.3.1 Options

      @@ -1479,16 +1520,16 @@ this version into the package.
      `--force´
      - - + + Force overwriting of files that already exist.
      `-n´
      `--dry-run´
      - - + + Print modifications but don't perform them. All file copying actions that autopoint would normally execute are inhibited and instead only listed on standard output. @@ -1497,26 +1538,26 @@ listed on standard output. -

      12.6.3.2 Informative output

      +

      12.6.3.2 Informative output

      `--help´
      - + Display this help and exit.
      `--version´
      - + Output version information and exit.

      autopoint supports the GNU gettext versions from 0.10.35 to -the current one, 0.12-pre1. In order to apply autopoint to -a package using a gettext version newer than 0.12-pre1, you +the current one, 0.12-pre4. In order to apply autopoint to +a package using a gettext version newer than 0.12-pre4, you need to install this same version of GNU gettext at least.

      diff --git a/gettext-tools/doc/gettext_13.html b/gettext-tools/doc/gettext_13.html index 4d5aa0574..8e294933b 100644 --- a/gettext-tools/doc/gettext_13.html +++ b/gettext-tools/doc/gettext_13.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 13 Other Programming Languages @@ -10,7 +10,7 @@ Go to the first, previous


      -

      13 Other Programming Languages

      +

      13 Other Programming Languages

      While the presentation of gettext focuses mostly on C and @@ -23,10 +23,10 @@ approach. -

      13.1 The Language Implementor's View

      +

      13.1 The Language Implementor's View

      - - + +

      @@ -124,7 +124,7 @@ different effects on portability and copyright:

    3. You may integrate the GNU gettext's `intl/´ directory in -your package, as described in section 12 The Maintainer's View. This allows you to +your package, as described in section 12 The Maintainer's View. This allows you to have internationalization on all kinds of platforms. Note that when you then distribute your package, it legally falls under the GNU General Public License, and the GNU project will be glad about your contribution @@ -150,7 +150,7 @@ and plural handling). -

      13.2 The Programmer's View

      +

      13.2 The Programmer's View

      For the programmer, the general procedure is the same as for the C @@ -163,7 +163,7 @@ underlying language runtime.

      -

      13.3 The Translator's View

      +

      13.3 The Translator's View

      The translator works exactly as in the C language case. The only @@ -175,7 +175,7 @@ strings. -

      13.3.1 C Format Strings

      +

      13.3.1 C Format Strings

      C format strings are described in POSIX (IEEE P1003.1 2001), section @@ -188,7 +188,7 @@ See also the fprintf(3) manual page,

      -

      13.3.2 Python Format Strings

      +

      13.3.2 Python Format Strings

      Python format strings are described in @@ -202,7 +202,7 @@ Python Library reference /

      -

      13.3.3 Lisp Format Strings

      +

      13.3.3 Lisp Format Strings

      Lisp format strings are described in the Common Lisp HyperSpec, @@ -212,7 +212,7 @@ chapter 22.3 Formatted Output,

      -

      13.3.4 Emacs Lisp Format Strings

      +

      13.3.4 Emacs Lisp Format Strings

      Emacs Lisp format strings are documented in the Emacs Lisp reference, @@ -224,7 +224,7 @@ in format strings while FSF Emacs doesn't.

      -

      13.3.5 librep Format Strings

      +

      13.3.5 librep Format Strings

      librep format strings are documented in the librep manual, section @@ -235,7 +235,7 @@ Formatted Output,

      -

      13.3.6 Smalltalk Format Strings

      +

      13.3.6 Smalltalk Format Strings

      Smalltalk format strings are described in the GNU Smalltalk documentation, @@ -248,7 +248,7 @@ or a nonzero digit (`1´ to `9´).

      -

      13.3.7 Java Format Strings

      +

      13.3.7 Java Format Strings

      Java format strings are described in the JDK documentation for class @@ -260,7 +260,7 @@ See also the ICU documentation

      -

      13.3.8 awk Format Strings

      +

      13.3.8 awk Format Strings

      awk format strings are described in the gawk documentation, section @@ -270,7 +270,7 @@ Printf,

      -

      13.3.9 Object Pascal Format Strings

      +

      13.3.9 Object Pascal Format Strings

      Where is this documented? @@ -278,7 +278,7 @@ Where is this documented?

      -

      13.3.10 YCP Format Strings

      +

      13.3.10 YCP Format Strings

      YCP sformat strings are described in the libycp documentation @@ -289,7 +289,7 @@ or a nonzero digit (`1´ to `9´).

      -

      13.3.11 Tcl Format Strings

      +

      13.3.11 Tcl Format Strings

      Tcl format strings are described in the `format.n´ manual page, @@ -298,7 +298,7 @@ Tcl format strings are described in the `format.n´ manual page,

      -

      13.3.12 PHP Format Strings

      +

      13.3.12 PHP Format Strings

      PHP format strings are described in the documentation of the PHP function @@ -308,7 +308,7 @@ PHP format strings are described in the documentation of the PHP function

      -

      13.4 The Maintainer's View

      +

      13.4 The Maintainer's View

      For the maintainer, the general procedure differs from the C language @@ -328,24 +328,24 @@ invokes the AM_GNU_GETTEXT autoconf macro via

    4. If only a single programming language is used, the XGETTEXT_OPTIONS -variable in `po/Makevars´ (see section 12.4.3 `Makefile´ pieces in `po/´) should be adjusted to +variable in `po/Makevars´ (see section 12.4.3 `Makefile´ pieces in `po/´) should be adjusted to match the xgettext options for that particular programming language. If the package uses more than one programming language with gettext support, it becomes necessary to change the POT file construction rule -in `po/Makefile.in.in´. It is recommended to make one xgettext +in `po/Makefile.in.in´. It is recommended to make one xgettext invocation per programming language, each with the options appropriate for that language, and to combine the resulting files using msgcat. -

      13.5 Individual Programming Languages

      +

      13.5 Individual Programming Languages

      -

      13.5.1 C, C++, Objective C

      +

      13.5.1 C, C++, Objective C

      - +

      @@ -401,7 +401,7 @@ Use
      Formatting with positions
      -fprintf "%2$d %1$d" (POSIX but not C 99) +fprintf "%2$d %1$d" (POSIX/XSI but not C 99)
      In C++: autosprintf "%2$d %1$d" (see section `Introduction' in GNU autosprintf) @@ -416,9 +416,9 @@ yes -

      13.5.2 sh - Shell Script

      +

      13.5.2 sh - Shell Script

      - +

      @@ -441,18 +441,18 @@ bash, gettext
      gettext/ngettext functions
      - - + + gettext, ngettext programs
      textdomain
      - + environment variable TEXTDOMAIN
      bindtextdomain
      - + environment variable TEXTDOMAINDIR
      setlocale @@ -486,9 +486,9 @@ use -

      13.5.3 bash - Bourne-Again Shell Script

      +

      13.5.3 bash - Bourne-Again Shell Script

      - +

      @@ -511,18 +511,18 @@ bash 2.0 or newer, gettext
      gettext/ngettext functions
      - - + + gettext, ngettext programs
      textdomain
      - + environment variable TEXTDOMAIN
      bindtextdomain
      - + environment variable TEXTDOMAINDIR
      setlocale @@ -556,9 +556,9 @@ use -

      13.5.4 Python

      +

      13.5.4 Python

      - +

      @@ -584,7 +584,9 @@ python
      gettext/ngettext functions
      -gettext.gettext, gettext.dgettext, also ugettext +gettext.gettext, gettext.dgettext, +gettext.ngettext, gettext.dngettext, +also ugettext, ungettext
      textdomain
      @@ -606,7 +608,7 @@ not used by the gettext emulation
      Use or emulate GNU gettext
      -emulate. Bug: uses only the first found .mo file, not all of them +emulate. Bug: uses only the first found .mo file, not all of them
      Extractor
      @@ -627,11 +629,11 @@ fully portable -

      13.5.5 GNU clisp - Common Lisp

      +

      13.5.5 GNU clisp - Common Lisp

      - - - + + +

      @@ -695,9 +697,9 @@ On platforms without gettext, no translation. -

      13.5.6 GNU clisp C sources

      +

      13.5.6 GNU clisp C sources

      - +

      @@ -750,7 +752,7 @@ use
      Formatting with positions
      -fprintf "%2$d %1$d" (POSIX but not C 99) +fprintf "%2$d %1$d" (POSIX/XSI but not C 99)
      Portability
      @@ -763,9 +765,9 @@ On platforms without gettext, no translation. -

      13.5.7 Emacs Lisp

      +

      13.5.7 Emacs Lisp

      - +

      @@ -820,7 +822,7 @@ use
      Portability
      -Only XEmacs. Without I18N3 defined at build time, no translation. +Only XEmacs. Without I18N3 defined at build time, no translation.
      po-mode marking
      @@ -829,9 +831,9 @@ Only XEmacs. Without I18N3 defined at build time, no translation. -

      13.5.8 librep

      +

      13.5.8 librep

      - +

      @@ -895,9 +897,9 @@ On platforms without gettext, no translation. -

      13.5.9 GNU Smalltalk

      +

      13.5.9 GNU Smalltalk

      - +

      @@ -963,9 +965,9 @@ fully portable -

      13.5.10 Java

      +

      13.5.10 Java

      - +

      @@ -1030,17 +1032,36 @@ fully portable

      Before marking strings as internationalizable, uses of the string concatenation operator need to be converted to MessageFormat -applications. For example, "file "+filename+" not found" becomes +applications. For example, "file "+filename+" not found" becomes MessageFormat.format("file {0} not found", new Object[] { filename }). Only after this is done, can the strings be marked and extracted.

      GNU gettext uses the native Java internationalization mechanism, namely -ResourceBundles. To convert a PO file to a ResourceBundle, the -msgfmt program can be used with the option --java or ---java2. To convert a ResourceBundle back to a PO file, the -msgunfmt program can be used with the option --java. +ResourceBundles. There are two formats of ResourceBundles: +.properties files and .class files. The .properties +format is a text file which the translators can directly edit, like PO +files, but which doesn't support plural forms. Whereas the .class +format is compiled from .java source code and can support plural +forms (provided it is accessed through an appropriate API, see below). + +

      +

      +To convert a PO file to a .properties file, the msgcat +program can be used with the option --properties-output. To convert +a .properties file back to a PO file, the msgcat program +can be used with the option --properties-input. All the tools +that manipulate PO files can work with .properties files as well, +if given the --properties-input and/or --properties-output +option. + +

      +

      +To convert a PO file to a ResourceBundle class, the msgfmt program +can be used with the option --java or --java2. To convert a +ResourceBundle back to a PO file, the msgunfmt program can be used +with the option --java.

      @@ -1059,10 +1080,11 @@ The java.util.ResourceBundle API. In particular, its getString function returns a string translation. Note that a missing translation yields a MissingResourceException. -This has the advantage of being the standard API. And it does not require -any additional libraries, only the msgfmt generated .class -files. But it cannot do plural handling, even if the resource was generated -from a PO file with plural handling. +This has the advantage of being the standard API. And it does not require +any additional libraries, only the msgcat generated .properties +files or the msgfmt generated .class files. But it cannot do +plural handling, even if the resource was generated by msgfmt from +a PO file with plural handling.

    5. @@ -1073,23 +1095,23 @@ is in the javadoc1 directory and in Javadoc 2 style format in the javadoc2 directory. -Its gettext function returns a string translation. Note that when +Its gettext function returns a string translation. Note that when a translation is missing, the msgid argument is returned unchanged. This has the advantage of having the ngettext function for plural handling. - + To use this API, one needs the libintl.jar file which is part of the GNU gettext package and distributed under the LGPL.
    -

    13.5.11 GNU awk

    +

    13.5.11 GNU awk

    - - + +

    @@ -1155,11 +1177,11 @@ yourself. -

    13.5.12 Pascal - Free Pascal Compiler

    +

    13.5.12 Pascal - Free Pascal Compiler

    - - - + + +

    @@ -1223,17 +1245,18 @@ emulate partially

    The Pascal compiler has special support for the ResourceString data -type. It generates a .rst file. This is then converted to a .pot -file by use of xgettext or rstconv. At runtime, a .mo -file corresponding to translations of this .pot file can be loaded -using the TranslateResourceStrings function in the gettext unit. +type. It generates a .rst file. This is then converted to a +.pot file by use of xgettext or rstconv. At runtime, +a .mo file corresponding to translations of this .pot file +can be loaded using the TranslateResourceStrings function in the +gettext unit.

    -

    13.5.13 wxWindows library

    +

    13.5.13 wxWindows library

    - +

    @@ -1297,10 +1320,10 @@ yes -

    13.5.14 YCP - YaST2 scripting language

    +

    13.5.14 YCP - YaST2 scripting language

    - - + +

    @@ -1364,10 +1387,10 @@ fully portable -

    13.5.15 Tcl - Tk's scripting language

    +

    13.5.15 Tcl - Tk's scripting language

    - - + +

    @@ -1432,22 +1455,22 @@ fully portable

    Before marking strings as internationalizable, substitutions of variables -into the string need to be converted to format applications. For +into the string need to be converted to format applications. For example, "file $filename not found" becomes [format "file %s not found" $filename]. Only after this is done, can the strings be marked and extracted. After marking, this example becomes [format [_ "file %s not found"] $filename] or -[msgcat::mc "file %s not found" $filename]. Note that the +[msgcat::mc "file %s not found" $filename]. Note that the msgcat::mc function implicitly calls format when more than one argument is given.

    -

    13.5.16 Perl

    +

    13.5.16 Perl

    - +

    @@ -1512,9 +1535,9 @@ use -

    13.5.17 PHP Hypertext Preprocessor

    +

    13.5.17 PHP Hypertext Preprocessor

    - +

    @@ -1578,9 +1601,9 @@ On platforms without gettext, the functions are not available. -

    13.5.18 Pike

    +

    13.5.18 Pike

    - +

    @@ -1644,7 +1667,7 @@ On platforms without gettext, the functions are not available. -

    13.6 Internationalizable Data

    +

    13.6 Internationalizable Data

    Here is a list of other data formats which can be internationalized @@ -1654,7 +1677,7 @@ using GNU gettext. -

    13.6.1 POT - Portable Object Template

    +

    13.6.1 POT - Portable Object Template

    @@ -1673,9 +1696,9 @@ gettext -

    13.6.2 Resource String Table

    +

    13.6.2 Resource String Table

    - +

    @@ -1695,7 +1718,7 @@ fpk -

    13.6.3 Glade - GNOME user interface description

    +

    13.6.3 Glade - GNOME user interface description

    diff --git a/gettext-tools/doc/gettext_14.html b/gettext-tools/doc/gettext_14.html index aa04c5c7c..92126d2a0 100644 --- a/gettext-tools/doc/gettext_14.html +++ b/gettext-tools/doc/gettext_14.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 14 Concluding Remarks @@ -10,7 +10,7 @@ Go to the first, previous


    -

    14 Concluding Remarks

    +

    14 Concluding Remarks

    We would like to conclude this GNU gettext manual by presenting @@ -22,9 +22,9 @@ about Native Language Support matters. -

    14.1 History of GNU gettext

    +

    14.1 History of GNU gettext

    - +

    @@ -121,10 +121,10 @@ manipulating PO files.

    -

    14.2 Related Readings

    +

    14.2 Related Readings

    - - + +

    diff --git a/gettext-tools/doc/gettext_15.html b/gettext-tools/doc/gettext_15.html index ec4434581..c65c5ba36 100644 --- a/gettext-tools/doc/gettext_15.html +++ b/gettext-tools/doc/gettext_15.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - A Language Codes @@ -10,10 +10,10 @@ Go to the first, previous


    -

    A Language Codes

    +

    A Language Codes

    - - + +

    diff --git a/gettext-tools/doc/gettext_16.html b/gettext-tools/doc/gettext_16.html index 0548d84ba..7009e3f73 100644 --- a/gettext-tools/doc/gettext_16.html +++ b/gettext-tools/doc/gettext_16.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - B Country Codes @@ -10,10 +10,10 @@ Go to the first, previous


    -

    B Country Codes

    +

    B Country Codes

    - - + +

    diff --git a/gettext-tools/doc/gettext_17.html b/gettext-tools/doc/gettext_17.html index 5fd2d7d34..b7c55aab4 100644 --- a/gettext-tools/doc/gettext_17.html +++ b/gettext-tools/doc/gettext_17.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - Program Index @@ -10,7 +10,7 @@ Go to the first, previous


    -

    Program Index

    +

    Program Index

    Jump to: @@ -26,37 +26,37 @@ Jump to:

    a

    -
  • autopoint +
  • autopoint
  • g

    -
  • gettext, gettext -
  • gettextize +
  • gettext, gettext +
  • gettextize
  • m

    -
  • msgattrib -
  • msgcat -
  • msgcmp -
  • msgcomm -
  • msgconv -
  • msgen -
  • msgexec -
  • msgfilter -
  • msgfmt -
  • msggrep -
  • msginit -
  • msgmerge -
  • msgunfmt -
  • msguniq +
  • msgattrib +
  • msgcat +
  • msgcmp +
  • msgcomm +
  • msgconv +
  • msgen +
  • msgexec +
  • msgfilter +
  • msgfmt +
  • msggrep +
  • msginit +
  • msgmerge +
  • msgunfmt +
  • msguniq
  • n

    -
  • ngettext, ngettext +
  • ngettext, ngettext
  • x

    -
  • xgettext +
  • xgettext
  • diff --git a/gettext-tools/doc/gettext_18.html b/gettext-tools/doc/gettext_18.html index 272b1a803..5b272ddd5 100644 --- a/gettext-tools/doc/gettext_18.html +++ b/gettext-tools/doc/gettext_18.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - Option Index @@ -10,7 +10,7 @@ Go to the first, previous


    -

    Option Index

    +

    Option Index

    Jump to: @@ -18,439 +18,491 @@ Jump to:

    -

    -
  • --add-comments, xgettext option -
  • --add-location, msgattrib option -
  • --add-location, msgcat option -
  • --add-location, msgcomm option -
  • --add-location, msgconv option -
  • --add-location, msgen option -
  • --add-location, msgfilter option -
  • --add-location, msggrep option -
  • --add-location, msgmerge option -
  • --add-location, msguniq option -
  • --add-location, xgettext option -
  • --alignment, msgfmt option -
  • --backup, msgmerge option -
  • --c++, xgettext option -
  • --check, msgfmt option -
  • --check-accelerators, msgfmt option -
  • --check-compatibility, msgfmt option -
  • --check-domain, msgfmt option -
  • --check-format, msgfmt option -
  • --check-header, msgfmt option -
  • --clear-fuzzy, msgattrib option -
  • --clear-obsolete, msgattrib option -
  • --compendium, msgmerge option -
  • --copy, gettextize option -
  • --copyright-holder, xgettext option -
  • --debug, xgettext option -
  • --default-domain, xgettext option -
  • --directory, msgattrib option -
  • --directory, msgcat option -
  • --directory, msgcmp option -
  • --directory, msgcomm option -
  • --directory, msgconv option -
  • --directory, msgen option -
  • --directory, msgexec option -
  • --directory, msgfilter option -
  • --directory, msgfmt option -
  • --directory, msggrep option -
  • --directory, msgmerge option -
  • --directory, msguniq option -
  • --directory, xgettext option -
  • --domain, msggrep option -
  • --dry-run, autopoint option -
  • --dry-run, gettextize option -
  • --exclude-file, xgettext option -
  • --expression, msgfilter option -
  • --extended-regexp, msggrep option -
  • --extract-all, xgettext option -
  • --file, msgfilter option -
  • --file, msggrep option -
  • --files-from, msgcat option -
  • --files-from, msgcomm option -
  • --files-from, xgettext option -
  • --fixed-strings, msggrep option -
  • --force, autopoint option -
  • --force, gettextize option -
  • --force-po, msgattrib option -
  • --force-po, msgcat option -
  • --force-po, msgcomm option -
  • --force-po, msgconv option -
  • --force-po, msgen option -
  • --force-po, msgfilter option -
  • --force-po, msggrep option -
  • --force-po, msgmerge option -
  • --force-po, msgunfmt option -
  • --force-po, msguniq option -
  • --force-po, xgettext option -
  • --foreign-user, xgettext option -
  • --from-code, xgettext option -
  • --fuzzy, msgattrib option -
  • --help, autopoint option -
  • --help, gettextize option -
  • --help, msgattrib option -
  • --help, msgcat option -
  • --help, msgcmp option -
  • --help, msgcomm option -
  • --help, msgconv option -
  • --help, msgen option -
  • --help, msgexec option -
  • --help, msgfilter option -
  • --help, msgfmt option -
  • --help, msggrep option -
  • --help, msginit option -
  • --help, msgmerge option -
  • --help, msgunfmt option -
  • --help, msguniq option -
  • --help, xgettext option -
  • --ignore-case, msggrep option -
  • --ignore-file, msgattrib option -
  • --indent, msgattrib option -
  • --indent, msgcat option -
  • --indent, msgcomm option -
  • --indent, msgconv option -
  • --indent, msgen option -
  • --indent, msgfilter option -
  • --indent, msggrep option -
  • --indent, msgmerge option -
  • --indent, msgunfmt option -
  • --indent, msguniq option -
  • --indent, xgettext option -
  • --input, msgexec option -
  • --input, msgfilter option -
  • --input, msginit option -
  • --intl, gettextize option -
  • --java, msgfmt option -
  • --java, msgunfmt option -
  • --java2, msgfmt option -
  • --join-existing, xgettext option -
  • --keep-header, msgfilter option -
  • --keyword, xgettext option -
  • --language, xgettext option -
  • --less-than, msgcat option -
  • --less-than, msgcomm option -
  • --locale, msgfmt option, --locale, msgfmt option -
  • --locale, msginit option -
  • --locale, msgunfmt option, --locale, msgunfmt option -
  • --location, msggrep option -
  • --more-than, msgcat option -
  • --more-than, msgcomm option -
  • --msgid, msggrep option -
  • --msgstr, msggrep option -
  • --msgstr-prefix, xgettext option -
  • --msgstr-suffix, xgettext option -
  • --multi-domain, msgcmp option -
  • --multi-domain, msgmerge option -
  • --no-changelog, gettextize option -
  • --no-fuzzy, msgattrib option -
  • --no-fuzzy-matching, msgmerge option -
  • --no-hash, msgfmt option -
  • --no-location, msgattrib option -
  • --no-location, msgcat option -
  • --no-location, msgcomm option -
  • --no-location, msgconv option -
  • --no-location, msgen option -
  • --no-location, msgfilter option -
  • --no-location, msggrep option -
  • --no-location, msgmerge option -
  • --no-location, msguniq option -
  • --no-location, xgettext option -
  • --no-obsolete, msgattrib option -
  • --no-translator, msginit option -
  • --no-wrap, msgattrib option -
  • --no-wrap, msgcat option -
  • --no-wrap, msgcomm option -
  • --no-wrap, msgconv option -
  • --no-wrap, msgen option -
  • --no-wrap, msgfilter option -
  • --no-wrap, msggrep option -
  • --no-wrap, msginit option -
  • --no-wrap, msgmerge option -
  • --no-wrap, msgunfmt option -
  • --no-wrap, msguniq option -
  • --no-wrap, xgettext option -
  • --obsolete, msgattrib option -
  • --omit-header, msgcomm option -
  • --omit-header, xgettext option -
  • --only-file, msgattrib option -
  • --only-fuzzy, msgattrib option -
  • --only-obsolete, msgattrib option -
  • --output, xgettext option -
  • --output-dir, xgettext option -
  • --output-file, msgattrib option -
  • --output-file, msgcat option -
  • --output-file, msgcomm option -
  • --output-file, msgconv option -
  • --output-file, msgen option -
  • --output-file, msgfilter option -
  • --output-file, msgfmt option -
  • --output-file, msggrep option -
  • --output-file, msginit option -
  • --output-file, msgmerge option -
  • --output-file, msgunfmt option -
  • --output-file, msguniq option -
  • --quiet, msgfilter option -
  • --quiet, msgmerge option -
  • --regexp=, msggrep option -
  • --repeated, msguniq option -
  • --resource, msgfmt option -
  • --resource, msgunfmt option -
  • --set-fuzzy, msgattrib option -
  • --set-obsolete, msgattrib option -
  • --silent, msgfilter option -
  • --silent, msgmerge option -
  • --sort-by-file, msgattrib option -
  • --sort-by-file, msgcat option -
  • --sort-by-file, msgcomm option -
  • --sort-by-file, msgconv option -
  • --sort-by-file, msgen option -
  • --sort-by-file, msgfilter option -
  • --sort-by-file, msggrep option -
  • --sort-by-file, msgmerge option -
  • --sort-by-file, msguniq option -
  • --sort-by-file, xgettext option -
  • --sort-output, msgattrib option -
  • --sort-output, msgcat option -
  • --sort-output, msgcomm option -
  • --sort-output, msgconv option -
  • --sort-output, msgen option -
  • --sort-output, msgfilter option -
  • --sort-output, msggrep option -
  • --sort-output, msgmerge option -
  • --sort-output, msgunfmt option -
  • --sort-output, msguniq option -
  • --sort-output, xgettext option -
  • --statistics, msgfmt option -
  • --strict, msgattrib option -
  • --strict, msgcat option -
  • --strict, msgcomm option -
  • --strict, msgconv option -
  • --strict, msgen option -
  • --strict, msgfilter option -
  • --strict, msgfmt option -
  • --strict, msggrep option -
  • --strict, msgmerge option -
  • --strict, msgunfmt option -
  • --strict, msguniq option -
  • --strict, xgettext option -
  • --suffix, msgmerge option -
  • --tcl, msgfmt option -
  • --tcl, msgunfmt option -
  • --to-code, msgcat option -
  • --to-code, msgconv option -
  • --to-code, msguniq option -
  • --translated, msgattrib option -
  • --trigraphs, xgettext option -
  • --unique, msgcat option -
  • --unique, msgcomm option -
  • --unique, msguniq option -
  • --untranslated, msgattrib option -
  • --update, msgmerge option -
  • --use-first, msgcat option -
  • --use-first, msguniq option -
  • --use-fuzzy, msgfmt option -
  • --verbose, msgfmt option -
  • --verbose, msgmerge option -
  • --verbose, msgunfmt option -
  • --version, autopoint option -
  • --version, gettextize option -
  • --version, msgattrib option -
  • --version, msgcat option -
  • --version, msgcmp option -
  • --version, msgcomm option -
  • --version, msgconv option -
  • --version, msgen option -
  • --version, msgexec option -
  • --version, msgfilter option -
  • --version, msgfmt option -
  • --version, msggrep option -
  • --version, msginit option -
  • --version, msgmerge option -
  • --version, msgunfmt option -
  • --version, msguniq option -
  • --version, xgettext option -
  • --width, msgattrib option -
  • --width, msgcat option -
  • --width, msgcomm option -
  • --width, msgconv option -
  • --width, msgen option -
  • --width, msgfilter option -
  • --width, msggrep option -
  • --width, msginit option -
  • --width, msgmerge option -
  • --width, msgunfmt option -
  • --width, msguniq option -
  • --width, xgettext option -
  • -<, msgcat option -
  • -<, msgcomm option -
  • ->, msgcat option -
  • ->, msgcomm option -
  • -a, msgfmt option -
  • -a, xgettext option -
  • -c, gettextize option -
  • -C, msgfmt option -
  • -c, msgfmt option -
  • -C, msgmerge option -
  • -c, xgettext option -
  • -C, xgettext option -
  • -d, autopoint option -
  • -d, gettextize option -
  • -D, msgattrib option -
  • -D, msgcat option -
  • -D, msgcmp option -
  • -D, msgcomm option -
  • -D, msgconv option -
  • -D, msgen option -
  • -D, msgexec option -
  • -D, msgfilter option -
  • -d, msgfmt option, -d, msgfmt option -
  • -D, msgfmt option -
  • -D, msggrep option -
  • -D, msgmerge option -
  • -d, msgunfmt option -
  • -d, msguniq option -
  • -D, msguniq option -
  • -D, xgettext option -
  • -d, xgettext option -
  • -e, msgfilter option -
  • -E, msggrep option -
  • -e, msggrep option -
  • -f, autopoint option -
  • -f, gettextize option -
  • -F, msgattrib option -
  • -F, msgcat option -
  • -f, msgcat option -
  • -f, msgcomm option -
  • -F, msgcomm option -
  • -F, msgconv option -
  • -F, msgen option -
  • -F, msgfilter option -
  • -f, msgfilter option -
  • -f, msgfmt option -
  • -f, msggrep option -
  • -F, msggrep option -
  • -F, msgmerge option -
  • -F, msguniq option -
  • -F, xgettext option -
  • -f, xgettext option -
  • -h, msgattrib option -
  • -h, msgcat option -
  • -h, msgcmp option -
  • -h, msgcomm option -
  • -h, msgconv option -
  • -h, msgen option -
  • -h, msgexec option -
  • -h, msgfilter option -
  • -h, msgfmt option -
  • -h, msggrep option -
  • -h, msginit option -
  • -h, msgmerge option -
  • -h, msgunfmt option -
  • -h, msguniq option -
  • -h, xgettext option -
  • -i, msgattrib option -
  • -i, msgcat option -
  • -i, msgcomm option -
  • -i, msgconv option -
  • -i, msgen option -
  • -i, msgexec option -
  • -i, msgfilter option -
  • -i, msggrep option -
  • -i, msginit option -
  • -i, msgmerge option -
  • -i, msgunfmt option -
  • -i, msguniq option -
  • -i, xgettext option -
  • -j, msgfmt option -
  • -j, msgunfmt option -
  • -j, xgettext option -
  • -K, msggrep option -
  • -k, xgettext option -
  • -l, msgfmt option, -l, msgfmt option -
  • -l, msginit option -
  • -l, msgunfmt option, -l, msgunfmt option -
  • -L, xgettext option -
  • -m, msgcmp option -
  • -M, msggrep option -
  • -m, msgmerge option -
  • -M, xgettext option -
  • -m, xgettext option -
  • -n, msgattrib option -
  • -n, msgcat option -
  • -n, msgcomm option -
  • -n, msgfilter option -
  • -N, msggrep option -
  • -N, msgmerge option -
  • -n, msguniq option -
  • -n, xgettext option -
  • -o, msgattrib option -
  • -o, msgcat option -
  • -o, msgcomm option -
  • -o, msgconv option -
  • -o, msgen option -
  • -o, msgfilter option -
  • -o, msgfmt option -
  • -o, msggrep option -
  • -o, msginit option -
  • -o, msgmerge option -
  • -o, msgunfmt option -
  • -o, msguniq option -
  • -o, xgettext option -
  • -p, xgettext option -
  • -q, msgmerge option -
  • -r, msgfmt option -
  • -r, msgunfmt option -
  • -s, msgattrib option -
  • -s, msgcat option -
  • -s, msgcomm option -
  • -s, msgconv option -
  • -s, msgen option -
  • -s, msgfilter option -
  • -s, msgmerge option -
  • -s, msgunfmt option -
  • -s, msguniq option -
  • -s, xgettext option -
  • -t, msgcat option -
  • -t, msgconv option -
  • -T, msggrep option -
  • -t, msguniq option -
  • -T, xgettext option -
  • -u, msgcat option -
  • -u, msgcomm option -
  • -U, msgmerge option -
  • -u, msguniq option -
  • -V, msgattrib option -
  • -V, msgcat option -
  • -V, msgcmp option -
  • -V, msgcomm option -
  • -V, msgconv option -
  • -V, msgen option -
  • -V, msgexec option -
  • -V, msgfilter option -
  • -V, msgfmt option -
  • -v, msgfmt option -
  • -V, msggrep option -
  • -V, msginit option -
  • -v, msgmerge option -
  • -V, msgmerge option -
  • -v, msgunfmt option -
  • -V, msgunfmt option -
  • -V, msguniq option -
  • -V, xgettext option -
  • -w, msgattrib option -
  • -w, msgcat option -
  • -w, msgcomm option -
  • -w, msgconv option -
  • -w, msgen option -
  • -w, msgfilter option -
  • -w, msggrep option -
  • -w, msginit option -
  • -w, msgmerge option -
  • -w, msgunfmt option -
  • -w, msguniq option -
  • -w, xgettext option -
  • -x, xgettext option +
  • --add-comments, xgettext option +
  • --add-location, msgattrib option +
  • --add-location, msgcat option +
  • --add-location, msgcomm option +
  • --add-location, msgconv option +
  • --add-location, msgen option +
  • --add-location, msgfilter option +
  • --add-location, msggrep option +
  • --add-location, msgmerge option +
  • --add-location, msguniq option +
  • --add-location, xgettext option +
  • --alignment, msgfmt option +
  • --backup, msgmerge option +
  • --c++, xgettext option +
  • --check, msgfmt option +
  • --check-accelerators, msgfmt option +
  • --check-compatibility, msgfmt option +
  • --check-domain, msgfmt option +
  • --check-format, msgfmt option +
  • --check-header, msgfmt option +
  • --clear-fuzzy, msgattrib option +
  • --clear-obsolete, msgattrib option +
  • --comment, msggrep option +
  • --compendium, msgmerge option +
  • --copy, gettextize option +
  • --copyright-holder, xgettext option +
  • --debug, xgettext option +
  • --default-domain, xgettext option +
  • --directory, msgattrib option +
  • --directory, msgcat option +
  • --directory, msgcmp option +
  • --directory, msgcomm option +
  • --directory, msgconv option +
  • --directory, msgen option +
  • --directory, msgexec option +
  • --directory, msgfilter option +
  • --directory, msgfmt option +
  • --directory, msggrep option +
  • --directory, msgmerge option +
  • --directory, msguniq option +
  • --directory, xgettext option +
  • --domain, msggrep option +
  • --dry-run, autopoint option +
  • --dry-run, gettextize option +
  • --exclude-file, xgettext option +
  • --expression, msgfilter option +
  • --extended-regexp, msggrep option +
  • --extract-all, xgettext option +
  • --file, msgfilter option +
  • --file, msggrep option +
  • --files-from, msgcat option +
  • --files-from, msgcomm option +
  • --files-from, xgettext option +
  • --fixed-strings, msggrep option +
  • --force, autopoint option +
  • --force, gettextize option +
  • --force-po, msgattrib option +
  • --force-po, msgcat option +
  • --force-po, msgcomm option +
  • --force-po, msgconv option +
  • --force-po, msgen option +
  • --force-po, msgfilter option +
  • --force-po, msggrep option +
  • --force-po, msgmerge option +
  • --force-po, msgunfmt option +
  • --force-po, msguniq option +
  • --force-po, xgettext option +
  • --foreign-user, xgettext option +
  • --from-code, xgettext option +
  • --fuzzy, msgattrib option +
  • --help, autopoint option +
  • --help, gettextize option +
  • --help, msgattrib option +
  • --help, msgcat option +
  • --help, msgcmp option +
  • --help, msgcomm option +
  • --help, msgconv option +
  • --help, msgen option +
  • --help, msgexec option +
  • --help, msgfilter option +
  • --help, msgfmt option +
  • --help, msggrep option +
  • --help, msginit option +
  • --help, msgmerge option +
  • --help, msgunfmt option +
  • --help, msguniq option +
  • --help, xgettext option +
  • --ignore-case, msggrep option +
  • --ignore-file, msgattrib option +
  • --indent, msgattrib option +
  • --indent, msgcat option +
  • --indent, msgcomm option +
  • --indent, msgconv option +
  • --indent, msgen option +
  • --indent, msgfilter option +
  • --indent, msggrep option +
  • --indent, msgmerge option +
  • --indent, msgunfmt option +
  • --indent, msguniq option +
  • --indent, xgettext option +
  • --input, msgexec option +
  • --input, msgfilter option +
  • --input, msginit option +
  • --intl, gettextize option +
  • --java, msgfmt option +
  • --java, msgunfmt option +
  • --java2, msgfmt option +
  • --join-existing, xgettext option +
  • --keep-header, msgfilter option +
  • --keyword, xgettext option +
  • --language, xgettext option +
  • --less-than, msgcat option +
  • --less-than, msgcomm option +
  • --locale, msgfmt option, --locale, msgfmt option +
  • --locale, msginit option +
  • --locale, msgunfmt option, --locale, msgunfmt option +
  • --location, msggrep option +
  • --more-than, msgcat option +
  • --more-than, msgcomm option +
  • --msgid, msggrep option +
  • --msgid-bugs-address, xgettext option +
  • --msgstr, msggrep option +
  • --msgstr-prefix, xgettext option +
  • --msgstr-suffix, xgettext option +
  • --multi-domain, msgcmp option +
  • --multi-domain, msgmerge option +
  • --no-changelog, gettextize option +
  • --no-fuzzy, msgattrib option +
  • --no-fuzzy-matching, msgmerge option +
  • --no-hash, msgfmt option +
  • --no-location, msgattrib option +
  • --no-location, msgcat option +
  • --no-location, msgcomm option +
  • --no-location, msgconv option +
  • --no-location, msgen option +
  • --no-location, msgfilter option +
  • --no-location, msggrep option +
  • --no-location, msgmerge option +
  • --no-location, msguniq option +
  • --no-location, xgettext option +
  • --no-obsolete, msgattrib option +
  • --no-translator, msginit option +
  • --no-wrap, msgattrib option +
  • --no-wrap, msgcat option +
  • --no-wrap, msgcomm option +
  • --no-wrap, msgconv option +
  • --no-wrap, msgen option +
  • --no-wrap, msgfilter option +
  • --no-wrap, msggrep option +
  • --no-wrap, msginit option +
  • --no-wrap, msgmerge option +
  • --no-wrap, msgunfmt option +
  • --no-wrap, msguniq option +
  • --no-wrap, xgettext option +
  • --obsolete, msgattrib option +
  • --omit-header, msgcomm option +
  • --omit-header, xgettext option +
  • --only-file, msgattrib option +
  • --only-fuzzy, msgattrib option +
  • --only-obsolete, msgattrib option +
  • --output, xgettext option +
  • --output-dir, xgettext option +
  • --output-file, msgattrib option +
  • --output-file, msgcat option +
  • --output-file, msgcomm option +
  • --output-file, msgconv option +
  • --output-file, msgen option +
  • --output-file, msgfilter option +
  • --output-file, msgfmt option +
  • --output-file, msggrep option +
  • --output-file, msginit option +
  • --output-file, msgmerge option +
  • --output-file, msgunfmt option +
  • --output-file, msguniq option +
  • --properties-input, msgattrib option +
  • --properties-input, msgcat option +
  • --properties-input, msgcmp option +
  • --properties-input, msgcomm option +
  • --properties-input, msgconv option +
  • --properties-input, msgen option +
  • --properties-input, msgexec option +
  • --properties-input, msgfilter option +
  • --properties-input, msgfmt option +
  • --properties-input, msggrep option +
  • --properties-input, msginit option +
  • --properties-input, msgmerge option +
  • --properties-input, msguniq option +
  • --properties-output, msgattrib option +
  • --properties-output, msgcat option +
  • --properties-output, msgcomm option +
  • --properties-output, msgconv option +
  • --properties-output, msgen option +
  • --properties-output, msgfilter option +
  • --properties-output, msggrep option +
  • --properties-output, msginit option +
  • --properties-output, msgmerge option +
  • --properties-output, msgunfmt option +
  • --properties-output, msguniq option +
  • --properties-output, xgettext option +
  • --quiet, msgfilter option +
  • --quiet, msgmerge option +
  • --regexp=, msggrep option +
  • --repeated, msguniq option +
  • --resource, msgfmt option +
  • --resource, msgunfmt option +
  • --set-fuzzy, msgattrib option +
  • --set-obsolete, msgattrib option +
  • --silent, msgfilter option +
  • --silent, msgmerge option +
  • --sort-by-file, msgattrib option +
  • --sort-by-file, msgcat option +
  • --sort-by-file, msgcomm option +
  • --sort-by-file, msgconv option +
  • --sort-by-file, msgen option +
  • --sort-by-file, msgfilter option +
  • --sort-by-file, msggrep option +
  • --sort-by-file, msgmerge option +
  • --sort-by-file, msguniq option +
  • --sort-by-file, xgettext option +
  • --sort-output, msgattrib option +
  • --sort-output, msgcat option +
  • --sort-output, msgcomm option +
  • --sort-output, msgconv option +
  • --sort-output, msgen option +
  • --sort-output, msgfilter option +
  • --sort-output, msggrep option +
  • --sort-output, msgmerge option +
  • --sort-output, msgunfmt option +
  • --sort-output, msguniq option +
  • --sort-output, xgettext option +
  • --statistics, msgfmt option +
  • --strict, msgattrib option +
  • --strict, msgcat option +
  • --strict, msgcomm option +
  • --strict, msgconv option +
  • --strict, msgen option +
  • --strict, msgfilter option +
  • --strict, msgfmt option +
  • --strict, msggrep option +
  • --strict, msgmerge option +
  • --strict, msgunfmt option +
  • --strict, msguniq option +
  • --strict, xgettext option +
  • --suffix, msgmerge option +
  • --tcl, msgfmt option +
  • --tcl, msgunfmt option +
  • --to-code, msgcat option +
  • --to-code, msgconv option +
  • --to-code, msguniq option +
  • --translated, msgattrib option +
  • --trigraphs, xgettext option +
  • --unique, msgcat option +
  • --unique, msgcomm option +
  • --unique, msguniq option +
  • --untranslated, msgattrib option +
  • --update, msgmerge option +
  • --use-first, msgcat option +
  • --use-first, msguniq option +
  • --use-fuzzy, msgfmt option +
  • --verbose, msgfmt option +
  • --verbose, msgmerge option +
  • --verbose, msgunfmt option +
  • --version, autopoint option +
  • --version, gettextize option +
  • --version, msgattrib option +
  • --version, msgcat option +
  • --version, msgcmp option +
  • --version, msgcomm option +
  • --version, msgconv option +
  • --version, msgen option +
  • --version, msgexec option +
  • --version, msgfilter option +
  • --version, msgfmt option +
  • --version, msggrep option +
  • --version, msginit option +
  • --version, msgmerge option +
  • --version, msgunfmt option +
  • --version, msguniq option +
  • --version, xgettext option +
  • --width, msgattrib option +
  • --width, msgcat option +
  • --width, msgcomm option +
  • --width, msgconv option +
  • --width, msgen option +
  • --width, msgfilter option +
  • --width, msggrep option +
  • --width, msginit option +
  • --width, msgmerge option +
  • --width, msgunfmt option +
  • --width, msguniq option +
  • --width, xgettext option +
  • -<, msgcat option +
  • -<, msgcomm option +
  • ->, msgcat option +
  • ->, msgcomm option +
  • -a, msgfmt option +
  • -a, xgettext option +
  • -c, gettextize option +
  • -c, msgfmt option +
  • -C, msgfmt option +
  • -C, msggrep option +
  • -C, msgmerge option +
  • -C, xgettext option +
  • -c, xgettext option +
  • -d, autopoint option +
  • -d, gettextize option +
  • -D, msgattrib option +
  • -D, msgcat option +
  • -D, msgcmp option +
  • -D, msgcomm option +
  • -D, msgconv option +
  • -D, msgen option +
  • -D, msgexec option +
  • -D, msgfilter option +
  • -d, msgfmt option, -d, msgfmt option +
  • -D, msgfmt option +
  • -D, msggrep option +
  • -D, msgmerge option +
  • -d, msgunfmt option +
  • -D, msguniq option +
  • -d, msguniq option +
  • -D, xgettext option +
  • -d, xgettext option +
  • -e, msgfilter option +
  • -e, msggrep option +
  • -E, msggrep option +
  • -f, autopoint option +
  • -f, gettextize option +
  • -F, msgattrib option +
  • -F, msgcat option +
  • -f, msgcat option +
  • -F, msgcomm option +
  • -f, msgcomm option +
  • -F, msgconv option +
  • -F, msgen option +
  • -f, msgfilter option +
  • -F, msgfilter option +
  • -f, msgfmt option +
  • -f, msggrep option +
  • -F, msggrep option +
  • -F, msgmerge option +
  • -F, msguniq option +
  • -F, xgettext option +
  • -f, xgettext option +
  • -h, msgattrib option +
  • -h, msgcat option +
  • -h, msgcmp option +
  • -h, msgcomm option +
  • -h, msgconv option +
  • -h, msgen option +
  • -h, msgexec option +
  • -h, msgfilter option +
  • -h, msgfmt option +
  • -h, msggrep option +
  • -h, msginit option +
  • -h, msgmerge option +
  • -h, msgunfmt option +
  • -h, msguniq option +
  • -h, xgettext option +
  • -i, msgattrib option +
  • -i, msgcat option +
  • -i, msgcomm option +
  • -i, msgconv option +
  • -i, msgen option +
  • -i, msgexec option +
  • -i, msgfilter option +
  • -i, msggrep option +
  • -i, msginit option +
  • -i, msgmerge option +
  • -i, msgunfmt option +
  • -i, msguniq option +
  • -i, xgettext option +
  • -j, msgfmt option +
  • -j, msgunfmt option +
  • -j, xgettext option +
  • -K, msggrep option +
  • -k, xgettext option +
  • -l, msgfmt option, -l, msgfmt option +
  • -l, msginit option +
  • -l, msgunfmt option, -l, msgunfmt option +
  • -L, xgettext option +
  • -m, msgcmp option +
  • -M, msggrep option +
  • -m, msgmerge option +
  • -M, xgettext option +
  • -m, xgettext option +
  • -n, msgattrib option +
  • -n, msgcat option +
  • -n, msgcomm option +
  • -n, msgfilter option +
  • -N, msggrep option +
  • -N, msgmerge option +
  • -n, msguniq option +
  • -n, xgettext option +
  • -o, msgattrib option +
  • -o, msgcat option +
  • -o, msgcomm option +
  • -o, msgconv option +
  • -o, msgen option +
  • -o, msgfilter option +
  • -o, msgfmt option +
  • -o, msggrep option +
  • -o, msginit option +
  • -o, msgmerge option +
  • -o, msgunfmt option +
  • -o, msguniq option +
  • -o, xgettext option +
  • -P, msgattrib option +
  • -p, msgattrib option +
  • -p, msgcat option +
  • -P, msgcat option +
  • -P, msgcmp option +
  • -p, msgcomm option +
  • -P, msgcomm option +
  • -P, msgconv option +
  • -p, msgconv option +
  • -P, msgen option +
  • -p, msgen option +
  • -P, msgexec option +
  • -p, msgfilter option +
  • -P, msgfilter option +
  • -P, msgfmt option +
  • -P, msggrep option +
  • -p, msggrep option +
  • -p, msginit option +
  • -P, msginit option +
  • -p, msgmerge option +
  • -P, msgmerge option +
  • -p, msgunfmt option +
  • -P, msguniq option +
  • -p, msguniq option +
  • -p, xgettext option +
  • -q, msgmerge option +
  • -r, msgfmt option +
  • -r, msgunfmt option +
  • -s, msgattrib option +
  • -s, msgcat option +
  • -s, msgcomm option +
  • -s, msgconv option +
  • -s, msgen option +
  • -s, msgfilter option +
  • -s, msgmerge option +
  • -s, msgunfmt option +
  • -s, msguniq option +
  • -s, xgettext option +
  • -t, msgcat option +
  • -t, msgconv option +
  • -T, msggrep option +
  • -t, msguniq option +
  • -T, xgettext option +
  • -u, msgcat option +
  • -u, msgcomm option +
  • -U, msgmerge option +
  • -u, msguniq option +
  • -V, msgattrib option +
  • -V, msgcat option +
  • -V, msgcmp option +
  • -V, msgcomm option +
  • -V, msgconv option +
  • -V, msgen option +
  • -V, msgexec option +
  • -V, msgfilter option +
  • -V, msgfmt option +
  • -v, msgfmt option +
  • -V, msggrep option +
  • -V, msginit option +
  • -v, msgmerge option +
  • -V, msgmerge option +
  • -V, msgunfmt option +
  • -v, msgunfmt option +
  • -V, msguniq option +
  • -V, xgettext option +
  • -w, msgattrib option +
  • -w, msgcat option +
  • -w, msgcomm option +
  • -w, msgconv option +
  • -w, msgen option +
  • -w, msgfilter option +
  • -w, msggrep option +
  • -w, msginit option +
  • -w, msgmerge option +
  • -w, msgunfmt option +
  • -w, msguniq option +
  • -w, xgettext option +
  • -x, xgettext option
  • diff --git a/gettext-tools/doc/gettext_19.html b/gettext-tools/doc/gettext_19.html index 76c616de7..6c8650d11 100644 --- a/gettext-tools/doc/gettext_19.html +++ b/gettext-tools/doc/gettext_19.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - Variable Index @@ -10,38 +10,44 @@ Go to the first, previous


    -

    Variable Index

    +

    Variable Index

    Jump to: +g +- l - m - t

    +

    g

    + +
  • GETTEXT_LOG_UNTRANSLATED, environment variable +
  • l

    -
  • LANG, environment variable, LANG, environment variable -
  • LANGUAGE, environment variable, LANGUAGE, environment variable -
  • LC_ALL, environment variable -
  • LC_COLLATE, environment variable -
  • LC_CTYPE, environment variable -
  • LC_MESSAGES, environment variable -
  • LC_MONETARY, environment variable -
  • LC_NUMERIC, environment variable -
  • LC_TIME, environment variable -
  • LINGUAS, environment variable +
  • LANG, environment variable, LANG, environment variable +
  • LANGUAGE, environment variable, LANGUAGE, environment variable +
  • LC_ALL, environment variable +
  • LC_COLLATE, environment variable +
  • LC_CTYPE, environment variable +
  • LC_MESSAGES, environment variable +
  • LC_MONETARY, environment variable +
  • LC_NUMERIC, environment variable +
  • LC_TIME, environment variable +
  • LINGUAS, environment variable
  • m

    -
  • MSGEXEC_LOCATION, environment variable -
  • MSGEXEC_MSGID, environment variable +
  • MSGEXEC_LOCATION, environment variable +
  • MSGEXEC_MSGID, environment variable
  • t

    -
  • TEXTDOMAIN, environment variable, TEXTDOMAIN, environment variable -
  • TEXTDOMAINDIR, environment variable, TEXTDOMAINDIR, environment variable +
  • TEXTDOMAIN, environment variable, TEXTDOMAIN, environment variable +
  • TEXTDOMAINDIR, environment variable, TEXTDOMAINDIR, environment variable
  • diff --git a/gettext-tools/doc/gettext_2.html b/gettext-tools/doc/gettext_2.html index f695ce269..eb95d3590 100644 --- a/gettext-tools/doc/gettext_2.html +++ b/gettext-tools/doc/gettext_2.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 2 PO Files and PO Mode Basics @@ -133,10 +133,10 @@ msgstr "Error desconegut del sistema" Entries begin with some optional white space. Usually, when generated through GNU gettext tools, there is exactly one blank line between entries. Then comments follow, on lines all starting with the -character #. There are two kinds of comments: those which have -some white space immediately following the #, which comments are +character #. There are two kinds of comments: those which have +some white space immediately following the #, which comments are created and maintained exclusively by the translator, and those which -have some non-white character just after the #, which comments +have some non-white character just after the #, which comments are created and maintained automatically by GNU gettext tools. All comments, of either kind, are optional. @@ -149,8 +149,8 @@ first the untranslated string as it appears in the original program sources, and then, the translation of this string. The original string is introduced by the keyword msgid, and the translation, by msgstr. The two strings, untranslated and translated, -are quoted in various ways in the PO file, using " -delimiters and \ escapes, but the translator does not really +are quoted in various ways in the PO file, using " +delimiters and \ escapes, but the translator does not really have to pay attention to the precise quoting format, as PO mode fully takes care of quoting for her. @@ -166,7 +166,7 @@ the full control she needs.

    -The comment lines beginning with #, are special because they are +The comment lines beginning with #, are special because they are not completely ignored by the programs as comments generally are. The comma separated list of flags is used by the msgfmt program to give the user some better diagnostic messages. Currently @@ -175,7 +175,7 @@ there are two forms of flags defined:

    -
    fuzzy +
    fuzzy
    This flag can be generated by the msgmerge program or it can be @@ -183,14 +183,14 @@ inserted by the translator herself. It shows that the msgstr string might not be a correct translation (anymore). Only the translator can judge if the translation requires further modification, or is acceptable as is. Once satisfied with the translation, she then removes -this fuzzy attribute. The msgmerge program inserts this +this fuzzy attribute. The msgmerge program inserts this when it combined the msgid and msgstr entries after fuzzy -search only. See section 6.3 Fuzzy Entries. +search only. See section 6.3 Fuzzy Entries. -
    c-format +
    c-format
    -
    no-c-format +
    no-c-format
    These flags should not be added by a human. Instead only the @@ -198,15 +198,108 @@ These flags should not be added by a human. Instead only the system as proposed here the user changes would be thrown away again as soon as the xgettext program generates a new template file. -In case the c-format flag is given for a string the msgfmt +The c-format flag tells that the untranslated string and the +translation are supposed to be C format strings. The no-c-format +flag tells that they are not C format strings, even though the untranslated +string happens to look like a C format string (with `%´ directives). + +In case the c-format flag is given for a string the msgfmt does some more tests to check to validity of the translation. -See section 8.1 Invoking the msgfmt Program. +See section 8.1 Invoking the msgfmt Program, section 3.5 Special Comments preceding Keywords and section 13.3.1 C Format Strings. + +
    python-format +
    + +
    no-python-format +
    + +Likewise for Python, see section 13.3.2 Python Format Strings. + +
    lisp-format +
    + +
    no-lisp-format +
    + +Likewise for Lisp, see section 13.3.3 Lisp Format Strings. + +
    elisp-format +
    + +
    no-elisp-format +
    + +Likewise for Emacs Lisp, see section 13.3.4 Emacs Lisp Format Strings. + +
    librep-format +
    + +
    no-librep-format +
    + +Likewise for librep, see section 13.3.5 librep Format Strings. + +
    smalltalk-format +
    + +
    no-smalltalk-format +
    + +Likewise for Smalltalk, see section 13.3.6 Smalltalk Format Strings. + +
    java-format +
    + +
    no-java-format +
    + +Likewise for Java, see section 13.3.7 Java Format Strings. + +
    awk-format +
    + +
    no-awk-format +
    + +Likewise for awk, see section 13.3.8 awk Format Strings. + +
    object-pascal-format +
    + +
    no-object-pascal-format +
    + +Likewise for Object Pascal, see section 13.3.9 Object Pascal Format Strings. + +
    ycp-format +
    + +
    no-ycp-format +
    + +Likewise for YCP, see section 13.3.10 YCP Format Strings. + +
    tcl-format +
    + +
    no-tcl-format +
    + +Likewise for Tcl, see section 13.3.11 Tcl Format Strings. + +
    php-format +
    + +
    no-php-format +
    + +Likewise for PHP, see section 13.3.12 PHP Format Strings.

    - - + + A different kind of entries is used for translations which involve plural forms. @@ -240,7 +333,7 @@ msgstr[1] "s'han trobat %d errors fatals"

    - + It happens that some lines, usually whitespace or comments, follow the very last entry of a PO file. Such lines are not part of any entry, and PO mode is unable to take action on those lines. By using the @@ -274,8 +367,8 @@ msgid ""

    In this example, the empty string is used on the first line, to -allow better alignment of the H from the word `Here´ -over the f from the word `for´. In this example, the +allow better alignment of the H from the word `Here´ +over the f from the word `for´. In this example, the msgid keyword is followed by three strings, which are meant to be concatenated. Concatenating the empty string does not change the resulting overall string, but it is a way for us to comply with @@ -290,7 +383,7 @@ other character, we just did it this way because it is neater.

    - + One should carefully distinguish between end of lines marked as `\n´ inside quotes, which are part of the represented string, and end of lines in the PO file itself, outside string quotes, @@ -298,7 +391,7 @@ which have no incidence on the represented string.

    - + Outside strings, white lines and comments may be used freely. Comments start at the beginning of a line with `#´ and extend until the end of the PO file line. Comments written by translators @@ -314,8 +407,8 @@ file is given to msgmerge.

    2.3 Main PO mode Commands

    - - + + After setting up Emacs with something similar to the lines in section 2.1 Completing GNU gettext Installation, PO mode is activated for a window when Emacs finds a PO file in that window. This puts the window read-only and establishes a @@ -329,9 +422,9 @@ When PO mode is active in a window, the letters `PO´ appear in the mode line for that window. The mode line also displays how many entries of each kind are held in the PO file. For example, the string `132t+3f+10u+2o´ would tell the translator that the -PO mode contains 132 translated entries (see section 6.2 Translated Entries, -3 fuzzy entries (see section 6.3 Fuzzy Entries), 10 untranslated entries -(see section 6.4 Untranslated Entries) and 2 obsolete entries (see section 6.5 Obsolete Entries). Zero-coefficients items are not shown. So, in this example, if +PO mode contains 132 translated entries (see section 6.2 Translated Entries, +3 fuzzy entries (see section 6.3 Fuzzy Entries), 10 untranslated entries +(see section 6.4 Untranslated Entries) and 2 obsolete entries (see section 6.5 Obsolete Entries). Zero-coefficients items are not shown. So, in this example, if the fuzzy entries were unfuzzied, the untranslated entries were translated and the obsolete entries were deleted, the mode line would merely display `145t´ for the counters. @@ -347,47 +440,47 @@ in special ways.

    _
    - + Undo last modification to the PO file (po-undo).
    Q
    - + Quit processing and save the PO file (po-quit).
    q
    - + Quit processing, possibly after confirmation (po-confirm-and-quit).
    0
    - + Temporary leave the PO file window (po-other-window).
    ?
    h
    - - + + Show help about PO mode (po-help).
    =
    - + Give some PO file statistics (po-statistics).
    V
    - + Batch validate the format of the whole PO file (po-validate).

    - - + + The command _ (po-undo) interfaces to the Emacs undo facility. See section `Undoing Changes' in The Emacs Editor. Each time U is typed, modifications which the translator did to the PO file are undone a little more. For the purpose of @@ -399,10 +492,10 @@ can undo the edition work quite parsimoniously.

    - - - - + + + + The commands Q (po-quit) and q (po-confirm-and-quit) are used when the translator is done with the PO file. The former is a bit less verbose than the latter. If the file @@ -415,8 +508,8 @@ of an Emacs PO file buffer. Merely killing it through the usual command

    - - + + The command 0 (po-other-window) is another, softer way, to leave PO mode, temporarily. It just moves the cursor to some other Emacs window, and pops one if necessary. For example, if the translator @@ -430,9 +523,9 @@ PO mode is then recovered.

    - - - + + + The command h (po-help) displays a summary of all available PO mode commands. The translator should then type any character to resume normal PO mode operations. The command ? has the same effect @@ -440,8 +533,8 @@ as h.

    - - + + The command = (po-statistics) computes the total number of entries in the PO file, the ordinal of the current entry (counted from 1), the number of untranslated entries, the number of obsolete entries, @@ -449,8 +542,8 @@ and displays all these numbers.

    - - + + The command V (po-validate) launches msgfmt in checking and verbose mode over the current PO file. This command first offers to save the @@ -461,7 +554,7 @@ as well as all individual entries.

    - + The program msgfmt runs asynchronously with Emacs, so the translator regains control immediately while her PO file is being studied. Error output is collected in the Emacs `*compilation*´ buffer, @@ -477,7 +570,7 @@ any PO mode action which would help correcting the error.

    2.4 Entry Positioning

    - + The cursor in a PO file window is almost always part of an entry. The only exceptions are the special case when the cursor is after the last entry in the file, or when the PO file is @@ -488,7 +581,7 @@ the PO file, this also selects on which entry commands operate.

    - + Some PO mode commands alter the position of the cursor in a specialized way. A few of those special purpose positioning are described here, the others are described in following sections (for a complete list try @@ -499,51 +592,51 @@ the others are described in following sections (for a complete list try

    .
    - + Redisplay the current entry (po-current-entry).
    n
    - + Select the entry after the current one (po-next-entry).
    p
    - + Select the entry before the current one (po-previous-entry).
    <
    - + Select the first entry in the PO file (po-first-entry).
    >
    - + Select the last entry in the PO file (po-last-entry).
    m
    - + Record the location of the current entry for later use (po-push-location).
    r
    - + Return to a previously saved entry location (po-pop-location).
    x
    - + Exchange the current entry location with the previously saved one (po-exchange-location).

    - - + + Any Emacs command able to reposition the cursor may be used to select the current entry in PO mode, including commands which move by characters, lines, paragraphs, screens or pages, and search @@ -572,10 +665,10 @@ how others should do translation.

    - - - - + + + + The commands n (po-next-entry) and p (po-previous-entry) move the cursor the entry following, or preceding, the current one. If n is given while the @@ -584,10 +677,10 @@ is given while the cursor is on the first entry, no move is done.

    - - - - + + + + The commands < (po-first-entry) and > (po-last-entry) move the cursor to the first entry, or last entry, of the PO file. When the cursor is located past the last @@ -610,10 +703,10 @@ register for getting back, or else, use the location ring.

    - - - - + + + + PO mode offers another approach, by which cursor locations may be saved onto a special stack. The command m (po-push-location) merely adds the location of current entry to the stack, pushing @@ -633,8 +726,8 @@ ought to use m immediately after r.

    - - + + The command x (po-exchange-location) simultaneously repositions the cursor to the entry associated with the top element of the stack of saved locations, and replaces that top element with the @@ -649,7 +742,7 @@ merely use x for making the switch.

    2.5 Normalizing Strings in Entries

    - +

    @@ -683,12 +776,12 @@ command is available:

    - +

    M-x po-normalize
    - + Tidy the whole PO file by making entries more uniform.
    @@ -720,7 +813,7 @@ for continued lines.

    - + Having such an explicit normalizing command allows for importing PO files from other sources, but also eases the evolution of the current convention, evolution driven mostly by aesthetic concerns, as of now. @@ -733,7 +826,7 @@ their PO files in nice ways.

    - + Right now, in PO mode, strings are single line or multi-line. A string goes multi-line if and only if it has embedded newlines, that is, if it matches `[^\n]\n+[^\n]´. So, we would have: diff --git a/gettext-tools/doc/gettext_20.html b/gettext-tools/doc/gettext_20.html index 377d3414e..ababc3de4 100644 --- a/gettext-tools/doc/gettext_20.html +++ b/gettext-tools/doc/gettext_20.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - PO Mode Index @@ -10,7 +10,7 @@ Go to the first, previous


    -

    PO Mode Index

    +

    PO Mode Index

    Jump to: @@ -46,28 +46,28 @@ Jump to:

    a

    -
  • auxiliary PO file +
  • auxiliary PO file
  • c

    -
  • commands -
  • comment out PO file entry -
  • consulting program sources -
  • consulting translations to other languages -
  • current entry of a PO file -
  • cut and paste for translated strings +
  • commands +
  • comment out PO file entry +
  • consulting program sources +
  • consulting translations to other languages +
  • current entry of a PO file +
  • cut and paste for translated strings
  • e

    -
  • editing comments -
  • editing multiple entries -
  • editing translations -
  • etags, using for marking strings -
  • exiting PO subedit +
  • editing comments +
  • editing multiple entries +
  • editing translations +
  • etags, using for marking strings +
  • exiting PO subedit
  • f

    -
  • find source fragment for a PO file entry +
  • find source fragment for a PO file entry
  • i

    @@ -75,40 +75,40 @@ Jump to:

    l

    -
  • looking at the source to aid translation +
  • looking at the source to aid translation
  • m

    -
  • marking strings for translation -
  • moving by fuzzy entries -
  • moving by obsolete entries -
  • moving by translated entries -
  • moving by untranslated entries -
  • moving through a PO file +
  • marking strings for translation +
  • moving by fuzzy entries +
  • moving by obsolete entries +
  • moving by translated entries +
  • moving by untranslated entries +
  • moving through a PO file
  • o

    -
  • obsolete active entry +
  • obsolete active entry
  • p

    -
  • pending subedits +
  • pending subedits
  • s

    -
  • starting a string translation -
  • string normalization in entries -
  • subedit minor mode +
  • starting a string translation +
  • string normalization in entries +
  • subedit minor mode
  • t

    -
  • `TAGS´, and marking translatable strings +
  • `TAGS´, and marking translatable strings
  • u

    -
  • use the source, Luke -
  • using obsolete translations to make new entries -
  • using translation compendia +
  • use the source, Luke +
  • using obsolete translations to make new entries +
  • using translation compendia
  • diff --git a/gettext-tools/doc/gettext_21.html b/gettext-tools/doc/gettext_21.html index af13287d6..e7375439b 100644 --- a/gettext-tools/doc/gettext_21.html +++ b/gettext-tools/doc/gettext_21.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - Autoconf Macro Index @@ -10,7 +10,7 @@ Go to the first, previous


    -

    Autoconf Macro Index

    +

    Autoconf Macro Index

    Jump to: @@ -18,9 +18,10 @@ Jump to:

    a

    -
  • AM_GNU_GETTEXT -
  • AM_GNU_GETTEXT_VERSION -
  • AM_ICONV +
  • AM_GNU_GETTEXT +
  • AM_GNU_GETTEXT_VERSION +
  • AM_ICONV +
  • AM_PO_SUBDIRS
  • diff --git a/gettext-tools/doc/gettext_22.html b/gettext-tools/doc/gettext_22.html index cc41eab2d..2de1354be 100644 --- a/gettext-tools/doc/gettext_22.html +++ b/gettext-tools/doc/gettext_22.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - General Index @@ -10,7 +10,7 @@ Go to the first, previous


    -

    General Index

    +

    General Index

    Jump to: @@ -68,357 +68,357 @@ Jump to:

    _

    -
  • _, a macro to mark strings for translation -
  • _nl_msg_cat_cntr +
  • _, a macro to mark strings for translation +
  • _nl_msg_cat_cntr
  • a

    -
  • `ABOUT-NLS´ file -
  • `acconfig.h´ file -
  • accumulating translations -
  • `aclocal.m4´ file -
  • adding keywords, xgettext -
  • ambiguities -
  • apply a filter to translations -
  • apply command to all translations in a catalog -
  • attribute manipulation -
  • attribute, fuzzy -
  • attributes of a PO file entry -
  • attributes, manipulating -
  • autoconf macros for gettext -
  • autopoint program, usage -
  • auxiliary PO file -
  • available translations -
  • awk +
  • `ABOUT-NLS´ file +
  • `acconfig.h´ file +
  • accumulating translations +
  • `aclocal.m4´ file +
  • adding keywords, xgettext +
  • ambiguities +
  • apply a filter to translations +
  • apply command to all translations in a catalog +
  • attribute manipulation +
  • attribute, fuzzy +
  • attributes of a PO file entry +
  • attributes, manipulating +
  • autoconf macros for gettext +
  • autopoint program, usage +
  • auxiliary PO file +
  • available translations +
  • awk
  • b

    -
  • backup old file, and msgmerge program -
  • bash -
  • bibliography +
  • backup old file, and msgmerge program +
  • bash +
  • bibliography
  • big picture -
  • bind_textdomain_codeset +
  • bind_textdomain_codeset
  • bug report address
  • c

    -
  • C and C-like languages -
  • C trigraphs -
  • catalog encoding and msgexec output -
  • catclose, a catgets function -
  • catgets, X/Open specification -
  • catgets, a catgets function -
  • catopen, a catgets function +
  • C and C-like languages +
  • C trigraphs +
  • catalog encoding and msgexec output +
  • catclose, a catgets function +
  • catgets, X/Open specification +
  • catgets, a catgets function +
  • catopen, a catgets function
  • character encoding -
  • charset conversion at runtime -
  • charset of PO files -
  • check format strings -
  • checking of translations -
  • clisp -
  • clisp C sources +
  • charset conversion at runtime +
  • charset of PO files +
  • check format strings +
  • checking of translations +
  • clisp +
  • clisp C sources
  • codeset -
  • comments in PO files -
  • Common Lisp -
  • compare PO files -
  • comparison of interfaces -
  • compatibility with X/Open msgfmt -
  • compendium -
  • compendium, creating -
  • concatenate PO files -
  • concatenating PO files into a compendium -
  • concatenation of strings -
  • `config.h.in´ file -
  • convert binary message catalog into PO file -
  • convert translations to a different encoding -
  • converting a package to use gettext -
  • country codes -
  • create new PO file -
  • creating a new PO file -
  • creating compendia +
  • comments in PO files +
  • Common Lisp +
  • compare PO files +
  • comparison of interfaces +
  • compatibility with X/Open msgfmt +
  • compendium +
  • compendium, creating +
  • concatenate PO files +
  • concatenating PO files into a compendium +
  • concatenation of strings +
  • `config.h.in´ file +
  • convert binary message catalog into PO file +
  • convert translations to a different encoding +
  • converting a package to use gettext +
  • country codes +
  • create new PO file +
  • creating a new PO file +
  • creating compendia
  • currency symbols
  • d

  • date format -
  • dcngettext -
  • debugging messages marked as format strings -
  • dialect -
  • disabling NLS -
  • dngettext -
  • domain ambiguities -
  • duplicate elimination -
  • duplicate removal +
  • dcngettext +
  • debugging messages marked as format strings +
  • dialect +
  • disabling NLS +
  • dngettext +
  • domain ambiguities +
  • duplicate elimination +
  • duplicate removal
  • e

    -
  • editing comments in PO files -
  • editing translations -
  • Emacs Lisp +
  • editing comments in PO files +
  • editing translations +
  • Emacs Lisp
  • encoding -
  • encoding conversion -
  • encoding conversion at runtime -
  • encoding for your language -
  • encoding list -
  • encoding of PO files +
  • encoding conversion +
  • encoding conversion at runtime +
  • encoding for your language +
  • encoding list +
  • encoding of PO files
  • evolution of packages -
  • extracting parts of a PO file into a compendium +
  • extracting parts of a PO file into a compendium
  • f

    -
  • file format, `.mo´ +
  • file format, `.mo´
  • file format, `.po´
  • files, `.po´ and `.mo´
  • files, `.pot´ -
  • filter messages according to attributes -
  • find common messages -
  • force use of fuzzy entries -
  • format strings -
  • Free Pascal -
  • fuzzy entries +
  • filter messages according to attributes +
  • find common messages +
  • force use of fuzzy entries +
  • format strings +
  • Free Pascal +
  • fuzzy entries
  • g

    -
  • gawk -
  • generate binary message catalog from PO file -
  • generate translation catalog in English -
  • gettext files +
  • gawk +
  • generate binary message catalog from PO file +
  • generate translation catalog in English +
  • gettext files
  • gettext installation -
  • gettext interface -
  • gettext, a programmer's view -
  • `gettext.h´ file -
  • gettext vs catgets -
  • gettextize program, usage -
  • GUI programs +
  • gettext interface +
  • gettext, a programmer's view +
  • `gettext.h´ file +
  • gettext vs catgets +
  • gettextize program, usage +
  • GUI programs
  • h

    -
  • hash table, inside MO files +
  • hash table, inside MO files
  • he, she, and they -
  • header entry of a PO file -
  • help option -
  • history of GNU gettext +
  • header entry of a PO file +
  • help option +
  • history of GNU gettext
  • i

  • i18n -
  • importing PO files -
  • include file `libintl.h´, include file `libintl.h´, include file `libintl.h´, include file `libintl.h´ -
  • initialization -
  • initialize new PO file -
  • initialize translations from a compendium +
  • importing PO files +
  • include file `libintl.h´, include file `libintl.h´, include file `libintl.h´, include file `libintl.h´ +
  • initialization +
  • initialize new PO file +
  • initialize translations from a compendium
  • installing gettext -
  • interface to catgets +
  • interface to catgets
  • internationalization -
  • inttypes.h -
  • ISO 3166 -
  • ISO 639 +
  • inttypes.h +
  • ISO 3166 +
  • ISO 639
  • j

    -
  • Java -
  • Java mode, and msgfmt program -
  • Java mode, and msgunfmt program -
  • Java, string concatenation +
  • Java +
  • Java mode, and msgfmt program +
  • Java mode, and msgunfmt program +
  • Java, string concatenation
  • k

    -
  • keyboard accelerator checking +
  • keyboard accelerator checking
  • l

  • l10n -
  • language codes -
  • language selection -
  • language selection at runtime -
  • large package -
  • libiconv library -
  • libintl for Java -
  • libintl library -
  • librep Lisp -
  • `LINGUAS´ file +
  • language codes +
  • language selection +
  • language selection at runtime +
  • large package +
  • libiconv library +
  • libintl for Java +
  • libintl library +
  • librep Lisp +
  • `LINGUAS´ file
  • link with `libintl´ -
  • Linux, Linux, Linux -
  • Lisp -
  • list of translation teams, where to find -
  • locale facet, LC_ALL -
  • locale facet, LC_COLLATE -
  • locale facet, LC_CTYPE, locale facet, LC_CTYPE, locale facet, LC_CTYPE -
  • locale facet, LC_MESSAGES, locale facet, LC_MESSAGES -
  • locale facet, LC_MONETARY, locale facet, LC_MONETARY -
  • locale facet, LC_NUMERIC, locale facet, LC_NUMERIC -
  • locale facet, LC_RESPONSES -
  • locale facet, LC_TIME, locale facet, LC_TIME +
  • Linux, Linux, Linux +
  • Lisp +
  • list of translation teams, where to find +
  • locale facet, LC_ALL +
  • locale facet, LC_COLLATE +
  • locale facet, LC_CTYPE, locale facet, LC_CTYPE, locale facet, LC_CTYPE +
  • locale facet, LC_MESSAGES, locale facet, LC_MESSAGES +
  • locale facet, LC_MONETARY, locale facet, LC_MONETARY +
  • locale facet, LC_NUMERIC, locale facet, LC_NUMERIC +
  • locale facet, LC_RESPONSES +
  • locale facet, LC_TIME, locale facet, LC_TIME
  • locale facets -
  • locale program +
  • locale program
  • localization
  • m

    -
  • magic signature of MO files -
  • `Makevars´ file -
  • manipulating PO files -
  • marking string initializers -
  • marking strings that require translation -
  • marking strings, preparations +
  • magic signature of MO files +
  • `Makevars´ file +
  • manipulating PO files +
  • marking string initializers +
  • marking strings that require translation +
  • marking strings, preparations
  • marking translatable strings -
  • menu entries -
  • menu, keyboard accelerator support -
  • merge PO files -
  • merging two PO files -
  • message catalog files location +
  • menu entries +
  • menu, keyboard accelerator support +
  • merge PO files +
  • merging two PO files +
  • message catalog files location
  • messages -
  • migration from earlier versions of gettext -
  • `mkinstalldirs´ file -
  • mnemonics of menu entries -
  • MO file's format -
  • modify message attrributes -
  • msgattrib program, usage -
  • msgcat program, usage -
  • msgcmp program, usage -
  • msgcomm program, usage -
  • msgconv program, usage -
  • msgen program, usage -
  • msgexec program, usage -
  • msgfilter filter and catalog encoding -
  • msgfilter program, usage -
  • msgfmt program, usage -
  • msggrep program, usage -
  • msginit program, usage -
  • msgmerge program, usage -
  • msgunfmt program, usage -
  • msguniq program, usage -
  • multi-line strings +
  • migration from earlier versions of gettext +
  • `mkinstalldirs´ file +
  • mnemonics of menu entries +
  • MO file's format +
  • modify message attrributes +
  • msgattrib program, usage +
  • msgcat program, usage +
  • msgcmp program, usage +
  • msgcomm program, usage +
  • msgconv program, usage +
  • msgen program, usage +
  • msgexec program, usage +
  • msgfilter filter and catalog encoding +
  • msgfilter program, usage +
  • msgfmt program, usage +
  • msggrep program, usage +
  • msginit program, usage +
  • msgmerge program, usage +
  • msgunfmt program, usage +
  • msguniq program, usage +
  • multi-line strings
  • n

    -
  • N_, a convenience macro +
  • N_, a convenience macro
  • Native Language Support
  • Natural Language Support -
  • newlines in PO files -
  • ngettext +
  • newlines in PO files +
  • ngettext
  • NLS
  • number format
  • o

    -
  • Object Pascal -
  • obsolete entries -
  • optimization of gettext functions -
  • orthography -
  • output to stdout, xgettext +
  • Object Pascal +
  • obsolete entries +
  • optimization of gettext functions +
  • orthography +
  • output to stdout, xgettext
  • overview of gettext
  • p

    -
  • package and version declaration in `configure.in´ -
  • package build and installation options -
  • package maintainer's view of gettext -
  • paragraphs -
  • Pascal -
  • Perl -
  • PHP -
  • Pike -
  • plural form formulas -
  • plural forms -
  • plural forms, in MO files -
  • plural forms, in PO files +
  • package and version declaration in `configure.in´ +
  • package build and installation options +
  • package maintainer's view of gettext +
  • paragraphs +
  • Pascal +
  • Perl +
  • PHP +
  • Pike +
  • plural form formulas +
  • plural forms +
  • plural forms, in MO files +
  • plural forms, in PO files
  • PO files' format -
  • PO mode (Emacs) commands -
  • PO template file -
  • po_file_domains -
  • po_file_free -
  • po_file_read -
  • po_message_iterator -
  • po_message_iterator_free -
  • po_message_msgid -
  • po_message_msgid_plural -
  • po_message_msgstr -
  • po_message_msgstr_plural -
  • po_next_message -
  • portability problems with sed -
  • `POTFILES.in´ file -
  • preparing programs for translation -
  • problems with catgets interface -
  • programming languages -
  • Python +
  • PO mode (Emacs) commands +
  • PO template file +
  • po_file_domains +
  • po_file_free +
  • po_file_read +
  • po_message_iterator +
  • po_message_iterator_free +
  • po_message_msgid +
  • po_message_msgid_plural +
  • po_message_msgstr +
  • po_message_msgstr_plural +
  • po_next_message +
  • portability problems with sed +
  • `POTFILES.in´ file +
  • preparing programs for translation +
  • problems with catgets interface +
  • programming languages +
  • Python
  • q

    -
  • quotation marks, quotation marks -
  • quote characters, use in PO files +
  • quotation marks, quotation marks +
  • quote characters, use in PO files
  • r

    -
  • related reading -
  • RST +
  • related reading +
  • RST
  • s

    -
  • scripting languages -
  • search messages in a catalog -
  • selecting message language -
  • sentences -
  • setting up gettext at build time -
  • setting up gettext at run time -
  • several domains +
  • scripting languages +
  • search messages in a catalog +
  • selecting message language +
  • sentences +
  • setting up gettext at build time +
  • setting up gettext at run time +
  • several domains
  • sex -
  • sgettext +
  • sgettext
  • she, he, and they -
  • shell scripts -
  • Smalltalk -
  • sorting msgcat output -
  • sorting msgmerge output -
  • sorting msgunfmt output -
  • sorting output of xgettext -
  • specifying plural form in a PO file -
  • standard output, and msgcat -
  • standard output, and msgmerge program -
  • string concatenation -
  • string normalization in entries -
  • style -
  • supported languages, xgettext +
  • shell scripts +
  • Smalltalk +
  • sorting msgcat output +
  • sorting msgmerge output +
  • sorting msgunfmt output +
  • sorting output of xgettext +
  • specifying plural form in a PO file +
  • standard output, and msgcat +
  • standard output, and msgmerge program +
  • string concatenation +
  • string normalization in entries +
  • style +
  • supported languages, xgettext
  • t

    -
  • Tcl -
  • Tcl mode, and msgfmt program -
  • Tcl mode, and msgunfmt program +
  • Tcl +
  • Tcl mode, and msgfmt program +
  • Tcl mode, and msgunfmt program
  • template PO file -
  • testing `.po´ files for equivalence -
  • Tk's scripting language -
  • translated entries -
  • translating menu entries +
  • testing `.po´ files for equivalence +
  • Tk's scripting language +
  • translated entries +
  • translating menu entries
  • translation aspects -
  • Translation Matrix +
  • Translation Matrix
  • Translation Project -
  • turning off NLS support +
  • turning off NLS support
  • tutorial of gettext usage
  • u

    -
  • unify duplicate translations -
  • untranslated entries -
  • update translations from a compendium -
  • upgrading to new versions of gettext +
  • unify duplicate translations +
  • untranslated entries +
  • update translations from a compendium +
  • upgrading to new versions of gettext
  • v

    -
  • version control for backup files, msgmerge +
  • version control for backup files, msgmerge
  • w

    -
  • wxWindows library +
  • wxWindows library
  • x

    -
  • xargs, and output from msgexec -
  • xgettext program, usage -
  • xmodmap program, and typing quotation marks +
  • xargs, and output from msgexec +
  • xgettext program, usage +
  • xmodmap program, and typing quotation marks
  • y

    -
  • YaST2 scripting language -
  • YCP +
  • YaST2 scripting language +
  • YCP
  • diff --git a/gettext-tools/doc/gettext_3.html b/gettext-tools/doc/gettext_3.html index 14cb0e559..e1c31ce36 100644 --- a/gettext-tools/doc/gettext_3.html +++ b/gettext-tools/doc/gettext_3.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 3 Preparing Program Sources @@ -12,7 +12,7 @@ Go to the first, previous<

    3 Preparing Program Sources

    - +

    @@ -29,12 +29,12 @@ needing translation.

    Presuming that your set of programs, or package, has been adjusted so all needed GNU gettext files are available, and your -`Makefile´ files are adjusted (see section 12 The Maintainer's View), each C module +`Makefile´ files are adjusted (see section 12 The Maintainer's View), each C module having translated C strings should contain the line:

    - +

     #include <libintl.h>
    @@ -51,7 +51,7 @@ sections of this chapter.
     

    3.1 Triggering gettext Operations

    - + The initialization of locale data should be done with more or less the same code in every program, as demonstrated below: @@ -78,8 +78,8 @@ or hello sources for more information.

    - - + + The use of LC_ALL might not be appropriate for you. LC_ALL includes all locale categories and especially LC_CTYPE. This later category is responsible for determining @@ -120,18 +120,18 @@ code above by a sequence of setlocale lines

    - - - - - - - + + + + + + + On all POSIX conformant systems the locale categories LC_CTYPE, -LC_COLLATE, LC_MONETARY, LC_NUMERIC, and -LC_TIME are available. On some modern systems there is also a -locale LC_MESSAGES which is called on some old, XPG2 compliant -systems LC_RESPONSES. +LC_MESSAGES, LC_COLLATE, LC_MONETARY, +LC_NUMERIC, and LC_TIME are available. On some systems +which are only ISO C compliant, LC_MESSAGES is missing, but +a substitute for it is defined in GNU gettext's <libintl.h>.

    @@ -157,11 +157,11 @@ is not multithread-safe.

    3.2 Preparing Translatable Strings

    - + Before strings can be marked for translations, they sometimes need to -be adjusted. Usually preparing a string for translation is done right +be adjusted. Usually preparing a string for translation is done right before marking it, during the marking phase which is described in the -next sections. What you have to keep in mind while doing that is the +next sections. What you have to keep in mind while doing that is the following.

    @@ -189,8 +189,8 @@ Let's look at some examples of these guidelines.

    - -Translatable strings should be in good English style. If slang language + +Translatable strings should be in good English style. If slang language with abbreviations and shortcuts is used, often translators will not understand the message and will produce very inappropriate translations. @@ -218,14 +218,14 @@ of the objects"?

    - + In both cases, adding more words to the message will help both the translator and the English speaking user.

    - -Translatable strings should be entire sentences. It is often not possible + +Translatable strings should be entire sentences. It is often not possible to translate single verbs or adjectives in a substitutable way.

    @@ -236,7 +236,7 @@ printf ("File %s is %s protected", filename, rw ? "write" : "read");

    Most translators will not look at the source and will thus only see the -string "File %s is %s protected", which is unintelligible. Change +string "File %s is %s protected", which is unintelligible. Change this to

    @@ -248,13 +248,13 @@ printf (rw ? "File %s is write protected" : "File %s is read protected",

    This way the translator will not only understand the message, she will -also be able to find the appropriate grammatical construction. The French +also be able to find the appropriate grammatical construction. The French translator for example translates "write protected" like "protected against writing".

    -Often sentences don't fit into a single line. If a sentence is output +Often sentences don't fit into a single line. If a sentence is output using two subsequent printf statements, like this

    @@ -291,38 +291,38 @@ puts ("On the next stack overflow we will crash!!!");

    Should these two statements merged into a single one? I would recommend to merge them if the two sentences are related to each other, because then it -makes it easier for the translator to understand and translate both. On +makes it easier for the translator to understand and translate both. On the other hand, if one of the two messages is a stereotypic one, occurring in other places as well, you will do a favour to the translator by not -merging the two. (Identical messages occurring in several places are +merging the two. (Identical messages occurring in several places are combined by xgettext, so the translator has to handle them once only.)

    - + Translatable strings should be limited to one paragraph; don't let a -single message be longer than ten lines. The reason is that when the +single message be longer than ten lines. The reason is that when the translatable string changes, the translator is faced with the task of -updating the entire translated string. Maybe only a single word will +updating the entire translated string. Maybe only a single word will have changed in the English string, but the translator doesn't see that (with the current translation tools), therefore she has to proofread the entire message.

    - + Many GNU programs have a `--help´ output that extends over several -screen pages. It is a courtesy towards the translators to split such a -message into several ones of five to ten lines each. While doing that, +screen pages. It is a courtesy towards the translators to split such a +message into several ones of five to ten lines each. While doing that, you can also attempt to split the documented options into groups, such as the input options, the output options, and the informative -output options. This will help every user to find the option he is +output options. This will help every user to find the option he is looking for.

    - - + + Hardcoded string concatenation is sometimes used to construct English strings: @@ -349,11 +349,11 @@ sprintf (s, "Replace %s with %s?", object1, object2);

    - -A similar case is compile time concatenation of strings. The ISO C 99 + +A similar case is compile time concatenation of strings. The ISO C 99 include file <inttypes.h> contains a macro PRId64 that can be used as a formatting directive for outputting an `int64_t´ -integer through printf. It expands to a constant string, usually +integer through printf. It expands to a constant string, usually "d" or "ld" or "lld" or something like this, depending on the platform. Assume you have code like @@ -396,17 +396,17 @@ printf (gettext ("The amount is %s\n"), buf1);

    This means, you put the platform dependent code in one statement, and the -internationalization code in a different statement. Note that a buffer length +internationalization code in a different statement. Note that a buffer length of 100 is safe, because all available hardware integer types are limited to 128 bits, and to print a 128 bit integer one needs at most 54 characters, regardless whether in decimal, octal or hexadecimal.

    - -All this applies to other programming languages as well. For example, in + +All this applies to other programming languages as well. For example, in Java, string contenation is very frequently used, because it is a compiler -built-in operator. Like in C, in Java, you would change +built-in operator. Like in C, in Java, you would change

    @@ -429,7 +429,7 @@ System.out.println(

    3.3 How Marks Appear in Sources

    - +

    @@ -480,7 +480,7 @@ sources for those trying to keep them within 79 or 80 columns.

    - + Many packages use `_´ (a simple underline) as a keyword, and write `_("Translatable string")´ instead of `gettext ("Translatable string")´. Further, the coding rule, from GNU standards, @@ -516,7 +516,7 @@ an example of string not requiring translation!

    3.4 Marking Translatable Strings

    - +

    @@ -533,7 +533,7 @@ translation in some language, for the package being internationalized.

    - + The set of program sources, targetted by the PO mode commands describe here, should have an Emacs tags table constructed for your project, prior to using these PO file commands. This is easy to do. In any @@ -555,7 +555,7 @@ format Emacs can understand.

    - + For packages following the GNU coding standards, there is a make goal tags or TAGS which constructs the tag files in all directories and for all files containing source code. @@ -575,18 +575,18 @@ fill in while you mark strings as translatable in your program sources.

    ,
    - + Search through program sources for a string which looks like a candidate for translation (po-tags-search).
    M-,
    - + Mark the last string found with `_()´ (po-mark-translatable).
    M-.
    - + Mark the last string found with a keyword taken from a set of possible keywords. This command with a prefix allows some management of these keywords (po-select-mark-and-mark). @@ -594,7 +594,7 @@ keywords (po-select-mark-and-mark).

    - + The , (po-tags-search) command searches for the next occurrence of a string which looks like a possible candidate for translation, and displays the program source in another Emacs window, @@ -646,8 +646,8 @@ first tags file, this reinitialization might be considered spurious.

    - - + + The M-, (po-mark-translatable) command will mark the recently found string with the `_´ keyword. The M-. (po-select-mark-and-mark) command will request that you type @@ -708,7 +708,7 @@ prefer `_´, as this one is already built in the M-,3.5 Special Comments preceding Keywords

    - + In C programs strings are often used within calls of functions from the printf family. The special thing about these format strings is that they can contain format specifiers introduced with %. Assume @@ -772,20 +772,20 @@ like a format specifier, but the string is not used in printf. Therefore the xgettext adds a special tag to those messages it thinks might be a format string. There is no absolute rule for this, only a heuristic. In the `.po´ file the entry is marked using the -c-format flag in the #, comment line (see section 2.2 The Format of PO Files). +c-format flag in the #, comment line (see section 2.2 The Format of PO Files).

    - - + + The careful reader now might say that this again can cause problems. The heuristic might guess it wrong. This is true and therefore xgettext knows about a special kind of comment which lets the programmer take over the decision. If in the same line as or the immediately preceding line to the gettext keyword the xgettext program finds a comment containing the words -xgettext:c-format, it will mark the string in any case with -the c-format flag. This kind of comment should be used when +xgettext:c-format, it will mark the string in any case with +the c-format flag. This kind of comment should be used when xgettext does not recognize the string as a format string but it really is one and it should be tested. Please note that when the comment is in the same line as the gettext keyword, it must be @@ -808,13 +808,13 @@ round, i.e. a string marked as a format string actually is not a format string. In this case the msgfmt might give too many warnings and would prevent translating the `.po´ file. The method to prevent this wrong decision is similar to the one used above, only the comment -to use must contain the string xgettext:no-c-format. +to use must contain the string xgettext:no-c-format.

    -If a string is marked with c-format and this is not correct the +If a string is marked with c-format and this is not correct the user can find out who is responsible for the decision. See -section 4.1 Invoking the xgettext Program to see how the --debug option can be +section 4.1 Invoking the xgettext Program to see how the --debug option can be used for solving this problem.

    @@ -823,7 +823,7 @@ used for solving this problem.

    3.6 Special Cases of Translatable Strings

    - + The attentive reader might now point out that it is not always possible to mark translatable string with gettext or something like this. Consider the following case: @@ -850,7 +850,7 @@ Consider the following case: While it is no problem to mark the string "a default message" it is not possible to mark the string initializers for messages. What is to be done? We have to fulfill two tasks. First we have to mark the -strings so that the xgettext program (see section 4.1 Invoking the xgettext Program) +strings so that the xgettext program (see section 4.1 Invoking the xgettext Program) can find them, and second we have to translate the string at runtime before printing them. @@ -883,7 +883,7 @@ from the array. So one solution can look like this:

    Please convince yourself that the string which is written by fputs is translated in any case. How to get xgettext know -the additional keyword gettext_noop is explained in section 4.1 Invoking the xgettext Program. +the additional keyword gettext_noop is explained in section 4.1 Invoking the xgettext Program.

    @@ -922,6 +922,88 @@ sure the output is really translated in any case. But this analysis is generally not very difficult. If it should be in any situation you can use this second method in this situation. +

    + + +

    3.7 Marking Proper Names for Translation

    + +

    +Should names of persons, cities, locations etc. be marked for translation +or not? People who only know languages that can be written with Latin +letters (English, Spanish, French, German, etc.) are tempted to say "no", +because names usually do not change when transported between these languages. +However, in general when translating from one script to another, names +are translated too, usually phonetically or by transliteration. For +example, Russian or Greek names are converted to the Latin alphabet when +being translated to English, and English or French names are converted +to the Katakana script when being translated to Japanese. This is +necessary because the speakers of the target language in general cannot +read the script the name is originally written in. + +

    +

    +As a programmer, you should therefore make sure that names are marked +for translation, with a special comment telling the translators that it +is a proper name and how to pronounce it. Like this: + +

    + +
    +printf (_("Written by %s.\n"),
    +        /* TRANSLATORS: This is a proper name.  See the gettext
    +           manual, section Names.  Note this is actually a non-ASCII
    +           name: The first name is (with Unicode escapes)
    +           "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
    +           Pronounciation is like "fraa-swa pee-nar".  */
    +        _("Francois Pinard"));
    +
    + +

    +As a translator, you should use some care when translating names, because +it is frustrating if people see their names mutilated or distorted. If +your language uses the Latin script, all you need to do is to reproduce +the name as perfectly as you can within the usual character set of your +language. In this particular case, this means to provide a translation +containing the c-cedilla character. If your language uses a different +script and the people speaking it don't usually read Latin words, it means +transliteration; but you should still give, in parentheses, the original +writing of the name -- for the sake of the people that do read the Latin +script. Here is an example, using Greek as the target script: + +

    + +
    +#. This is a proper name.  See the gettext
    +#. manual, section Names.  Note this is actually a non-ASCII
    +#. name: The first name is (with Unicode escapes)
    +#. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
    +#. Pronounciation is like "fraa-swa pee-nar".
    +msgid "Francois Pinard"
    +msgstr "\phi\rho\alpha\sigma\omicron\alpha \pi\iota\nu\alpha\rho"
    +       " (Francois Pinard)"
    +
    + +

    +Because translation of names is such a sensitive domain, it is a good +idea to test your translation before submitting it. + +

    +

    +The translation project http://sourceforge.net/projects/translation +has set up a POT file and translation domain consisting of program author +names, with better facilities for the translator than those presented here. +Namely, there the original name is written directly in Unicode (rather +than with Unicode escapes or HTML entities), and the pronounciation is +denoted using the International Phonetic Alphabet (see +http://www.wikipedia.org/wiki/International_Phonetic_Alphabet). + +

    +

    +However, we don't recommend this approach for all POT files in all packages, +because this would force translators to use PO files in UTF-8 encoding, +which is - in the current state of software (as of 2003) - a major hassle +for translators using GNU Emacs or XEmacs with po-mode. +


    Go to the first, previous, next, last section, table of contents. diff --git a/gettext-tools/doc/gettext_4.html b/gettext-tools/doc/gettext_4.html index 448cea9c4..faff2ef95 100644 --- a/gettext-tools/doc/gettext_4.html +++ b/gettext-tools/doc/gettext_4.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 4 Making the PO Template File @@ -10,9 +10,9 @@ Go to the first, previous<


    -

    4 Making the PO Template File

    +

    4 Making the PO Template File

    - +

    @@ -32,11 +32,11 @@ was fuzzy, and the suffix `.pot´ wasn't in use at that time.) -

    4.1 Invoking the xgettext Program

    +

    4.1 Invoking the xgettext Program

    - - + +

     xgettext [option] [inputfile] ...
    @@ -49,7 +49,7 @@ input files.
     

    -

    4.1.1 Input file location

    +

    4.1.1 Input file location

    @@ -61,8 +61,8 @@ Input files.
    `--files-from=file´
    - - + + Read the names of the input files from file instead of getting them from the command line. @@ -70,8 +70,8 @@ them from the command line.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -84,7 +84,7 @@ If inputfile is `-´, standard input is read.

    -

    4.1.2 Output file location

    +

    4.1.2 Output file location

    @@ -92,16 +92,16 @@ If inputfile is `-´, standard input is read.
    `--default-domain=name´
    - - + + Use `name.po´ for output (instead of `messages.po´).
    `-o file´
    `--output=file´
    - - + + Write output to specified file (instead of `name.po´ or `messages.po´). @@ -109,21 +109,21 @@ Write output to specified file (instead of `name.po´ o
    `--output-dir=dir´
    - - + + Output files will be placed in directory dir.

    - + If the output file is `-´ or `/dev/stdout´, the output is written to standard output.

    -

    4.1.3 Choice of input file language

    +

    4.1.3 Choice of input file language

    @@ -131,20 +131,21 @@ is written to standard output.
    `--language=name´
    - - - + + + Specifies the language of the input files. The supported languages are C, C++, ObjectiveC, PO, Python, Lisp, EmacsLisp, librep, Smalltalk, Java, -awk, YCP, Tcl, PHP, RST, Glade. +JavaProperties, awk, YCP, Tcl, PHP, +RST, Glade.
    `-C´
    `--c++´
    - - + + This is a shorthand for --language=C++.
    @@ -156,13 +157,13 @@ extension.

    -

    4.1.4 Input file interpretation

    +

    4.1.4 Input file interpretation

    `--from-code=name´
    - + Specifies the encoding of the input files. This option is needed only if some untranslated message strings or their corresponding comments contain non-ASCII characters. Note that Python, Tcl, and Glade input @@ -176,7 +177,7 @@ By default the input files are assumed to be in ASCII.

    -

    4.1.5 Operation mode

    +

    4.1.5 Operation mode

    @@ -184,16 +185,16 @@ By default the input files are assumed to be in ASCII.
    `--join-existing´
    - - + + Join messages with existing file.
    `-x file´
    `--exclude-file=file´
    - - + + Entries from file are not extracted. file should be a PO or POT file. @@ -201,8 +202,8 @@ POT file.
    `--add-comments[=tag
    - - + + Place comment block with tag (or those preceding keyword lines) in output file. @@ -210,7 +211,7 @@ in output file. -

    4.1.6 Language=C/C++ specific options

    +

    4.1.6 Language=C/C++ specific options

    @@ -218,20 +219,20 @@ in output file.
    `--extract-all´
    - - + + Extract all strings.
    `-k keywordspec´
    `--keyword[=keywordspec
    - - + + Additional keyword to be looked for (without keywordspec means not to use default keywords). - + If keywordspec is a C identifer id, xgettext looks for strings in the first argument of each call to the function or macro id. If keywordspec is of the form @@ -251,21 +252,21 @@ explicitly disabled, are gettext, dgettext:2,
    `--trigraphs´
    - - - + + + Understand ANSI C trigraphs for input.
    `--debug´
    - - -Use the flags c-format and possible-c-format to show who was + + +Use the flags c-format and possible-c-format to show who was responsible for marking a message as a format string. The latter form is used if the xgettext program decided, the format form is used if the programmer prescribed it. -By default only the c-format form is used. The translator should +By default only the c-format form is used. The translator should not have to care about these details.
    @@ -278,56 +279,63 @@ adjacent strings, and escaped end of lines for continued strings.

    -

    4.1.7 Output details

    +

    4.1.7 Output details

    `--force-po´
    - + Always write an output file even if no message is defined.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `-n´
    `--add-location´
    - - + + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `--properties-output´ +
    + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -336,9 +344,9 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - - + + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -346,16 +354,16 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    `--omit-header´
    - + Don't write header with `msgid ""´ entry. - + This is useful for testing purposes because it eliminates a source of variance for generated .gmo files. With --omit-header, two invocations of xgettext on the same files with the same @@ -363,7 +371,7 @@ options at different times are guaranteed to produce the same results.
    `--copyright-holder=string´
    - + Set the copyright holder in the output. string should be the copyright holder of the surrounding package. (Note that the msgstr strings, extracted from the package's sources, belong to the copyright @@ -379,32 +387,64 @@ simply because xgettext was first used in the GNU project.
    `--foreign-user´
    - + Omit FSF copyright in output. This option is equivalent to `--copyright-holder="´. It can be useful for packages outside the GNU project that want their translations to be in the public domain. +
    `--msgid-bugs-address=email@address´ +
    + +Set the reporting address for msgid bugs. This is the email address or URL +to which the translators shall report bugs in the untranslated strings: + + +
      +
    • Strings which are not entire sentences, see the maintainer guidelines + +in section 3.2 Preparing Translatable Strings. +
    • Strings which use unclear terms or require additional context to be + +understood. +
    • Strings which make invalid assumptions about notation of date, time or + +money. +
    • Pluralisation problems. + +
    • Incorrect English spelling. + +
    • Incorrect formatting. + +
    + +It can be your email address, or a mailing list address where translators +can write to without being subscribed, or the URL of a web page through +which the translators can contact you. + +The default value is empty, which means that translators will be clueless! +Don't forget to specify this option. +
    `-m [string
    `--msgstr-prefix[=string
    - - + + Use string (or "" if not specified) as prefix for msgstr entries.
    `-M [string
    `--msgstr-suffix[=string
    - - + + Use string (or "" if not specified) as suffix for msgstr entries.
    -

    4.1.8 Informative output

    +

    4.1.8 Informative output

    @@ -412,16 +452,16 @@ Use string (or "" if not specified) as suffix for msgstr entries.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    diff --git a/gettext-tools/doc/gettext_5.html b/gettext-tools/doc/gettext_5.html index c16ba9249..80fd99752 100644 --- a/gettext-tools/doc/gettext_5.html +++ b/gettext-tools/doc/gettext_5.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 5 Creating a New PO File @@ -10,9 +10,9 @@ Go to the first, previous<


    -

    5 Creating a New PO File

    +

    5 Creating a New PO File

    - +

    @@ -44,26 +44,26 @@ the header entry of this file. -

    5.1 Invoking the msginit Program

    +

    5.1 Invoking the msginit Program

    - - + +

     msginit [option]
     

    - - + + The msginit program creates a new PO file, initializing the meta information with values from the user's environment.

    -

    5.1.1 Input file location

    +

    5.1.1 Input file location

    @@ -71,8 +71,8 @@ information with values from the user's environment.
    `--input=inputfile´
    - - + + Input POT file.
    @@ -84,7 +84,7 @@ POT file. If it is `-´, standard input is read.

    -

    5.1.2 Output file location

    +

    5.1.2 Output file location

    @@ -92,8 +92,8 @@ POT file. If it is `-´, standard input is read.
    `--output-file=file´
    - - + + Write output to specified PO file.
    @@ -106,7 +106,24 @@ standard output.

    -

    5.1.3 Output details

    +

    5.1.3 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    5.1.4 Output details

    @@ -114,31 +131,41 @@ standard output.
    `--locale=ll_CC´
    - - + + Set target locale. ll should be a language code, and CC should be a country code. The command `locale -a´ can be used to output a list of all installed locales. The default is the user's locale setting.
    `--no-translator´
    - + Declares that the PO file will not have a human translator and is instead automatically generated. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -147,7 +174,7 @@ lines which are wider than the output page width will be split. -

    5.1.4 Informative output

    +

    5.1.5 Informative output

    @@ -155,25 +182,25 @@ lines which are wider than the output page width will be split.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    5.2 Filling in the Header Entry

    +

    5.2 Filling in the Header Entry

    - +

    @@ -196,13 +223,37 @@ entry. You should fill in the following fields.

    This is the name and version of the package. +
    Report-Msgid-Bugs-To +
    +This has already been filled in by xgettext. It contains an email +address or URL where you can report bugs in the untranslated strings: + + +
      +
    • Strings which are not entire sentences, see the maintainer guidelines + +in section 3.2 Preparing Translatable Strings. +
    • Strings which use unclear terms or require additional context to be + +understood. +
    • Strings which make invalid assumptions about notation of date, time or + +money. +
    • Pluralisation problems. + +
    • Incorrect English spelling. + +
    • Incorrect formatting. + +
    +
    POT-Creation-Date
    This has already been filled in by xgettext.
    PO-Revision-Date
    -You don't need to fill this in. It will be filled by the Emacs PO mode +You don't need to fill this in. It will be filled by the Emacs PO mode when you save the file.
    Last-Translator @@ -218,7 +269,7 @@ Before starting a translation, it is a good idea to get in touch with your translation team, not only to make sure you don't do duplicated work, but also to coordinate difficult linguistic issues. - + In the Free Translation Project, each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, http://www.iro.umontreal.ca/contrib/po/HTML/, @@ -226,14 +277,14 @@ in the "National teams" area.
    Content-Type
    - - + + Replace `CHARSET´ with the character encoding used for your language, in your locale, or UTF-8. This field is needed for correct operation of the msgmerge and msgfmt programs, as well as for users whose -locale's character encoding differs from yours (see section 10.2.4 How to specify the output character set gettext uses). +locale's character encoding differs from yours (see section 10.2.4 How to specify the output character set gettext uses). - + You get the character encoding of your locale by running the shell command `locale charmap´. If the result is `C´ or `ANSI_X3.4-1968´, which is equivalent to `ASCII´ (= `US-ASCII´), it means that your @@ -241,11 +292,11 @@ locale is not correctly configured. In this case, ask your translation team which charset to use. `ASCII´ is not usable for any language except Latin. - + Because the PO files must be portable to operating systems with less advanced internationalization facilities, the character encodings that can be used are limited to those supported by both GNU libc and GNU -libiconv. These are: +libiconv. These are: ASCII, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-13, ISO-8859-14, @@ -258,11 +309,11 @@ are limited to those supported by both GNU libc and GNU BIG5, BIG5-HKSCS, GBK, GB18030, SHIFT_JIS, JOHAB, TIS-620, VISCII, GEORGIAN-PS, UTF-8. - + In the GNU system, the following encodings are frequently used for the corresponding languages. - +
    • ISO-8859-1 for @@ -322,8 +373,8 @@ corresponding languages.
    - - + + When single quote characters or double quote characters are used in translations for your language, and your locale's encoding is one of the ISO-8859-* charsets, it is best if you create your PO files in UTF-8 @@ -335,7 +386,7 @@ real quote characters, whereas users in ISO-8859-* locales will see the vertical apostrophe and the vertical double quote instead (because that's what the character set conversion will transliterate them to). - + To enter such quote characters under X11, you can change your keyboard mapping using the xmodmap program. The X11 names of the quote characters are "leftsinglequotemark", "rightsinglequotemark", @@ -357,7 +408,7 @@ Set this to 8bit.
    This field is optional. It is only needed if the PO file has plural forms. You can find them by searching for the `msgid_plural´ keyword. The -format of the plural forms field is described in section 10.2.5 Additional functions for plural forms. +format of the plural forms field is described in section 10.2.5 Additional functions for plural forms.


    diff --git a/gettext-tools/doc/gettext_6.html b/gettext-tools/doc/gettext_6.html index c85aaafc0..66728fed6 100644 --- a/gettext-tools/doc/gettext_6.html +++ b/gettext-tools/doc/gettext_6.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 6 Updating Existing PO Files @@ -10,15 +10,15 @@ Go to the first, previous<


    -

    6 Updating Existing PO Files

    +

    6 Updating Existing PO Files

    -

    6.1 Invoking the msgmerge Program

    +

    6.1 Invoking the msgmerge Program

    - - + +

     msgmerge [option] def.po ref.pot
    @@ -39,7 +39,7 @@ is used to produce better results.
     

    -

    6.1.1 Input file location

    +

    6.1.1 Input file location

    @@ -55,8 +55,8 @@ References to the new sources.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -65,16 +65,16 @@ file will be written relative to the current directory, though.
    `--compendium=file´
    - - -Specify an additional library of message translations. See section 6.11 Using Translation Compendia. + + +Specify an additional library of message translations. See section 6.11 Using Translation Compendia. This option may be specified more than once.
    -

    6.1.2 Operation mode

    +

    6.1.2 Operation mode

    @@ -82,15 +82,15 @@ This option may be specified more than once.
    `--update´
    - - + + Update def.po. Do nothing if def.po is already up to date.
    -

    6.1.3 Output file location

    +

    6.1.3 Output file location

    @@ -98,21 +98,21 @@ Update def.po. Do nothing if def.po is already up to date
    `--output-file=file´
    - - + + Write output to specified file.

    - + The results are written to standard output if no output file is specified or if it is `-´.

    -

    6.1.4 Output file location in update mode

    +

    6.1.4 Output file location in update mode

    The result is written back to def.po. @@ -122,19 +122,19 @@ The result is written back to def.po.

    `--backup=control´
    - - + + Make a backup of def.po
    `--suffix=suffix´
    - + Override the usual backup suffix.

    - + The version control method may be selected via the --backup option or through the VERSION_CONTROL environment variable. Here are the values: @@ -176,7 +176,7 @@ The backup suffix is `~´, unless set with --suffix -

    6.1.5 Operation modifiers

    +

    6.1.5 Operation modifiers

    @@ -184,69 +184,96 @@ The backup suffix is `~´, unless set with --suffix
    `--multi-domain´
    - - + + Apply ref.pot to each of the domains in def.po.
    `-N´
    `--no-fuzzy-matching´
    - - + + Do not use fuzzy matching when an exact match is not found. This may speed up the operation considerably.
    -

    6.1.6 Output details

    +

    6.1.6 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    6.1.7 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `--add-location´
    - + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -255,9 +282,9 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - - + + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -265,15 +292,15 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    -

    6.1.7 Informative output

    +

    6.1.8 Informative output

    @@ -281,24 +308,24 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    `-v´
    `--verbose´
    - - + + Increase verbosity level.
    `-q´ @@ -307,30 +334,30 @@ Increase verbosity level.
    `--silent´
    - - - + + + Suppress progress indicators.
    -

    6.2 Translated Entries

    +

    6.2 Translated Entries

    - +

    Each PO file entry for which the msgstr field has been filled with -a translation, and which is not marked as fuzzy (see section 6.3 Fuzzy Entries), +a translation, and which is not marked as fuzzy (see section 6.3 Fuzzy Entries), is said to be a translated entry. Only translated entries will later be compiled by GNU msgfmt and become usable in programs. Other entry types will be excluded; translation will not occur for them.

    - + Some commands are more specifically related to translated entry processing.

    @@ -338,21 +365,21 @@ Some commands are more specifically related to translated entry processing.
    t
    - + Find the next translated entry (po-next-translated-entry).
    T
    - + Find the previous translated entry (po-previous-translated-entry).

    - - - - + + + + The commands t (po-next-translated-entry) and T (po-previous-translated-entry) move forwards or backwards, chasing for an translated entry. If none is found, the search is extended and @@ -360,25 +387,25 @@ wraps around in the PO file buffer.

    - + Translated entries usually result from the translator having edited in -a translation for them, section 6.6 Modifying Translations. However, if the +a translation for them, section 6.6 Modifying Translations. However, if the variable po-auto-fuzzy-on-edit is not nil, the entry having received a new translation first becomes a fuzzy entry, which ought to be later unfuzzied before becoming an official, genuine translated entry. -See section 6.3 Fuzzy Entries. +See section 6.3 Fuzzy Entries.

    -

    6.3 Fuzzy Entries

    +

    6.3 Fuzzy Entries

    - +

    - - + + Each PO file entry may have a set of attributes, which are qualities given a name and explicitly associated with the translation, using a special system comment. One of these attributes @@ -401,7 +428,7 @@ might mark some entries as being fuzzy.

    - + Also, the translator may decide herself to mark an entry as fuzzy for her own convenience, when she wants to remember that the entry has to be later revisited. So, some commands are more specifically @@ -412,26 +439,26 @@ related to fuzzy entry processing.

    z
    - + Find the next fuzzy entry (po-next-fuzzy-entry).
    Z
    - + Find the previous fuzzy entry (po-previous-fuzzy-entry).
    TAB
    - + Remove the fuzzy attribute of the current entry (po-unfuzzy).

    - - - - + + + + The commands z (po-next-fuzzy-entry) and Z (po-previous-fuzzy-entry) move forwards or backwards, chasing for a fuzzy entry. If none is found, the search is extended and wraps @@ -439,9 +466,9 @@ around in the PO file buffer.

    - - - + + + The command TAB (po-unfuzzy) removes the fuzzy attribute associated with an entry, usually leaving it translated. Further, if the variable po-auto-select-on-unfuzzy has not @@ -463,8 +490,8 @@ to chase another entry, leaving the entry fuzzy.

    - - + + The translator may also use the DEL command (po-fade-out-entry) over any translated entry to mark it as being fuzzy, when she wants to easily leave a trace she wants to later return @@ -479,9 +506,9 @@ still exists.

    -

    6.4 Untranslated Entries

    +

    6.4 Untranslated Entries

    - +

    @@ -501,7 +528,7 @@ are easily recognizable by the fact they end with `msgstr ""´

    - + The work of the translator might be (quite naively) seen as the process of seeking for an untranslated entry, editing a translation for it, and repeating these actions until no untranslated entries remain. @@ -513,26 +540,26 @@ processing.

    u
    - + Find the next untranslated entry (po-next-untranslated-entry).
    U
    - + Find the previous untranslated entry (po-previous-untransted-entry).
    k
    - + Turn the current entry into an untranslated one (po-kill-msgstr).

    - - - - + + + + The commands u (po-next-untranslated-entry) and U (po-previous-untransted-entry) move forwards or backwards, chasing for an untranslated entry. If none is found, the search is @@ -540,11 +567,11 @@ extended and wraps around in the PO file buffer.

    - - + + An entry can be turned back into an untranslated entry by merely emptying its translation, using the command k -(po-kill-msgstr). See section 6.6 Modifying Translations. +(po-kill-msgstr). See section 6.6 Modifying Translations.

    @@ -555,9 +582,9 @@ if some untranslated string still exists.

    -

    6.5 Obsolete Entries

    +

    6.5 Obsolete Entries

    - +

    @@ -570,7 +597,7 @@ translation is not needed anymore by the package being localized. The usual commands moving from entry to entry consider obsolete entries on the same level as active entries. Obsolete entries are easily recognizable by the fact that all their lines start with -#, even those lines containing msgid or msgstr. +#, even those lines containing msgid or msgstr.

    @@ -583,7 +610,7 @@ after the fact.

    - + Moreover, some commands are more specifically related to obsolete entry processing. @@ -592,27 +619,27 @@ entry processing.

    o
    - + Find the next obsolete entry (po-next-obsolete-entry).
    O
    - + Find the previous obsolete entry (po-previous-obsolete-entry).
    DEL
    - + Make an active entry obsolete, or zap out an obsolete entry (po-fade-out-entry).

    - - - - + + + + The commands o (po-next-obsolete-entry) and O (po-previous-obsolete-entry) move forwards or backwards, chasing for an obsolete entry. If none is found, the search is @@ -628,10 +655,10 @@ introducing useless msgid values.

    - - - - + + + + However, it is possible to comment out an active entry, so making it obsolete. GNU gettext utilities will later react to the disappearance of a translation by using the untranslated string. @@ -641,7 +668,7 @@ translated entry), then it is first made fuzzy. If it is already fuzzy, then the entry is merely commented out, with confirmation. If the entry is already obsolete, then it is completely deleted from the PO file. It is easy to recycle the translation so deleted into some other PO file -entry, usually one which is untranslated. See section 6.6 Modifying Translations. +entry, usually one which is untranslated. See section 6.6 Modifying Translations.

    @@ -659,10 +686,10 @@ merely tries to provide handy tools for helping her to do so.

    -

    6.6 Modifying Translations

    +

    6.6 Modifying Translations

    - - + +

    @@ -688,40 +715,40 @@ using the following commands for modifying the translations.

    RET
    - + Interactively edit the translation (po-edit-msgstr).
    LFD
    C-j
    - - + + Reinitialize the translation with the original, untranslated string (po-msgid-to-msgstr).
    k
    - + Save the translation on the kill ring, and delete it (po-kill-msgstr).
    w
    - + Save the translation on the kill ring, without deleting it (po-kill-ring-save-msgstr).
    y
    - + Replace the translation, taking the new from the kill ring (po-yank-msgstr).

    - - + + The command RET (po-edit-msgstr) opens a new Emacs window meant to edit in a new translation, or to modify an already existing translation. The new window contains a copy of the translation taken from @@ -729,14 +756,14 @@ the current PO file entry, all ready for edition, expunged of all quoting marks, fully modifiable and with the complete extent of Emacs modifying commands. When the translator is done with her modifications, she may use C-c C-c to close the subedit window with the automatically requoted -results, or C-c C-k to abort her modifications. See section 6.8 Details of Sub Edition, +results, or C-c C-k to abort her modifications. See section 6.8 Details of Sub Edition, for more information.

    - - - + + + The command LFD (po-msgid-to-msgstr) initializes, or reinitializes the translation with the original string. This command is normally used when the translator wants to redo a fresh translation of @@ -744,7 +771,7 @@ the original string, disregarding any previous work.

    - + It is possible to arrange so, whenever editing an untranslated entry, the LFD command be automatically executed. If you set po-auto-edit-with-msgid to t, the translation gets @@ -753,7 +780,7 @@ The default value for po-auto-edit-with-msgid is nil.

    - + In fact, whether it is best to start a translation with an empty string, or rather with a copy of the original string, is a matter of taste or habit. Sometimes, the source language and the @@ -767,11 +794,11 @@ if this requires some extra editing work to get rid of the original.

    - - - - - + + + + + The command k (po-kill-msgstr) merely empties the translation string, so turning the entry into an untranslated one. But while doing so, its previous contents is put apart in @@ -803,8 +830,8 @@ entries, the translation is also uncommented prior to saving.

    - - + + The command y (po-yank-msgstr) completely replaces the translation of the current entry by a string taken from the kill ring. Following Emacs terminology, we then say that the replacement @@ -838,7 +865,7 @@ yanking commands themselves.

    - + To better illustrate the operation of killing and yanking, let's use an actual example, taken from a common situation. When the programmer slightly modifies some string right in the program, his @@ -876,10 +903,10 @@ See section `Keyboard Macros' in The Emacs Editor.

    -

    6.7 Modifying Comments

    +

    6.7 Modifying Comments

    - - + +

    @@ -901,31 +928,31 @@ they are not meant for the translator to modify. See section 6.6 Modifying Translations. +so the general indications given for those apply here. See section 6.6 Modifying Translations.

    #
    - + Interactively edit the translator comments (po-edit-comment).
    K
    - + Save the translator comments on the kill ring, and delete it (po-kill-comment).
    W
    - + Save the translator comments on the kill ring, without deleting it (po-kill-ring-save-comment).
    Y
    - + Replace the translator comments, taking the new from the kill ring (po-yank-comment). @@ -937,37 +964,37 @@ strings, and behave much the same way as they do, except that they handle this part of PO file comments meant for translator usage, rather than the translation strings. So, if the descriptions given below are slightly succinct, it is because the full details have already been given. -See section 6.6 Modifying Translations. +See section 6.6 Modifying Translations.

    - - + + The command # (po-edit-comment) opens a new Emacs window containing a copy of the translator comments on the current PO file entry. If there are no such comments, PO mode understands that the translator wants to add a comment to the entry, and she is presented with an empty screen. -Comment marks (#) and the space following them are automatically +Comment marks (#) and the space following them are automatically removed before edition, and reinstated after. For translator comments pertaining to obsolete entries, the uncommenting and recommenting operations are done twice. Once in the editing window, the keys C-c C-c allow the translator to tell she is finished with editing the comment. -See section 6.8 Details of Sub Edition, for further details. +See section 6.8 Details of Sub Edition, for further details.

    - + Functions found on po-subedit-mode-hook, if any, are executed after the string has been inserted in the edit buffer.

    - - - - - - + + + + + + The command K (po-kill-comment) gets rid of all translator comments, while saving those comments on the kill ring. The command W (po-kill-ring-save-comment) takes @@ -1006,9 +1033,9 @@ regular Emacs commands C-y (yank) and M-y

    -

    6.8 Details of Sub Edition

    +

    6.8 Details of Sub Edition

    - +

    @@ -1021,25 +1048,25 @@ of Emacs, which are described below.

    C-c C-c
    - + Complete edition (po-subedit-exit).
    C-c C-k
    - + Abort edition (po-subedit-abort).
    C-c C-a
    - + Consult auxiliary PO files (po-subedit-cycle-auxiliary).

    - - - + + + The window's contents represents a translation for a given message, or a translator comment. The translator may modify this window to her heart's content. Once this is done, the command C-c C-c @@ -1049,8 +1076,8 @@ sight or if buffers were switched.

    - - + + If the translator becomes unsatisfied with her translation or comment, to the extent she prefers keeping what was existent prior to the RET or # command, she may use the command C-c C-k @@ -1061,14 +1088,14 @@ whole effect of last edition.

    - - + + The command C-c C-a (po-subedit-cycle-auxiliary) allows for glancing through translations already achieved in other languages, directly while editing the current translation. This may be quite convenient when the translator is fluent at many languages, but of course, only makes sense when such completed -auxiliary PO files are already available to her (see section 6.10 Consulting Auxiliary PO Files). +auxiliary PO files are already available to her (see section 6.10 Consulting Auxiliary PO Files).

    @@ -1082,21 +1109,21 @@ inserting unwanted RET (newline) characters at the end of the translated string if those are not meant to be there, or to removing such characters when they are required. Since these characters are not visible in the editing buffer, they are easily introduced by mistake. -To help her, RET automatically puts the character < -at the end of the string being edited, but this < is not really +To help her, RET automatically puts the character < +at the end of the string being edited, but this < is not really part of the string. On exiting the editing window with C-c C-c, PO mode automatically removes such < and all whitespace added after -it. If the translator adds characters after the terminating <, it +it. If the translator adds characters after the terminating <, it looses its delimiting property and integrally becomes part of the string. -If she removes the delimiting <, then the edited string is taken +If she removes the delimiting <, then the edited string is taken as is, with all trailing newlines, even if invisible. Also, if -the translated string ought to end itself with a genuine <, then -the delimiting < may not be removed; so the string should appear, -in the editing window, as ending with two < in a row. +the translated string ought to end itself with a genuine <, then +the delimiting < may not be removed; so the string should appear, +in the editing window, as ending with two < in a row.

    - + When a translation (or a comment) is being edited, the translator may move the cursor back into the PO file buffer and freely move to other entries, browsing at will. If, with an edition pending, the translator wanders in the @@ -1109,7 +1136,7 @@ the translator should better be comfortable at handling many Emacs windows!

    - + Pending subedits may be completed or aborted in any order, regardless of how or when they were started. When many subedits are pending and the translator asks for quitting the PO file (with the q command), subedits @@ -1118,11 +1145,11 @@ are automatically resumed one at a time, so she may decide for each of them.

    -

    6.9 C Sources Context

    +

    6.9 C Sources Context

    - - - + + +

    @@ -1159,7 +1186,7 @@ overall organization, than to the program code itself.

    - + The following commands are meant to help the translator at getting program source context for a PO file entry. @@ -1168,35 +1195,35 @@ program source context for a PO file entry.

    s
    - + Resume the display of a program source context, or cycle through them (po-cycle-source-reference).
    M-s
    - + Display of a program source context selected by menu (po-select-source-reference).
    S
    - + Add a directory to the search path for source files (po-consider-source-path).
    M-S
    - + Delete a directory from the search path for source files (po-ignore-source-path).

    - - - - + + + + The commands s (po-cycle-source-reference) and M-s (po-select-source-reference) both open another window displaying some source program file, and already positioned in such a way that @@ -1241,10 +1268,10 @@ available for a single string to translate.

    - - - - + + + + Program source files are usually found relative to where the PO file stands. As a special provision, when this fails, the file is also looked for, but relative to the directory immediately above it. @@ -1262,9 +1289,9 @@ one of the directories she does not want anymore on the search path.

    -

    6.10 Consulting Auxiliary PO Files

    +

    6.10 Consulting Auxiliary PO Files

    - +

    @@ -1277,8 +1304,8 @@ at once, for translators preferring to work in this way.

    - - + + An auxiliary PO file is an existing PO file meant for the same package the translator is working on, but targeted to a different mother tongue language. Commands exist for declaring and handling auxiliary @@ -1293,41 +1320,41 @@ Here are the auxiliary file commands available in PO mode.

    a
    - + Seek auxiliary files for another translation for the same entry (po-cycle-auxiliary).
    C-c C-a
    - + Switch to a particular auxiliary file (po-select-auxiliary).
    A
    - + Declare this PO file as an auxiliary file (po-consider-as-auxiliary).
    M-A
    - + Remove this PO file from the list of auxiliary files (po-ignore-as-auxiliary).

    - - - - + + + + Command A (po-consider-as-auxiliary) adds the current PO file to the list of auxiliary files, while command M-A (po-ignore-as-auxiliary just removes it.

    - - + + The command a (po-cycle-auxiliary) seeks all auxiliary PO files, round-robin, searching for a translated entry in some other language having an msgid field identical as the one for the current entry. @@ -1339,8 +1366,8 @@ so repeating a will eventually yield back the original PO file.

    - - + + The command C-c C-a (po-select-auxiliary) asks the translator for her choice of a particular auxiliary file, with completion, and then switches to that selected PO file. The command also checks if @@ -1360,7 +1387,7 @@ their msgid entries written by the same GNU gettext to

    - + However, PO files initially created by PO mode itself, while marking strings in source files, are normalised differently. So are PO files resulting of the the `M-x normalize´ command. Until these @@ -1370,13 +1397,13 @@ fully resolved, the translator should stay aware of normalisation issues.

    -

    6.11 Using Translation Compendia

    +

    6.11 Using Translation Compendia

    - +

    - + A compendium is a special PO file containing a set of translations recurring in many different packages. The translator can use gettext tools to build a new compendium, to add entries to her @@ -1387,10 +1414,10 @@ already translated entries, from translations kept in the compendium. -

    6.11.1 Creating Compendia

    +

    6.11.1 Creating Compendia

    - - + +

    @@ -1402,11 +1429,11 @@ files and extracting a message subset from a PO file.

    -

    6.11.1.1 Concatenate PO Files

    +

    6.11.1.1 Concatenate PO Files

    - - + + To concatenate several valid PO files into one compendium file you can use `msgcomm´ or `msgcat´ (the latter preferred): @@ -1485,9 +1512,9 @@ files or postprocess the result using `msgattrib --translated --no-fuzzy&a

    -

    6.11.1.2 Extract a Message Subset from a PO File

    +

    6.11.1.2 Extract a Message Subset from a PO File

    - +

    @@ -1507,7 +1534,7 @@ msggrep --location src/getopt.c -o compendium.po file.po -

    6.11.2 Using Compendia

    +

    6.11.2 Using Compendia

    You can use a compendium file to initialize a translation from scratch @@ -1516,9 +1543,9 @@ or to update an already existing translation.

    -

    6.11.2.1 Initialize a New Translation File

    +

    6.11.2.1 Initialize a New Translation File

    - +

    @@ -1533,9 +1560,9 @@ msgmerge --compendium compendium.po -o file.po /dev/null file.pot -

    6.11.2.2 Update an Existing Translation File

    +

    6.11.2.2 Update an Existing Translation File

    - +

    diff --git a/gettext-tools/doc/gettext_7.html b/gettext-tools/doc/gettext_7.html index e42e3f999..73e1cf099 100644 --- a/gettext-tools/doc/gettext_7.html +++ b/gettext-tools/doc/gettext_7.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 7 Manipulating PO Files @@ -10,9 +10,9 @@ Go to the first, previous<


    -

    7 Manipulating PO Files

    +

    7 Manipulating PO Files

    - +

    @@ -22,7 +22,7 @@ complete set of tools for this purpose.

    - + When merging two packages into a single package, the resulting POT file will be the concatenation of the two packages' POT files. Thus the maintainer must concatenate the two existing package translations into @@ -32,7 +32,7 @@ possible conflicts that arose during the merge.

    - + When a translator takes over the translation job from another translator, but she uses a different character encoding in her locale, she will convert the catalog to her character encoding. This is best done through @@ -48,8 +48,8 @@ that source file and use `msgmerge´.

    - - + + When a translator wants to adjust some translation catalog for a special dialect or orthography -- for example, German as written in Switzerland versus German as written in Germany -- she needs to apply some text @@ -66,14 +66,14 @@ that's why it's better to use the original POT file if available.

    - + When a translator wants to check her translations, for example according to orthography rules or using a non-interactive spell checker, she can do so using the `msgexec´ program.

    - + When third party tools create PO or POT files, sometimes duplicates cannot be avoided. But the GNU gettext tools give an error when they encounter duplicate msgids in the same file and in the same domain. @@ -91,7 +91,7 @@ completely translated.

    - + `msgattrib´ can be used to select and extract only the fuzzy or untranslated messages of a translation catalog. @@ -110,19 +110,19 @@ write other specialized programs that process PO files. -

    7.1 Invoking the msgcat Program

    +

    7.1 Invoking the msgcat Program

    - - + +

     msgcat [option] [inputfile]...
     

    - - + + The msgcat program concatenates and merges the specified PO files. It finds messages which are common to two or more of the specified PO files. By using the --more-than option, greater commonality may be requested @@ -136,7 +136,7 @@ to define them. File positions from all PO files will be cumulated.

    -

    7.1.1 Input file location

    +

    7.1.1 Input file location

    @@ -148,8 +148,8 @@ Input files.
    `--files-from=file´
    - - + + Read the names of the input files from file instead of getting them from the command line. @@ -157,8 +157,8 @@ them from the command line.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -171,7 +171,7 @@ If inputfile is `-´, standard input is read.

    -

    7.1.2 Output file location

    +

    7.1.2 Output file location

    @@ -179,21 +179,21 @@ If inputfile is `-´, standard input is read.
    `--output-file=file´
    - - + + Write output to specified file.

    - + The results are written to standard output if no output file is specified or if it is `-´.

    -

    7.1.3 Message selection

    +

    7.1.3 Message selection

    @@ -201,8 +201,8 @@ or if it is `-´.
    `--less-than=number´
    - - + + Print messages with less than number definitions, defaults to infinite if not set. @@ -210,8 +210,8 @@ if not set.
    `--more-than=number´
    - - + + Print messages with more than number definitions, defaults to 0 if not set. @@ -219,8 +219,8 @@ set.
    `--unique´
    - - + + Shorthand for `--less-than=2´. Requests that only unique messages be printed. @@ -228,7 +228,24 @@ printed. -

    7.1.4 Output details

    +

    7.1.4 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.1.5 Output details

    @@ -236,62 +253,72 @@ printed.
    `--to-code=name´
    - - + + Specify encoding for output.
    `--use-first´
    - + Use first available translation for each message. Don't merge several translations into one.
    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `-n´
    `--add-location´
    - - + + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -300,9 +327,9 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - - + + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -310,15 +337,15 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    -

    7.1.5 Informative output

    +

    7.1.6 Informative output

    @@ -326,41 +353,41 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.2 Invoking the msgconv Program

    +

    7.2 Invoking the msgconv Program

    - - + +

     msgconv [option] [inputfile]
     

    - + The msgconv program converts a translation catalog to a different character encoding.

    -

    7.2.1 Input file location

    +

    7.2.1 Input file location

    @@ -372,8 +399,8 @@ Input PO file.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -386,7 +413,7 @@ If no inputfile is given or if it is `-´, standard

    -

    7.2.2 Output file location

    +

    7.2.2 Output file location

    @@ -394,8 +421,8 @@ If no inputfile is given or if it is `-´, standard
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -407,7 +434,7 @@ or if it is `-´.

    -

    7.2.3 Conversion target

    +

    7.2.3 Conversion target

    @@ -415,8 +442,8 @@ or if it is `-´.
    `--to-code=name´
    - - + + Specify encoding for output.
    @@ -427,53 +454,80 @@ The default encoding is the current locale's encoding.

    -

    7.2.4 Output details

    +

    7.2.4 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.2.5 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `--add-location´
    - + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -482,8 +536,8 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -491,15 +545,15 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    -

    7.2.5 Informative output

    +

    7.2.6 Informative output

    @@ -507,41 +561,41 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.3 Invoking the msggrep Program

    +

    7.3 Invoking the msggrep Program

    - - + +

     msggrep [option] [inputfile]
     

    - + The msggrep program extracts all messages of a translation catalog that match a given pattern or belong to some given source files.

    -

    7.3.1 Input file location

    +

    7.3.1 Input file location

    @@ -553,8 +607,8 @@ Input PO file.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -567,7 +621,7 @@ If no inputfile is given or if it is `-´, standard

    -

    7.3.2 Output file location

    +

    7.3.2 Output file location

    @@ -575,8 +629,8 @@ If no inputfile is given or if it is `-´, standard
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -588,7 +642,7 @@ or if it is `-´.

    -

    7.3.3 Message selection

    +

    7.3.3 Message selection

    @@ -638,8 +692,8 @@ expressions if -E is given, or fixed strings if -F is given.
     
    `--location=sourcefile´
    - - + + Select messages extracted from sourcefile. sourcefile can be either a literal file name or a wildcard pattern. @@ -647,134 +701,169 @@ either a literal file name or a wildcard pattern.
    `--domain=domainname´
    - - + + Select messages belonging to domain domainname.
    `-K´
    `--msgid´
    - - + + Start of patterns for the msgid.
    `-T´
    `--msgstr´
    - - + + Start of patterns for the msgstr. +
    `-C´ +
    +
    `--comment´ +
    + + +Start of patterns for the translator's comment. +
    `-E´
    `--extended-regexp´
    - - + + Specify that pattern is an extended regular expression.
    `-F´
    `--fixed-strings´
    - - + + Specify that pattern is a set of newline-separated strings.
    `-e pattern´
    `--regexp=pattern´
    - - + + Use pattern as a regular expression.
    `-f file´
    `--file=file´
    - - + + Obtain pattern from file.
    `-i´
    `--ignore-case´
    - - + + Ignore case distinctions.
    -

    7.3.4 Output details

    +

    7.3.4 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.3.5 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `--indent´
    - + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `--add-location´
    - + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split.
    `--sort-output´
    - + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context.
    `--sort-by-file´
    - + Sort output by file location.
    -

    7.3.5 Informative output

    +

    7.3.6 Informative output

    @@ -782,41 +871,41 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.4 Invoking the msgfilter Program

    +

    7.4 Invoking the msgfilter Program

    - - + +

     msgfilter [option] filter [filter-option]
     

    - + The msgfilter program applies a filter to all translations of a translation catalog.

    -

    7.4.1 Input file location

    +

    7.4.1 Input file location

    @@ -824,16 +913,16 @@ translation catalog.
    `--input=inputfile´
    - - + + Input PO file.
    `-D directory´
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -846,7 +935,7 @@ If no inputfile is given or if it is `-´, standard

    -

    7.4.2 Output file location

    +

    7.4.2 Output file location

    @@ -854,8 +943,8 @@ If no inputfile is given or if it is `-´, standard
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -867,7 +956,7 @@ or if it is `-´.

    -

    7.4.3 The filter

    +

    7.4.3 The filter

    The filter can be any program that reads a translation from standard @@ -876,7 +965,7 @@ used filter is `sed´.

    - + Note: It is your responsibility to ensure that the filter can cope with input encoded in the translation catalog's encoding. If the filter wants input in a particular encoding, you can in a first step @@ -889,19 +978,19 @@ locale, by using the LC_ALL environment variable.

    - + Note: Most translations in a translation catalog don't end with a newline -character. For this reason, it is important that the filter +character. For this reason, it is important that the filter recognizes its last input line even if it ends without a newline, and that -it doesn't add an undesired trailing newline at the end. The `sed´ +it doesn't add an undesired trailing newline at the end. The `sed´ program on some platforms is known to ignore the last line of input if it -is not terminated with a newline. You can use GNU sed instead; it +is not terminated with a newline. You can use GNU sed instead; it does not have this limitation.

    -

    7.4.4 Useful filter-options when the filter is `sed´

    +

    7.4.4 Useful filter-options when the filter is `sed´

    @@ -909,16 +998,16 @@ does not have this limitation.
    `--expression=script´
    - - + + Add script to the commands to be executed.
    `-f scriptfile´
    `--file=scriptfile´
    - - + + Add the contents of scriptfile to the commands to be executed.
    `-n´ @@ -927,66 +1016,93 @@ Add the contents of scriptfile to the commands to be executed.
    `--silent´
    - - - + + + Suppress automatic printing of pattern space.
    -

    7.4.5 Output details

    +

    7.4.5 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.4.6 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `--indent´
    - + Write the .po file using indented style.
    `--keep-header´
    - + Keep the header entry, i.e. the message with `msgid ""´, unmodified, instead of filtering it. By default, the header entry is subject to filtering like any other message.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `--add-location´
    - + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -995,8 +1111,8 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -1004,15 +1120,15 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    -

    7.4.6 Informative output

    +

    7.4.7 Informative output

    @@ -1020,35 +1136,35 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.5 Invoking the msguniq Program

    +

    7.5 Invoking the msguniq Program

    - - + +

     msguniq [option] [inputfile]
     

    - - + + The msguniq program unifies duplicate translations in a translation catalog. It finds duplicate translations of the same message ID. Such duplicates are invalid input for other programs like msgfmt, @@ -1063,7 +1179,7 @@ discarded.

    -

    7.5.1 Input file location

    +

    7.5.1 Input file location

    @@ -1075,8 +1191,8 @@ Input PO file.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -1089,7 +1205,7 @@ If no inputfile is given or if it is `-´, standard

    -

    7.5.2 Output file location

    +

    7.5.2 Output file location

    @@ -1097,8 +1213,8 @@ If no inputfile is given or if it is `-´, standard
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -1110,7 +1226,7 @@ or if it is `-´.

    -

    7.5.3 Message selection

    +

    7.5.3 Message selection

    @@ -1118,23 +1234,40 @@ or if it is `-´.
    `--repeated´
    - - + + Print only duplicates.
    `-u´
    `--unique´
    - - + + Print only unique messages, discard duplicates.
    -

    7.5.4 Output details

    +

    7.5.4 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.5.5 Output details

    @@ -1142,62 +1275,72 @@ Print only unique messages, discard duplicates.
    `--to-code=name´
    - - + + Specify encoding for output.
    `--use-first´
    - + Use first available translation for each message. Don't merge several translations into one.
    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `-n´
    `--add-location´
    - - + + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -1206,8 +1349,8 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -1215,15 +1358,15 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    -

    7.5.5 Informative output

    +

    7.5.6 Informative output

    @@ -1231,34 +1374,34 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.6 Invoking the msgcomm Program

    +

    7.6 Invoking the msgcomm Program

    - - + +

     msgcomm [option] [inputfile]...
     

    - + The msgcomm program finds messages which are common to two or more of the specified PO files. By using the --more-than option, greater commonality may be requested @@ -1272,7 +1415,7 @@ cumulated.

    -

    7.6.1 Input file location

    +

    7.6.1 Input file location

    @@ -1284,8 +1427,8 @@ Input files.
    `--files-from=file´
    - - + + Read the names of the input files from file instead of getting them from the command line. @@ -1293,8 +1436,8 @@ them from the command line.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -1307,7 +1450,7 @@ If inputfile is `-´, standard input is read.

    -

    7.6.2 Output file location

    +

    7.6.2 Output file location

    @@ -1315,8 +1458,8 @@ If inputfile is `-´, standard input is read.
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -1328,7 +1471,7 @@ or if it is `-´.

    -

    7.6.3 Message selection

    +

    7.6.3 Message selection

    @@ -1336,8 +1479,8 @@ or if it is `-´.
    `--less-than=number´
    - - + + Print messages with less than number definitions, defaults to infinite if not set. @@ -1345,8 +1488,8 @@ if not set.
    `--more-than=number´
    - - + + Print messages with more than number definitions, defaults to 1 if not set. @@ -1354,8 +1497,8 @@ set.
    `--unique´
    - - + + Shorthand for `--less-than=2´. Requests that only unique messages be printed. @@ -1363,56 +1506,83 @@ printed. -

    7.6.4 Output details

    +

    7.6.4 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.6.5 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `-n´
    `--add-location´
    - - + + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -1421,8 +1591,8 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -1430,20 +1600,20 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    `--omit-header´
    - + Don't write header with `msgid ""´ entry.
    -

    7.6.5 Informative output

    +

    7.6.6 Informative output

    @@ -1451,34 +1621,34 @@ Don't write header with `msgid ""´ entry.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.7 Invoking the msgcmp Program

    +

    7.7 Invoking the msgcmp Program

    - - + +

     msgcmp [option] def.po ref.pot
     

    - + The msgcmp program compares two Uniforum style .po files to check that both contain the same set of msgid strings. The def.po file is an existing PO file with the translations. The ref.pot file is the last @@ -1490,7 +1660,7 @@ used to produce better diagnostics.

    -

    7.7.1 Input file location

    +

    7.7.1 Input file location

    @@ -1506,8 +1676,8 @@ References to the sources.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. @@ -1515,7 +1685,7 @@ searched relative to this list of directories. -

    7.7.2 Operation modifiers

    +

    7.7.2 Operation modifiers

    @@ -1523,15 +1693,32 @@ searched relative to this list of directories.
    `--multi-domain´
    - - + + Apply ref.pot to each of the domains in def.po.
    -

    7.7.3 Informative output

    +

    7.7.3 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.7.4 Informative output

    @@ -1539,42 +1726,42 @@ Apply ref.pot to each of the domains in def.po.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.8 Invoking the msgattrib Program

    +

    7.8 Invoking the msgattrib Program

    - - + +

     msgattrib [option] [inputfile]
     

    - - + + The msgattrib program filters the messages of a translation catalog according to their attributes, and manipulates the attributes.

    -

    7.8.1 Input file location

    +

    7.8.1 Input file location

    @@ -1586,8 +1773,8 @@ Input PO file.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -1600,7 +1787,7 @@ If no inputfile is given or if it is `-´, standard

    -

    7.8.2 Output file location

    +

    7.8.2 Output file location

    @@ -1608,8 +1795,8 @@ If no inputfile is given or if it is `-´, standard
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -1621,48 +1808,48 @@ or if it is `-´.

    -

    7.8.3 Message selection

    +

    7.8.3 Message selection

    `--translated´
    - + Keep translated messages, remove untranslated messages.
    `--untranslated´
    - + Keep untranslated messages, remove translated messages.
    `--no-fuzzy´
    - + Remove `fuzzy' marked messages.
    `--only-fuzzy´
    - + Keep `fuzzy' marked messages, remove all other messsages.
    `--no-obsolete´
    - + Remove obsolete #~ messages.
    `--only-obsolete´
    - + Keep obsolete #~ messages, remove all other messages.
    -

    7.8.4 Attribute manipulation

    +

    7.8.4 Attribute manipulation

    - + Attributes are modified after the message selection/removal has been performed. If the `--only-file´ or `--ignore-file´ option is specified, the attribute modification is applied only to those messages @@ -1674,45 +1861,45 @@ that are listed in the only-file and not listed in the

    `--set-fuzzy´
    - + Set all messages `fuzzy'.
    `--clear-fuzzy´
    - + Set all messages non-`fuzzy'.
    `--set-obsolete´
    - + Set all messages obsolete.
    `--clear-obsolete´
    - + Set all messages non-obsolete.
    `--only-file=file´
    - + Limit the attribute changes to entries that are listed in file. file should be a PO or POT file.
    `--ignore-file=file´
    - + Limit the attribute changes to entries that are not listed in file. file should be a PO or POT file.
    `--fuzzy´
    - + Synonym for `--only-fuzzy --clear-fuzzy´: It keeps only the fuzzy messages and removes their `fuzzy' mark.
    `--obsolete´
    - + Synonym for `--only-obsolete --clear-obsolete´: It keeps only the obsolete messages and makes them non-obsolete. @@ -1720,56 +1907,83 @@ obsolete messages and makes them non-obsolete. -

    7.8.5 Output details

    +

    7.8.5 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.8.6 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `-n´
    `--add-location´
    - - + + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -1778,8 +1992,8 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -1787,15 +2001,15 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    -

    7.8.6 Informative output

    +

    7.8.7 Informative output

    @@ -1803,49 +2017,49 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.9 Invoking the msgen Program

    +

    7.9 Invoking the msgen Program

    - - + +

     msgen [option] inputfile
     

    - + The msgen program creates an English translation catalog. The input file is the last created English PO file, or a PO Template file (generally created by xgettext). Untranslated entries are assigned a -translation that is identical to the msgid, and are marked fuzzy. +translation that is identical to the msgid.

    Note: `msginit --no-translator --locale=en´ performs a very similar -task. The main difference is that msginit cares specially about +task. The main difference is that msginit cares specially about the header entry, whereas msgen doesn't.

    -

    7.9.1 Input file location

    +

    7.9.1 Input file location

    @@ -1857,8 +2071,8 @@ Input PO or POT file.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -1871,7 +2085,7 @@ If inputfile is `-´, standard input is read.

    -

    7.9.2 Output file location

    +

    7.9.2 Output file location

    @@ -1879,8 +2093,8 @@ If inputfile is `-´, standard input is read.
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -1892,53 +2106,80 @@ or if it is `-´.

    -

    7.9.3 Output details

    +

    7.9.3 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.9.4 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--no-location´
    - + Do not write `#: filename:line´ lines.
    `--add-location´
    - + Generate `#: filename:line´ lines (default).
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -1947,8 +2188,8 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -1956,15 +2197,15 @@ for the translator to understand each message's context.
    `--sort-by-file´
    - - + + Sort output by file location.
    -

    7.9.4 Informative output

    +

    7.9.5 Informative output

    @@ -1972,34 +2213,34 @@ Sort output by file location.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.10 Invoking the msgexec Program

    +

    7.10 Invoking the msgexec Program

    - - + +

     msgexec [option] command [command-option]
     

    - + The msgexec program applies a command to all translations of a translation catalog. The command can be any program that reads a translation from standard @@ -2009,15 +2250,15 @@ across all invocations.

    - + A special builtin command called `0´ outputs the translation, followed by a null byte. The output of `msgexec 0´ is suitable as input for `xargs -0´.

    - - + + During each command invocation, the environment variable MSGEXEC_MSGID is bound to the message's msgid, and the environment variable MSGEXEC_LOCATION is bound to the location in the PO file @@ -2025,7 +2266,7 @@ of the message.

    - + Note: It is your responsibility to ensure that the command can cope with input encoded in the translation catalog's encoding. If the command wants input in a particular encoding, you can in a first step @@ -2039,7 +2280,7 @@ locale, by using the LC_ALL environment variable.

    -

    7.10.1 Input file location

    +

    7.10.1 Input file location

    @@ -2047,16 +2288,16 @@ locale, by using the LC_ALL environment variable.
    `--input=inputfile´
    - - + + Input PO file.
    `-D directory´
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -2069,7 +2310,24 @@ If no inputfile is given or if it is `-´, standard

    -

    7.10.2 Informative output

    +

    7.10.2 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    7.10.3 Informative output

    @@ -2077,30 +2335,30 @@ If no inputfile is given or if it is `-´, standard
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    -

    7.11 Writing your own programs that process PO files

    +

    7.11 Writing your own programs that process PO files

    For the tasks for which a combination of `msgattrib´, `msgcat´ etc. is not sufficient, a set of C functions is provided in a library, to make it possible to process PO files in your own programs. When you use this library, you don't need to write routines to parse the PO file; instead, you retreive -a pointer in memory to each of messages contained in the PO file. Functions +a pointer in memory to each of messages contained in the PO file. Functions for writing PO files are not provided at this time.

    @@ -2112,7 +2370,7 @@ defined in a library called `libgettextpo´.

    Data Type: po_file_t -
    +
    This is a pointer type that refers to the contents of a PO file, after it has been read into memory.
    @@ -2121,7 +2379,7 @@ been read into memory.

    Data Type: po_message_iterator_t -
    +
    This is a pointer type that refers to an iterator that produces a sequence of messages.
    @@ -2130,7 +2388,7 @@ messages.

    Data Type: po_message_t -
    +
    This is a pointer type that refers to a message of a PO file, including its translation.
    @@ -2139,7 +2397,7 @@ translation.

    Function: po_file_t po_file_read (const char *filename) -
    +
    The po_file_read function reads a PO file into memory. The file name is given as argument. The return value is a handle to the PO file's contents, valid until po_file_free is called on it. In case of error, the return @@ -2150,7 +2408,7 @@ value is NULL, and errno is set.

    Function: void po_file_free (po_file_t file) -
    +
    The po_file_free function frees a PO file's contents from memory, including all messages that are only implicitly accessible through iterators.
    @@ -2159,7 +2417,7 @@ including all messages that are only implicitly accessible through iterators.

    Function: const char * const * po_file_domains (po_file_t file) -
    +
    The po_file_domains function returns the domains for which the given PO file has messages. The return value is a NULL terminated array which is valid as long as the file handle is valid. For PO files which @@ -2171,7 +2429,7 @@ namely the default domain "messages".

    Function: po_message_iterator_t po_message_iterator (po_file_t file, const char *domain) -
    +
    The po_message_iterator returns an iterator that will produce the messages of file that belong to the given domain. If domain is NULL, the default domain is used instead. To list the messages, @@ -2182,7 +2440,7 @@ use the function po_next_message repeatedly.

    Function: void po_message_iterator_free (po_message_iterator_t iterator) -
    +
    The po_message_iterator_free function frees an iterator previously allocated through the po_message_iterator function.
    @@ -2191,7 +2449,7 @@ allocated through the po_message_iterator function.

    Function: po_message_t po_next_message (po_message_iterator_t iterator) -
    +
    The po_next_message function returns the next message from iterator and advances the iterator. It returns NULL when the iterator has reached the end of its message list. @@ -2206,7 +2464,7 @@ that the results are valid as long as the file handle is valid.

    Function: const char * po_message_msgid (po_message_t message) -
    +
    The po_message_msgid function returns the msgid (untranslated English string) of a message. This is guaranteed to be non-NULL.
    @@ -2215,7 +2473,7 @@ English string) of a message. This is guaranteed to be non-NULL.

    Function: const char * po_message_msgid_plural (po_message_t message) -
    +
    The po_message_msgid_plural function returns the msgid_plural (untranslated English plural string) of a message with plurals, or NULL for a message without plural. @@ -2225,7 +2483,7 @@ for a message without plural.

    Function: const char * po_message_msgstr (po_message_t message) -
    +
    The po_message_msgstr function returns the msgstr (translation) of a message. For an untranslated message, the return value is an empty string. @@ -2235,7 +2493,7 @@ string.

    Function: const char * po_message_msgstr_plural (po_message_t message, int index) -
    +
    The po_message_msgstr_plural function returns the msgstr[index] of a message with plurals, or NULL when the index is out of range or for a message without plural. diff --git a/gettext-tools/doc/gettext_8.html b/gettext-tools/doc/gettext_8.html index 2c6c1d153..d100691ae 100644 --- a/gettext-tools/doc/gettext_8.html +++ b/gettext-tools/doc/gettext_8.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 8 Producing Binary MO Files @@ -10,29 +10,29 @@ Go to the first, previous<


    -

    8 Producing Binary MO Files

    +

    8 Producing Binary MO Files

    -

    8.1 Invoking the msgfmt Program

    +

    8.1 Invoking the msgfmt Program

    - - + +

     msgfmt [option] filename.po ...
     

    - + The msgfmt programs generates a binary message catalog from a textual translation description.

    -

    8.1.1 Input file location

    +

    8.1.1 Input file location

    @@ -42,8 +42,8 @@ translation description.
    `--directory=directory´
    - - + + Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting `.po´ file will be written relative to the current directory, though. @@ -56,7 +56,7 @@ If an input file is `-´, standard input is read.

    -

    8.1.2 Operation mode

    +

    8.1.2 Operation mode

    @@ -64,27 +64,27 @@ If an input file is `-´, standard input is read.
    `--java´
    - - - + + + Java mode: generate a Java ResourceBundle class.
    `--java2´
    - + Like --java, and assume Java2 (JDK 1.2 or higher).
    `--tcl´
    - - + + Tcl mode: generate a tcl/msgcat `.msg´ file.
    -

    8.1.3 Output file location

    +

    8.1.3 Output file location

    @@ -92,13 +92,13 @@ Tcl mode: generate a tcl/msgcat `.msg´ file.
    `--output-file=file´
    - - + + Write output to specified file.
    `--strict´
    - + Direct the program to work strictly following the Uniforum/Sun implementation. Currently this only affects the naming of the output file. If this option is not given the name of the output file is the @@ -117,7 +117,7 @@ If the output file is `-´, output is written to st

    -

    8.1.4 Output file location in Java mode

    +

    8.1.4 Output file location in Java mode

    @@ -125,22 +125,22 @@ If the output file is `-´, output is written to st
    `--resource=resource´
    - - + + Specify the resource name.
    `-l locale´
    `--locale=locale´
    - - + + Specify the locale name, either a language specification of the form ll or a combined language and country specification of the form ll_CC.
    `-d directory´
    - + Specify the base directory of classes directory hierarchy.
    @@ -153,7 +153,7 @@ is written under the specified directory.

    -

    8.1.5 Output file location in Tcl mode

    +

    8.1.5 Output file location in Tcl mode

    @@ -161,14 +161,14 @@ is written under the specified directory.
    `--locale=locale´
    - - + + Specify the locale name, either a language specification of the form ll or a combined language and country specification of the form ll_CC.
    `-d directory´
    - + Specify the base directory of `.msg´ message catalogs.
    @@ -180,7 +180,24 @@ written in the specified directory.

    -

    8.1.6 Input file interpretation

    +

    8.1.6 Input file syntax

    + +
    + +
    `-P´ +
    +
    `--properties-input´ +
    + + +Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. + +
    + + + +

    8.1.7 Input file interpretation

    @@ -188,15 +205,15 @@ written in the specified directory.
    `--check´
    - - + + Perform all the checks implied by --check-format, --check-header, --check-domain.
    `--check-format´
    - - + + Check language dependent format strings. If the string represents a format string used in a @@ -215,19 +232,19 @@ used in a printf-like function and so msgfmt might rep errors where there are none. To solve this problem the programmer can dictate the decision to the -xgettext program (see section 13.3.1 C Format Strings). The translator should not +xgettext program (see section 13.3.1 C Format Strings). The translator should not consider removing the flag from the #, line. This "fix" would be reversed again as soon as msgmerge is called the next time.
    `--check-header´
    - -Verify presence and contents of the header entry. See section 5.2 Filling in the Header Entry, + +Verify presence and contents of the header entry. See section 5.2 Filling in the Header Entry, for a description of the various fields in the header entry.
    `--check-domain´
    - + Check for conflicts between domain directives and the --output-file option @@ -235,18 +252,18 @@ option
    `--check-compatibility´
    - - - + + + Check that GNU msgfmt behaves like X/Open msgfmt. This will give an error when attempting to use the GNU extensions.
    `--check-accelerators[=char
    - - - - + + + + Check presence of keyboard accelerators for menu items. This is based on the convention used in some GUIs that a keyboard accelerator in a menu item string is designated by an immediately preceding `&´ character. @@ -261,9 +278,9 @@ instead of `&´.
    `--use-fuzzy´
    - - - + + + Use fuzzy entries in output. Note that using this option is usually wrong, because fuzzy messages are exactly those which have not been validated by a human translator. @@ -272,7 +289,7 @@ a human translator. -

    8.1.7 Output details

    +

    8.1.8 Output details

    @@ -280,13 +297,13 @@ a human translator.
    `--alignment=number´
    - - + + Align strings to number bytes (default: 1).
    `--no-hash´
    - + Don't include a hash table in the binary file. Lookup will be more expensive at run time (binary search instead of hash table lookup). @@ -294,7 +311,7 @@ at run time (binary search instead of hash table lookup). -

    8.1.8 Informative output

    +

    8.1.9 Informative output

    @@ -302,54 +319,54 @@ at run time (binary search instead of hash table lookup).
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    `--statistics´
    - + Print statistics about translations.
    `-v´
    `--verbose´
    - - + + Increase verbosity level.
    -

    8.2 Invoking the msgunfmt Program

    +

    8.2 Invoking the msgunfmt Program

    - - + +

     msgunfmt [option] [file]...
     

    - + The msgunfmt program converts a binary message catalog to a Uniforum style .po file.

    -

    8.2.1 Operation mode

    +

    8.2.1 Operation mode

    @@ -357,22 +374,22 @@ Uniforum style .po file.
    `--java´
    - - - + + + Java mode: input is a Java ResourceBundle class.
    `--tcl´
    - - + + Tcl mode: input is a tcl/msgcat `.msg´ file.
    -

    8.2.2 Input file location

    +

    8.2.2 Input file location

    @@ -388,7 +405,7 @@ If no input file is given or if it is `-´, standar

    -

    8.2.3 Input file location in Java mode

    +

    8.2.3 Input file location in Java mode

    @@ -396,16 +413,16 @@ If no input file is given or if it is `-´, standar
    `--resource=resource´
    - - + + Specify the resource name.
    `-l locale´
    `--locale=locale´
    - - + + Specify the locale name, either a language specification of the form ll or a combined language and country specification of the form ll_CC. @@ -418,7 +435,7 @@ separated with an underscore. The class is located using the CLASSPATH -

    8.2.4 Input file location in Tcl mode

    +

    8.2.4 Input file location in Tcl mode

    @@ -426,14 +443,14 @@ separated with an underscore. The class is located using the CLASSPATH
    `--locale=locale´
    - - + + Specify the locale name, either a language specification of the form ll or a combined language and country specification of the form ll_CC.
    `-d directory´
    - + Specify the base directory of `.msg´ message catalogs.
    @@ -445,7 +462,7 @@ located in the specified directory.

    -

    8.2.5 Output file location

    +

    8.2.5 Output file location

    @@ -453,8 +470,8 @@ located in the specified directory.
    `--output-file=file´
    - - + + Write output to specified file.
    @@ -466,43 +483,53 @@ or if it is `-´.

    -

    8.2.6 Output details

    +

    8.2.6 Output details

    `--force-po´
    - + Always write an output file even if it contains no message.
    `-i´
    `--indent´
    - - + + Write the .po file using indented style.
    `--strict´
    - + Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn't support the GNU extensions. +
    `-p´ +
    +
    `--properties-output´ +
    + + +Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +
    `-w number´
    `--width=number´
    - - + + Set the output page width. Long strings in the output files will be split across multiple lines in order to ensure that each line's width (= number of screen columns) is less or equal to the given number.
    `--no-wrap´
    - + Do not break long message lines. Message lines whose width exceeds the output page width will not be split into several lines. Only file reference lines which are wider than the output page width will be split. @@ -511,9 +538,9 @@ lines which are wider than the output page width will be split.
    `--sort-output´
    - - - + + + Generate sorted output. Note that using this option makes it much harder for the translator to understand each message's context. @@ -521,7 +548,7 @@ for the translator to understand each message's context. -

    8.2.7 Informative output

    +

    8.2.7 Informative output

    @@ -529,34 +556,34 @@ for the translator to understand each message's context.
    `--help´
    - - + + Display this help and exit.
    `-V´
    `--version´
    - - + + Output version information and exit.
    `-v´
    `--verbose´
    - - + + Increase verbosity level.
    -

    8.3 The Format of GNU MO Files

    +

    8.3 The Format of GNU MO Files

    - - + +

    @@ -565,7 +592,7 @@ which appears below.

    - + The first two words serve the identification of the file. The magic number will always signal GNU MO files. The number is stored in the byte order of the generating machine, so the magic number really is @@ -613,7 +640,7 @@ translated tables, making the system information very easy to find.

    - + The size S of the hash table can be zero. In this case, the hash table itself is not contained in the MO file. Some people might prefer this because a precomputed hashing table takes disk space, and @@ -634,7 +661,7 @@ machines, a correct alignment will speed things up.

    - + Plural forms are stored by letting the plural of the original string follow the singular of the original string, separated through a NUL byte. The length which appears in the string descriptor diff --git a/gettext-tools/doc/gettext_9.html b/gettext-tools/doc/gettext_9.html index d676bc725..9e17f64fc 100644 --- a/gettext-tools/doc/gettext_9.html +++ b/gettext-tools/doc/gettext_9.html @@ -1,7 +1,7 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - 9 The User's View @@ -10,7 +10,7 @@ Go to the first, previous<


    -

    9 The User's View

    +

    9 The User's View

    When GNU gettext will truly have reached its goal, average users @@ -43,11 +43,11 @@ for both installers and end users. -

    9.1 The Current `ABOUT-NLS´ Matrix

    +

    9.1 The Current `ABOUT-NLS´ Matrix

    - - - + + +

    @@ -57,7 +57,7 @@ may check the distribution for the `ABOUT-NLS´ information file, some `ll.po´ files, often kept together into some `po/´ directory, or for an `intl/´ directory. Internationalized packages have usually many `ll.po´ files, where ll represents -the language. section 9.3 Magic for End Users for a complete description of the format +the language. section 9.3 Magic for End Users for a complete description of the format for ll.

    @@ -75,10 +75,10 @@ Translation Project sites, and also on most GNU archive sites.

    -

    9.2 Magic for Installers

    +

    9.2 Magic for Installers

    - - + +

    @@ -97,7 +97,7 @@ produces programs totally unable to translate messages.

    - + Internationalized packages have usually many `ll.po´ files. Unless translations are disabled, all those available are installed together @@ -109,20 +109,20 @@ codes, stating which languages are allowed.

    -

    9.3 Magic for End Users

    +

    9.3 Magic for End Users

    - - - + + +

    - + We consider here those packages using GNU gettext internally, and for which the installers did not disable translation at configure time. Then, users only have to set the LANG environment variable to the appropriate `ll_CC´ -combination prior to using the programs in the package. See section 9.1 The Current `ABOUT-NLS´ Matrix. +combination prior to using the programs in the package. See section 9.1 The Current `ABOUT-NLS´ Matrix. For example, let's presume a German site. At the shell prompt, users merely have to execute `setenv LANG de_DE´ (in csh) or `export LANG; LANG=de_DE´ (in sh). They could even do diff --git a/gettext-tools/doc/gettext_foot.html b/gettext-tools/doc/gettext_foot.html index 63a994edc..2afb267e8 100644 --- a/gettext-tools/doc/gettext_foot.html +++ b/gettext-tools/doc/gettext_foot.html @@ -1,14 +1,14 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - Footnotes -

    GNU gettext tools, version 0.12-pre1

    +

    GNU gettext tools, version 0.12-pre4

    Native Language Support Library and Tools

    -

    Edition 0.12-pre1, 10 February 2003

    +

    Edition 0.12-pre4, 5 May 2003

    Ulrich Drepper
    Jim Meyering
    François Pinard
    @@ -36,7 +36,7 @@ variables.

    Additions are welcome. Send appropriate information to bug-glibc-manual@gnu.org.


    -This document was generated on 17 Febuary 2003 using the +This document was generated on 12 May 2003 using the texi2html translator version 1.52a.

    diff --git a/gettext-tools/doc/gettext_toc.html b/gettext-tools/doc/gettext_toc.html index 5ebd1de0a..6d920c887 100644 --- a/gettext-tools/doc/gettext_toc.html +++ b/gettext-tools/doc/gettext_toc.html @@ -1,14 +1,14 @@ + from gettext.texi on 12 May 2003 --> GNU gettext utilities - Table of Contents -

    GNU gettext tools, version 0.12-pre1

    +

    GNU gettext tools, version 0.12-pre4

    Native Language Support Library and Tools

    -

    Edition 0.12-pre1, 10 February 2003

    +

    Edition 0.12-pre4, 5 May 2003

    Ulrich Drepper
    Jim Meyering
    François Pinard
    @@ -40,324 +40,340 @@
  • 3.4 Marking Translatable Strings
  • 3.5 Special Comments preceding Keywords
  • 3.6 Special Cases of Translatable Strings +
  • 3.7 Marking Proper Names for Translation -
  • 4 Making the PO Template File +
  • 4 Making the PO Template File -
  • 5 Creating a New PO File +
  • 5 Creating a New PO File -
  • 6 Updating Existing PO Files +
  • 6 Updating Existing PO Files -
  • 7 Manipulating PO Files +
  • 7 Manipulating PO Files -
  • 8 Producing Binary MO Files +
  • 8 Producing Binary MO Files -
  • 9 The User's View +
  • 9 The User's View -
  • 10 The Programmer's View +
  • 10 The Programmer's View +
  • 11 The Translator's View + -
  • 11 The Translator's View - -
  • 12 The Maintainer's View +
  • 11.4.3 Mailing Lists + +
  • 11.5 Information Flow +
  • 11.6 Prioritizing messages: How to determine which messages to translate first + +
  • 12 The Maintainer's View -
  • 13 Other Programming Languages - +
  • 13.4 The Maintainer's View +
  • 13.5 Individual Programming Languages + +
  • 13.6 Internationalizable Data + + +
  • 14 Concluding Remarks + +
  • A Language Codes +
  • B Country Codes +
  • Program Index +
  • Option Index +
  • Variable Index +
  • PO Mode Index +
  • Autoconf Macro Index +
  • General Index


    -This document was generated on 17 Febuary 2003 using the +This document was generated on 12 May 2003 using the texi2html translator version 1.52a.

    diff --git a/gettext-tools/doc/version.texi b/gettext-tools/doc/version.texi index e243378be..148c7ca5a 100644 --- a/gettext-tools/doc/version.texi +++ b/gettext-tools/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 18 February 2003 -@set UPDATED-MONTH February 2003 -@set EDITION 0.12-pre1 -@set VERSION 0.12-pre1 +@set UPDATED 5 May 2003 +@set UPDATED-MONTH May 2003 +@set EDITION 0.12-pre4 +@set VERSION 0.12-pre4 diff --git a/gettext-tools/lib/Makefile.in b/gettext-tools/lib/Makefile.in index 039fa9947..4d13144a6 100644 --- a/gettext-tools/lib/Makefile.in +++ b/gettext-tools/lib/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,12 +61,15 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ -DEFS = -DEXEEXT=\"$(EXEEXT)\" @DEFS@ -DLIBDIR=\"$(libdir)\" +DEFS = -DEXEEXT=\"$(EXEEXT)\" -DDEPENDS_ON_LIBINTL=1 -DDEPENDS_ON_LIBICONV=1 @DEFS@ -DLIBDIR=\"$(libdir)\" DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -73,6 +78,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -109,7 +116,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -126,6 +132,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -137,7 +144,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -148,13 +159,22 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -192,11 +212,16 @@ AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies # <<< gnulib module stdbool. # >>> gnulib module alloca. +# <<< gnulib module localcharset. + +# VMS support. + +# Woe32 support. EXTRA_DIST = \ - $(LIBADD_SOURCE) $(UNUSED_SOURCE) \ + $(LIBADD_SOURCE) $(UNUSED_SOURCE) relocwrapper.c \ gen-lbrkprop.c 3level.h Combining.txt \ ChangeLog.0\ -stdbool.h.in alloca_.h config.charset ref-add.sin ref-del.sin +stdbool.h.in alloca_.h config.charset ref-add.sin ref-del.sin Makefile.vms Makefile.msvc MOSTLYCLEANFILES = stdbool.h alloca.h CLEANFILES = charset.alias ref-add.sed ref-del.sed @@ -223,7 +248,7 @@ libgettextlib_la_SOURCES = \ classpath.h classpath.c \ copy-file.h copy-file.c \ error.h error.c \ - execute.h execute.c \ + execute.h execute.c w32spawn.h \ exit.h \ findprog.h findprog.c \ fstrcmp.h fstrcmp.c \ @@ -239,8 +264,8 @@ libgettextlib_la_SOURCES = \ obstack.h obstack.c \ pathmax.h \ pathname.h concatpath.c \ - pipe.h pipe-bidi.c pipe-in.c pipe-out.c \ - progname.h progname.c \ + pipe.h pipe-bidi.c pipe-in.c pipe-out.c w32spawn.h \ + progname.h progname.c progreloc.c \ safe-read.h safe-read.c \ safe-write.h safe-write.c \ sh-quote.h sh-quote.c \ @@ -248,9 +273,11 @@ libgettextlib_la_SOURCES = \ strtoul.c \ tmpdir.h tmpdir.c \ ucs4-utf8.h ucs4-utf16.h \ + unlocked-io.h \ wait-process.h wait-process.c \ xerror.h xerror.c \ xmalloc.h xmalloc.c xstrdup.c \ + xreadlink.h xreadlink.c \ xsetenv.h xsetenv.c\ localcharset.h localcharset.c @@ -258,14 +285,18 @@ localcharset.h localcharset.c # Sources that are compiled only on platforms that lack the functions. LIBADD_SOURCE = \ alloca.c \ + canonicalize.h canonicalize.c \ getline.h getline.c \ + memmove.c \ memset.c \ mkdtemp.h mkdtemp.c \ pfnmatch.h pfnmatch.c \ + relocatable.h relocatable.c \ setenv.h setenv.c unsetenv.c \ stpcpy.h stpcpy.c \ strcase.h strcasecmp.c strncasecmp.c \ strcspn.c \ + strerror.c \ strpbrk.h strpbrk.c \ strstr.h strstr.c \ strtol.c \ @@ -275,7 +306,6 @@ LIBADD_SOURCE = \ # Unused sources. UNUSED_SOURCE = \ - memmove.c \ xgetcwd.h xgetcwd.c @@ -298,6 +328,7 @@ gettextsrc_DATA = gettext.h # List of files to be distributed. noinst_HEADERS = gettext.h + INCLUDES = -I. -I$(srcdir) -I.. -I../intl -I$(top_srcdir)/intl charset_alias = $(DESTDIR)$(libdir)/charset.alias @@ -314,9 +345,10 @@ am_libgettextlib_la_OBJECTS = argmatch.lo backupfile.lo addext.lo \ execute.lo findprog.lo fstrcmp.lo full-write.lo gcd.lo \ getopt.lo getopt1.lo hash.lo javacomp.lo javaexec.lo \ linebreak.lo mbswidth.lo obstack.lo concatpath.lo pipe-bidi.lo \ - pipe-in.lo pipe-out.lo progname.lo safe-read.lo safe-write.lo \ - sh-quote.lo stpncpy.lo strtoul.lo tmpdir.lo wait-process.lo \ - xerror.lo xmalloc.lo xstrdup.lo xsetenv.lo localcharset.lo + pipe-in.lo pipe-out.lo progname.lo progreloc.lo safe-read.lo \ + safe-write.lo sh-quote.lo stpncpy.lo strtoul.lo tmpdir.lo \ + wait-process.lo xerror.lo xmalloc.lo xstrdup.lo xreadlink.lo \ + xsetenv.lo localcharset.lo libgettextlib_la_OBJECTS = $(am_libgettextlib_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) @@ -335,9 +367,10 @@ DATA = $(gettextsrc_DATA) HEADERS = $(noinst_HEADERS) DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in \ - alloca.c getline.c javacomp.sh.in javaexec.sh.in memset.c \ - mkdtemp.c pfnmatch.c setenv.c stpcpy.c strcasecmp.c strcspn.c \ - strncasecmp.c strpbrk.c strstr.c unsetenv.c vasprintf.c + alloca.c canonicalize.c getline.c javacomp.sh.in javaexec.sh.in \ + memmove.c memset.c mkdtemp.c pfnmatch.c relocatable.c setenv.c \ + stpcpy.c strcasecmp.c strcspn.c strerror.c strncasecmp.c \ + strpbrk.c strstr.c unsetenv.c vasprintf.c SOURCES = $(libgettextlib_la_SOURCES) all: all-am @@ -666,7 +699,6 @@ charset.alias: config.charset .sin.sed: sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@ mv t-$@ $@ -# <<< gnulib module localcharset. # 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/gettext-tools/libuniname/Makefile.in b/gettext-tools/libuniname/Makefile.in index d894010da..76c97c8c2 100644 --- a/gettext-tools/libuniname/Makefile.in +++ b/gettext-tools/libuniname/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,11 +61,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -72,6 +77,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -108,7 +115,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -125,6 +131,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -136,7 +143,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -147,13 +158,22 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -186,7 +206,11 @@ target_alias = @target_alias@ AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies -EXTRA_DIST = gen-uninames $(TESTS) UnicodeDataNames.txt + +# VMS support. + +# Woe32 support. +EXTRA_DIST = gen-uninames $(TESTS) UnicodeDataNames.txt Makefile.vms Makefile.msvc noinst_LIBRARIES = libuniname.a @@ -241,8 +265,6 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) -AR = ar - clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libuniname.a: $(libuniname_a_OBJECTS) $(libuniname_a_DEPENDENCIES) diff --git a/gettext-tools/m4/Makefile.in b/gettext-tools/m4/Makefile.in index f6bacee2e..6bb377f5a 100644 --- a/gettext-tools/m4/Makefile.in +++ b/gettext-tools/m4/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -44,6 +44,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -61,11 +63,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -74,6 +79,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -110,7 +117,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -127,6 +133,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -138,7 +145,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -149,14 +160,23 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -200,6 +220,8 @@ aclocal_DATA = \ ../../gettext-runtime/m4/inttypes-pri.m4 \ ../../gettext-runtime/m4/isc-posix.m4 \ ../../gettext-runtime/m4/lcmessage.m4 \ + ../../gettext-runtime/m4/nls.m4 \ + ../../gettext-runtime/m4/po.m4 \ ../../gettext-runtime/m4/progtest.m4 \ ../../gettext-runtime/m4/stdint_h.m4 \ ../../gettext-runtime/m4/uintmax_t.m4 \ @@ -211,6 +233,8 @@ aclocal_DATA = \ EXTRA_DIST = README ChangeLog.0 \ alloca.m4 \ backupfile.m4 \ +canonicalize.m4 \ +eaccess.m4 \ error.m4 \ flex.m4 \ fnmatch.m4 \ @@ -224,14 +248,20 @@ mbstate_t.m4 \ mbswidth.m4 \ mkdtemp.m4 \ onceonly.m4 \ +pathmax.m4 \ +relocatable.m4 \ setenv.m4 \ setlocale.m4 \ siginfo.m4 \ signalblocking.m4 \ ssize_t.m4 \ stdbool.m4 \ +strerror.m4 \ +strerror_r.m4 \ tmpdir.m4 \ -unionwait.m4 +unionwait.m4 \ +unlocked-io.m4 \ +xreadlink.m4 subdir = m4 mkinstalldirs = $(SHELL) $(top_srcdir)/../config/mkinstalldirs diff --git a/gettext-tools/man/Makefile.in b/gettext-tools/man/Makefile.in index 54e23e75e..3aa38c38d 100644 --- a/gettext-tools/man/Makefile.in +++ b/gettext-tools/man/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,11 +61,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -72,6 +77,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -108,7 +115,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -125,6 +131,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -137,7 +144,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -149,13 +160,22 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -185,7 +205,7 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -docdir = $(prefix)/doc/gettext +docdir = $(datadir)/doc/gettext htmldir = $(docdir) localedir = $(datadir)/locale @@ -193,6 +213,12 @@ localedir = $(datadir)/locale AUTOMAKE_OPTIONS = 1.2 gnits +# VMS support. + +# Woe32 support. +EXTRA_DIST = help2man $(man_aux) $(man_MAN1OTHER) $(man_HTMLOTHER) ChangeLog.0 Makefile.vms Makefile.msvc + + # A manual page for each of the bin_PROGRAMS in src/Makefile.am # and for each of the bin_SCRIPTS in misc/Makefile.am. man_aux = \ @@ -217,8 +243,6 @@ msgattrib.1.html msgcat.1.html msgcomm.1.html msgconv.1.html msgen.1.html msgexe gettextize.1.html autopoint.1.html man_HTML = $(man_HTMLOTHER) - -EXTRA_DIST = help2man $(man_aux) $(man_MAN1OTHER) $(man_HTMLOTHER) ChangeLog.0 MAINTAINERCLEANFILES = $(man_MAN1OTHER) $(man_HTMLOTHER) RM = rm -f @@ -345,6 +369,9 @@ check-am: all-am check: check-am all-am: Makefile $(MANS) all-local +installdirs: installdirs-local + $(mkinstalldirs) $(DESTDIR)$(man1dir) + install: install-am install-exec: install-exec-am install-data: install-data-am @@ -552,9 +579,6 @@ uninstall-html: for file in $(man_HTML); do \ $(RM) $(DESTDIR)$(htmldir)/$$file; \ done - -# One more automake bug. -installdirs: installdirs-local # 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/gettext-tools/man/autopoint.1 b/gettext-tools/man/autopoint.1 index ebb3746ce..920f156fb 100644 --- a/gettext-tools/man/autopoint.1 +++ b/gettext-tools/man/autopoint.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH AUTOPOINT "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH AUTOPOINT "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME autopoint \- copies standard gettext infrastructure .SH SYNOPSIS diff --git a/gettext-tools/man/gettextize.1 b/gettext-tools/man/gettextize.1 index 11f41a88e..c111b0a3a 100644 --- a/gettext-tools/man/gettextize.1 +++ b/gettext-tools/man/gettextize.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH GETTEXTIZE "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH GETTEXTIZE "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME gettextize \- install or upgrade gettext infrastructure .SH SYNOPSIS diff --git a/gettext-tools/man/msgattrib.1 b/gettext-tools/man/msgattrib.1 index 60bd6ce8c..0196b0e3b 100644 --- a/gettext-tools/man/msgattrib.1 +++ b/gettext-tools/man/msgattrib.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGATTRIB "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGATTRIB "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgattrib \- attribute matching and manipulation on message catalog .SH SYNOPSIS @@ -72,6 +72,10 @@ synonym for \fB\-\-only\-fuzzy\fR \fB\-\-clear\-fuzzy\fR .TP \fB\-\-obsolete\fR synonym for \fB\-\-only\-obsolete\fR \fB\-\-clear\-obsolete\fR +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Output details:" .TP \fB\-e\fR, \fB\-\-no\-escape\fR @@ -95,6 +99,9 @@ generate '#: filename:line' lines (default) \fB\-\-strict\fR write out strict Uniforum conforming .po file .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgattrib.1.html b/gettext-tools/man/msgattrib.1.html index 5d0b19581..6d981c69b 100644 --- a/gettext-tools/man/msgattrib.1.html +++ b/gettext-tools/man/msgattrib.1.html @@ -294,6 +294,24 @@ synonym for --only-fuzzy --clear-fuzzy synonym for --only-obsolete --clear-obsolete + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + @@ -384,6 +402,18 @@ generate '#: filename:line' lines (default)
    write out strict Uniforum conforming .po file + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgcat.1 b/gettext-tools/man/msgcat.1 index cd3301d82..2a5dc6730 100644 --- a/gettext-tools/man/msgcat.1 +++ b/gettext-tools/man/msgcat.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGCAT "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGCAT "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgcat \- combines several message catalogs .SH SYNOPSIS @@ -42,8 +42,7 @@ or if it is -. .TP -<, \fB\-\-less\-than\fR=\fINUMBER\fR print messages with less than this many -definitions, defaults to infinite if not -set +definitions, defaults to infinite if not set .TP ->, \fB\-\-more\-than\fR=\fINUMBER\fR print messages with more than this many @@ -52,6 +51,10 @@ definitions, defaults to 0 if not set \fB\-u\fR, \fB\-\-unique\fR shorthand for \fB\-\-less\-than\fR=\fI2\fR, requests that only unique messages be printed +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input files are in Java .properties syntax .SS "Output details:" .TP \fB\-t\fR, \fB\-\-to\-code\fR=\fINAME\fR @@ -82,6 +85,9 @@ generate '#: filename:line' lines (default) \fB\-\-strict\fR write out strict Uniforum conforming .po file .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgcat.1.html b/gettext-tools/man/msgcat.1.html index 6a7bd09b1..e9ca80737 100644 --- a/gettext-tools/man/msgcat.1.html +++ b/gettext-tools/man/msgcat.1.html @@ -178,6 +178,24 @@ defaults to 0 if not set
    shorthand for --less-than=2, requests that only unique messages be printed + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input files are in Java .properties syntax
    + @@ -293,6 +311,18 @@ generate '#: filename:line' lines (default)
    write out strict Uniforum conforming .po file + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgcmp.1 b/gettext-tools/man/msgcmp.1 index 64edebd59..f01289a5b 100644 --- a/gettext-tools/man/msgcmp.1 +++ b/gettext-tools/man/msgcmp.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGCMP "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGCMP "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgcmp \- compare message catalog and template .SH SYNOPSIS @@ -30,6 +30,10 @@ add DIRECTORY to list for input files search .TP \fB\-m\fR, \fB\-\-multi\-domain\fR apply ref.pot to each of the domains in def.po +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input files are in Java .properties syntax .SS "Informative output:" .TP \fB\-h\fR, \fB\-\-help\fR diff --git a/gettext-tools/man/msgcmp.1.html b/gettext-tools/man/msgcmp.1.html index c02956ebf..d0f974a7e 100644 --- a/gettext-tools/man/msgcmp.1.html +++ b/gettext-tools/man/msgcmp.1.html @@ -116,6 +116,24 @@ add DIRECTORY to list for input files search
    apply ref.pot to each of the domains in def.po + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input files are in Java .properties syntax
    + diff --git a/gettext-tools/man/msgcomm.1 b/gettext-tools/man/msgcomm.1 index c4eb1e7e5..a918f41a2 100644 --- a/gettext-tools/man/msgcomm.1 +++ b/gettext-tools/man/msgcomm.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGCOMM "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGCOMM "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgcomm \- match two message catalogs .SH SYNOPSIS @@ -41,8 +41,7 @@ or if it is -. .TP -<, \fB\-\-less\-than\fR=\fINUMBER\fR print messages with less than this many -definitions, defaults to infinite if not -set +definitions, defaults to infinite if not set .TP ->, \fB\-\-more\-than\fR=\fINUMBER\fR print messages with more than this many @@ -51,6 +50,10 @@ definitions, defaults to 1 if not set \fB\-u\fR, \fB\-\-unique\fR shorthand for \fB\-\-less\-than\fR=\fI2\fR, requests that only unique messages be printed +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input files are in Java .properties syntax .SS "Output details:" .TP \fB\-e\fR, \fB\-\-no\-escape\fR @@ -74,6 +77,9 @@ generate '#: filename:line' lines (default) \fB\-\-strict\fR write out strict Uniforum conforming .po file .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgcomm.1.html b/gettext-tools/man/msgcomm.1.html index 258aedf6f..25c16a8a3 100644 --- a/gettext-tools/man/msgcomm.1.html +++ b/gettext-tools/man/msgcomm.1.html @@ -176,6 +176,24 @@ defaults to 1 if not set
    shorthand for --less-than=2, requests that only unique messages be printed + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input files are in Java .properties syntax
    + @@ -266,6 +284,18 @@ generate '#: filename:line' lines (default)
    write out strict Uniforum conforming .po file + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgconv.1 b/gettext-tools/man/msgconv.1 index 494a377dd..3cd31a173 100644 --- a/gettext-tools/man/msgconv.1 +++ b/gettext-tools/man/msgconv.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGCONV "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGCONV "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgconv \- character set conversion for message catalog .SH SYNOPSIS @@ -33,6 +33,10 @@ or if it is -. encoding for output .PP The default encoding is the current locale's encoding. +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Output details:" .TP \fB\-e\fR, \fB\-\-no\-escape\fR @@ -56,6 +60,9 @@ preserve '#: filename:line' lines (default) \fB\-\-strict\fR strict Uniforum output style .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgconv.1.html b/gettext-tools/man/msgconv.1.html index feafe8e69..a2df66c9d 100644 --- a/gettext-tools/man/msgconv.1.html +++ b/gettext-tools/man/msgconv.1.html @@ -137,6 +137,24 @@ encoding for output
    The default encoding is the current locale's encoding. + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + @@ -227,6 +245,18 @@ preserve '#: filename:line' lines (default)
    strict Uniforum output style + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgen.1 b/gettext-tools/man/msgen.1 index 07e67dbf7..23389c58e 100644 --- a/gettext-tools/man/msgen.1 +++ b/gettext-tools/man/msgen.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGEN "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGEN "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgen \- create English message catalog .SH SYNOPSIS @@ -11,7 +11,7 @@ msgen \- create English message catalog Creates an English translation catalog. The input file is the last created English PO file, or a PO Template file (generally created by xgettext). Untranslated entries are assigned a translation that is -identical to the msgid, and are marked fuzzy. +identical to the msgid. .PP Mandatory arguments to long options are mandatory for short options too. .SS "Input file location:" @@ -30,6 +30,10 @@ write output to specified file .PP The results are written to standard output if no output file is specified or if it is -. +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Output details:" .TP \fB\-e\fR, \fB\-\-no\-escape\fR @@ -53,6 +57,9 @@ preserve '#: filename:line' lines (default) \fB\-\-strict\fR strict Uniforum output style .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgen.1.html b/gettext-tools/man/msgen.1.html index 53e7635ea..40e642831 100644 --- a/gettext-tools/man/msgen.1.html +++ b/gettext-tools/man/msgen.1.html @@ -42,8 +42,8 @@ msgen - create English message catalog
    Creates an English translation catalog. The input file is the last created English PO file, or a PO Template file (generally created by xgettext). Untranslated entries are -assigned a translation that is identical to the msgid, and -are marked fuzzy. +assigned a translation that is identical to the +msgid. @@ -113,6 +113,24 @@ write output to specified file
    The results are written to standard output if no output file is specified or if it is -. + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + @@ -203,6 +221,18 @@ preserve '#: filename:line' lines (default)
    strict Uniforum output style + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgexec.1 b/gettext-tools/man/msgexec.1 index 01d042887..3e9100f91 100644 --- a/gettext-tools/man/msgexec.1 +++ b/gettext-tools/man/msgexec.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGEXEC "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGEXEC "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgexec \- process translations of message catalog .SH SYNOPSIS @@ -27,6 +27,10 @@ input PO file add DIRECTORY to list for input files search .PP If no input file is given or if it is -, standard input is read. +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Informative output:" .TP \fB\-h\fR, \fB\-\-help\fR diff --git a/gettext-tools/man/msgexec.1.html b/gettext-tools/man/msgexec.1.html index 20d9a84ea..085d2140d 100644 --- a/gettext-tools/man/msgexec.1.html +++ b/gettext-tools/man/msgexec.1.html @@ -100,6 +100,24 @@ add DIRECTORY to list for input files search
    If no input file is given or if it is -, standard input is read. + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + diff --git a/gettext-tools/man/msgfilter.1 b/gettext-tools/man/msgfilter.1 index 93c1af3a1..3c5287f67 100644 --- a/gettext-tools/man/msgfilter.1 +++ b/gettext-tools/man/msgfilter.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGFILTER "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGFILTER "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgfilter \- edit translations of message catalog .SH SYNOPSIS @@ -41,6 +41,10 @@ to be executed .TP \fB\-n\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR suppress automatic printing of pattern space +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Output details:" .TP \fB\-\-no\-escape\fR @@ -67,6 +71,9 @@ preserve '#: filename:line' lines (default) \fB\-\-strict\fR strict Uniforum output style .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgfilter.1.html b/gettext-tools/man/msgfilter.1.html index d23ca2975..0d8fab14d 100644 --- a/gettext-tools/man/msgfilter.1.html +++ b/gettext-tools/man/msgfilter.1.html @@ -164,6 +164,24 @@ executed
    suppress automatic printing of pattern space + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + @@ -266,6 +284,18 @@ preserve '#: filename:line' lines (default)
    strict Uniforum output style + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgfmt.1 b/gettext-tools/man/msgfmt.1 index faf0fcbd4..97654145a 100644 --- a/gettext-tools/man/msgfmt.1 +++ b/gettext-tools/man/msgfmt.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGFMT "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGFMT "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgfmt \- compile message catalog to binary format .SH SYNOPSIS @@ -11,6 +11,7 @@ msgfmt \- compile message catalog to binary format Generate binary message catalog from textual translation description. .PP Mandatory arguments to long options are mandatory for short options too. +Similarly for optional arguments. .SS "Input file location:" .TP filename.po ... @@ -63,6 +64,10 @@ base directory of .msg message catalogs .PP The \fB\-l\fR and \fB\-d\fR options are mandatory. The .msg file is written in the specified directory. +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input files are in Java .properties syntax .SS "Input file interpretation:" .TP \fB\-c\fR, \fB\-\-check\fR diff --git a/gettext-tools/man/msgfmt.1.html b/gettext-tools/man/msgfmt.1.html index 66cec1a7c..76c1d8be5 100644 --- a/gettext-tools/man/msgfmt.1.html +++ b/gettext-tools/man/msgfmt.1.html @@ -48,7 +48,7 @@ description.
    Mandatory arguments to long options are mandatory for short -options too. +options too. Similarly for optional arguments. @@ -256,6 +256,24 @@ base directory of .msg message catalogs
    The -l and -d options are mandatory. The .msg file is written in the specified directory. + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input files are in Java .properties syntax
    + diff --git a/gettext-tools/man/msggrep.1 b/gettext-tools/man/msggrep.1 index 017fabdc4..702f27a70 100644 --- a/gettext-tools/man/msggrep.1 +++ b/gettext-tools/man/msggrep.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGGREP "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGGREP "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msggrep \- pattern matching on message catalog .SH SYNOPSIS @@ -60,6 +60,9 @@ start of patterns for the msgid \fB\-T\fR, \fB\-\-msgstr\fR start of patterns for the msgstr .TP +\fB\-C\fR, \fB\-\-comment\fR +start of patterns for the translator's comment +.TP \fB\-E\fR, \fB\-\-extended\-regexp\fR PATTERN is an extended regular expression .TP @@ -74,6 +77,10 @@ obtain PATTERN from FILE .TP \fB\-i\fR, \fB\-\-ignore\-case\fR ignore case distinctions +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Output details:" .TP \fB\-\-no\-escape\fR @@ -97,6 +104,9 @@ preserve '#: filename:line' lines (default) \fB\-\-strict\fR strict Uniforum output style .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msggrep.1.html b/gettext-tools/man/msggrep.1.html index 01e7ffc24..48f00c302 100644 --- a/gettext-tools/man/msggrep.1.html +++ b/gettext-tools/man/msggrep.1.html @@ -215,6 +215,18 @@ start of patterns for the msgid
    start of patterns for the msgstr + + +
    +-C, --comment
    + + + +
    +start of patterns for the translator's comment
    + @@ -275,6 +287,24 @@ obtain PATTERN from FILE
    ignore case distinctions + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + @@ -365,6 +395,18 @@ preserve '#: filename:line' lines (default)
    strict Uniforum output style + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msginit.1 b/gettext-tools/man/msginit.1 index ecf8cfbfd..d08083505 100644 --- a/gettext-tools/man/msginit.1 +++ b/gettext-tools/man/msginit.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGINIT "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGINIT "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msginit \- initialize a message catalog .SH SYNOPSIS @@ -26,6 +26,10 @@ write output to specified PO file .PP If no output file is given, it depends on the \fB\-\-locale\fR option or the user's locale setting. If it is -, the results are written to standard output. +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Output details:" .TP \fB\-l\fR, \fB\-\-locale\fR=\fILL_CC\fR @@ -34,6 +38,9 @@ set target locale \fB\-\-no\-translator\fR assume the PO file is automatically generated .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msginit.1.html b/gettext-tools/man/msginit.1.html index 48a732892..be3e18150 100644 --- a/gettext-tools/man/msginit.1.html +++ b/gettext-tools/man/msginit.1.html @@ -102,6 +102,24 @@ If no output file is given, it depends on the is -, the results are written to standard output.
    + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + @@ -132,6 +150,18 @@ set target locale
    assume the PO file is automatically generated + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgmerge.1 b/gettext-tools/man/msgmerge.1 index 89bc7598f..d047502c7 100644 --- a/gettext-tools/man/msgmerge.1 +++ b/gettext-tools/man/msgmerge.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGMERGE "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGMERGE "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgmerge \- merge message catalog and template .SH SYNOPSIS @@ -79,6 +79,10 @@ apply ref.pot to each of the domains in def.po .TP \fB\-N\fR, \fB\-\-no\-fuzzy\-matching\fR do not use fuzzy matching +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input files are in Java .properties syntax .SS "Output details:" .TP \fB\-e\fR, \fB\-\-no\-escape\fR @@ -102,6 +106,9 @@ preserve '#: filename:line' lines (default) \fB\-\-strict\fR strict Uniforum output style .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgmerge.1.html b/gettext-tools/man/msgmerge.1.html index 904b353f5..6da0fabce 100644 --- a/gettext-tools/man/msgmerge.1.html +++ b/gettext-tools/man/msgmerge.1.html @@ -285,6 +285,24 @@ apply ref.pot to each of the domains in def.po
    do not use fuzzy matching + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input files are in Java .properties syntax
    + @@ -375,6 +393,18 @@ preserve '#: filename:line' lines (default)
    strict Uniforum output style + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msgunfmt.1 b/gettext-tools/man/msgunfmt.1 index 69ea8b378..57f5bed91 100644 --- a/gettext-tools/man/msgunfmt.1 +++ b/gettext-tools/man/msgunfmt.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGUNFMT "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGUNFMT "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msgunfmt \- uncompile message catalog from binary format .SH SYNOPSIS @@ -68,6 +68,9 @@ write indented output style \fB\-\-strict\fR write strict uniforum style .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msgunfmt.1.html b/gettext-tools/man/msgunfmt.1.html index 85d3e5c71..2a0f684b6 100644 --- a/gettext-tools/man/msgunfmt.1.html +++ b/gettext-tools/man/msgunfmt.1.html @@ -273,6 +273,18 @@ write indented output style
    write strict uniforum style + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/msguniq.1 b/gettext-tools/man/msguniq.1 index 1afcef83f..d134ce126 100644 --- a/gettext-tools/man/msguniq.1 +++ b/gettext-tools/man/msguniq.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH MSGUNIQ "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH MSGUNIQ "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME msguniq \- unify duplicate translations in message catalog .SH SYNOPSIS @@ -41,6 +41,10 @@ print only duplicates .TP \fB\-u\fR, \fB\-\-unique\fR print only unique messages, discard duplicates +.SS "Input file syntax:" +.TP +\fB\-P\fR, \fB\-\-properties\-input\fR +input file is in Java .properties syntax .SS "Output details:" .TP \fB\-t\fR, \fB\-\-to\-code\fR=\fINAME\fR @@ -71,6 +75,9 @@ generate '#: filename:line' lines (default) \fB\-\-strict\fR write out strict Uniforum conforming .po file .TP +\fB\-p\fR, \fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/msguniq.1.html b/gettext-tools/man/msguniq.1.html index a5532ae15..b59acf2f6 100644 --- a/gettext-tools/man/msguniq.1.html +++ b/gettext-tools/man/msguniq.1.html @@ -151,6 +151,24 @@ print only duplicates
    print only unique messages, discard duplicates + + +
    +Input file syntax:
    + + + +
    +-P, --properties-input
    + + + +
    +input file is in Java .properties syntax
    + @@ -266,6 +284,18 @@ generate '#: filename:line' lines (default)
    write out strict Uniforum conforming .po file + + +
    +-p, --properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/man/xgettext.1 b/gettext-tools/man/xgettext.1 index 383d72d75..c151b5f25 100644 --- a/gettext-tools/man/xgettext.1 +++ b/gettext-tools/man/xgettext.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. -.TH XGETTEXT "1" "February 2003" "GNU gettext-tools 0.12-pre1" GNU +.TH XGETTEXT "1" "May 2003" "GNU gettext-tools 0.12" GNU .SH NAME xgettext \- extract gettext strings from source .SH SYNOPSIS @@ -41,8 +41,8 @@ If output file is -, output is written to standard output. \fB\-L\fR, \fB\-\-language\fR=\fINAME\fR recognise the specified language (C, C++, ObjectiveC, PO, Python, Lisp, -EmacsLisp, librep, Smalltalk, Java, awk, -YCP, Tcl, PHP, RST, Glade) +EmacsLisp, librep, Smalltalk, Java, +JavaProperties, awk, YCP, Tcl, PHP, RST, Glade) .TP \fB\-C\fR, \fB\-\-c\fR++ shorthand for \fB\-\-language\fR=\fIC\fR++ @@ -103,6 +103,9 @@ generate '#: filename:line' lines (default) \fB\-\-strict\fR write out strict Uniforum conforming .po file .TP +\fB\-\-properties\-output\fR +write out a Java .properties file +.TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP diff --git a/gettext-tools/man/xgettext.1.html b/gettext-tools/man/xgettext.1.html index 632ff8b3c..4d7977729 100644 --- a/gettext-tools/man/xgettext.1.html +++ b/gettext-tools/man/xgettext.1.html @@ -164,8 +164,8 @@ output.
    recognise the specified language (C, C++, ObjectiveC, PO, -Python, Lisp, EmacsLisp, librep, Smalltalk, Java, awk, YCP, -Tcl, PHP, RST, Glade) +Python, Lisp, EmacsLisp, librep, Smalltalk, Java, +JavaProperties, awk, YCP, Tcl, PHP, RST, Glade) @@ -400,6 +400,18 @@ generate '#: filename:line' lines (default)
    write out strict Uniforum conforming .po file + + +
    +--properties-output
    + + + +
    +write out a Java .properties file
    + diff --git a/gettext-tools/misc/Makefile.in b/gettext-tools/misc/Makefile.in index cdd94db75..cd9e58094 100644 --- a/gettext-tools/misc/Makefile.in +++ b/gettext-tools/misc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,11 +61,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -72,6 +77,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -108,7 +115,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -125,6 +131,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -136,7 +143,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -147,13 +158,22 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -192,7 +212,11 @@ AUTOMAKE_OPTIONS = 1.2 gnits # Old Tcl interface. # Old Perl interface. -EXTRA_DIST = add-to-archive cvsuser.c archive.tar.gz $(lisp_LISP) gettext-sh tcl_gettext.c README-Tcl gettext.perl + +# VMS support. + +# Woe32 support. +EXTRA_DIST = add-to-archive cvsuser.c archive.tar.gz $(lisp_LISP) gettext-sh tcl_gettext.c README-Tcl gettext.perl Makefile.vms Makefile.msvc DISTCLEANFILES = gettextize autopoint @@ -216,6 +240,7 @@ DIST_SOURCES = LISP = $(lisp_LISP) ELCFILES = po-compat.elc po-mode.elc +am__ELFILES = po-compat.el po-mode.el elisp_comp = $(top_srcdir)/../config/elisp-comp DATA = $(gettextsrc_DATA) @@ -280,10 +305,23 @@ distclean-libtool: uninstall-info-am: lispLISP_INSTALL = $(INSTALL_DATA) -.el.elc: +elc-stamp: $(am__ELFILES) @echo 'WARNING: Warnings can be ignored. :-)' if test $(EMACS) != no; then \ - EMACS=$(EMACS) $(SHELL) $(elisp_comp) $<; \ + set x; \ + list='$(am__ELFILES)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + set x "$$@" "$$d$$p"; shift; \ + done; \ + shift; \ + EMACS=$(EMACS) $(SHELL) $(elisp_comp) "$$@" || exit 1; \ + else : ; fi + touch $@ + +.el.elc: + @if test ! -f $@; then \ + rm -f elc-stamp; \ + $(MAKE) $(AM_MAKEFLAGS) elc-stamp; \ else : ; fi install-lispLISP: $(lisp_LISP) $(ELCFILES) @$(NORMAL_INSTALL) @@ -312,7 +350,7 @@ uninstall-lispLISP: else : ; fi clean-lisp: - -test -z "$(ELCFILES)" || rm -f $(ELCFILES) + -rm -f elc-stamp $(ELCFILES) gettextsrcDATA_INSTALL = $(INSTALL_DATA) install-gettextsrcDATA: $(gettextsrc_DATA) @$(NORMAL_INSTALL) @@ -371,7 +409,7 @@ distdir: $(DISTFILES) done check-am: all-am check: check-am -all-am: Makefile $(SCRIPTS) $(LISP) $(ELCFILES) $(DATA) +all-am: Makefile $(SCRIPTS) $(LISP) elc-stamp $(ELCFILES) $(DATA) installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(lispdir) $(DESTDIR)$(gettextsrcdir) @@ -459,8 +497,10 @@ uninstall-am: uninstall-binSCRIPTS uninstall-gettextsrcDATA \ uninstall-gettextsrcDATA uninstall-info-am uninstall-lispLISP +# The archive.tar.gz is not in the CVS. Alpha-testers must use the one from an +# already installed release. archive.tar.gz: - (cd autopoint-files && tar cf - --owner=root --group=root `find archive -type f | grep -v /CVS/`) | gzip -c -9 > $@ + cp -p $(gettextsrcdir)/archive.tar.gz $@ # 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/gettext-tools/po/be.po b/gettext-tools/po/be.po index 86150d717..97a072137 100644 --- a/gettext-tools/po/be.po +++ b/gettext-tools/po/be.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2002-09-04 18:51+0300\n" "Last-Translator: Ales Nyakhaychyk \n" "Language-Team: Belarusian \n" @@ -29,40 +30,41 @@ msgstr "неадназначны аргумэнт `%s' для `%s'" msgid "Valid arguments are:" msgstr "Рэчаісныя аргумэнты:" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "памылка ў час чытаньня файла \"%s\"" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "немагчыма адчыніць дубліруючы файл \"%s\" для запісу" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "памылка чытаньня \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "памылка запісу файла \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "памылка пасля чытаньня \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Невядомая сістэмная памылка" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s падпрацэс спынены з-за памылкі" @@ -122,7 +124,7 @@ msgstr "%s: выбар `-W %s' неадназначны\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: выбар `-W %s' не патрабуе аргумэнтаў\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "Java кампілятар ня знойдзен, паспрабуйце ўсталяваць gcj ці $JAVAC" @@ -131,99 +133,286 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" "Віртуальная Java-машына ня знойдзена, паспрабуйце ўсталяваць gij ці $JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "памяць вычарпана" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "не магчыма стварыць канвеэр" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s падпрацэс" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s падрацэс атрымаў фатальны сігнал %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "спэцыфікацыя фармату для аргумэнта %u, як у '%s', ня йснуе ў 'msgid'" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "спэцыфікацыя фармату для аргумэнта %u ня йснуе ў '%s'" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "спэцыфікатары фармату ў 'msgid' і '%s' для аргумэнта %u неаднолькавыя" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "колькасьць спэцыфікацый фармату ў 'msgid' і '%s' не супадае" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "спэцыфікацыя фармату для аргумэнта {%u}, як у '%s', не йснуе ў 'msgid'" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "спэцыфікацыя фармату для аргумэнта {%u} не йснуе ў '%s'" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "" "спэцыфікацыі фармату ў 'msgid' і '%s' для аргумэнта {%u} не аднолькавыя" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "спэцыфікацыі фармата ў 'msgid' і '%s' нераўназначныя" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" "спэцыфікацыі фармата ў '%s' не з'яўляюцца падмноствам спэцыфікацый у 'msgid'" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 #, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 +#, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" -msgstr "" +msgstr "спэцыфікацыі фармата ў 'msgid' і '%s' нераўназначныя" -#: src/format-python.c:387 -#, c-format +#: src/format-python.c:419 +#, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "" +"спэцыфікацыі фармата ў '%s' не з'яўляюцца падмноствам спэцыфікацый у 'msgid'" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " @@ -231,22 +420,36 @@ msgid "" msgstr "" "спэцыфікацыі фармату для аргумэнту '%s', як у '%s', не існуюць у'msgid'" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "спцэыфікацыя фармату для аргумэнта \"%s\" ня йснуе ў \"%s\"" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "спэцыфікацыі фармату ў 'msgid' і '%s' для аргумэнта '%s' неаднолькавыя" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -258,46 +461,51 @@ msgstr "" "пагадненьня аб распаўсюджваньні. Ня йснуе НІЯКАЙ гарантыі; нават аб\n" "магчымасьці выкарыстньня зь якой небудзь мэтай.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Аўтар %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "вельмі шмат аргумэнтаў" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Паспрабуйце \"%s --help\" для больш падрабязных зьвестак.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Выкарыстаньне: %s [ВЫБАР]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Друкуе назву вузла.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Фармат вываду:\n" " -s, --short кароткая назва вузла\n" @@ -305,53 +513,72 @@ msgstr "" " назву маёнтка й прозьвішчы\n" " -i, --ip-address адрас для вузла\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Інфармацыйны вывад:\n" " -h, --help адлюстроўвае дапамогу й выходзіць\n" " -V, --version выводзіць зьвесткі аб версіі й выходзіць\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Паведамляйце аб памылках на адрас .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "немагчыма атрымаць назву вузла" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "па большай частцы адзін уваходзячы файл зацьверджан" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s і %s узаема выключны" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Выкарыстаньне: %s [ВЫБАР] [УВАХОДЗЯЧЫ_ФАЙЛ]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -360,34 +587,62 @@ msgstr "" "Фільтруе паведамленьні каталёга перакладаў суадносна іх атрыбутам, а так сама,\n" "узьдзейнічае на іх\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Аргумэнты, абавязковыя для доўгіх выбараў, абавязковы й для кароткіх.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Аргумэнты, абавязковыя для доўгіх выбараў, абавязковы й для кароткіх.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "невызначан уваходзячы файл" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "Файл уводу:\n" -" INPUTFILE уваходзячы PO файл\n" -" -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку ўваходзячых\n" -" файлаў\n" +" ФАЙЛ ... .mo файлы\n" "Калі ўваходзячы файл не зададзен, ці замест яго -, чытае стандартны ўвод.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" @@ -396,92 +651,195 @@ msgstr "" "Вынікі запісваюцца ў стандартны вывад, калі ймя файла для вываду не\n" "зададзена, ці замест яго -.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Выбар паведамленьня:\n" -" --translated пакідае перакладзеныя, прымае неперакладзеныя\n" -" паведамленьні\n" -" --untranslated пакідае неперакладзеныя, прымае перакладзеныя\n" -" паведамленьні\n" -" --no-fuzzy прымае паведамленьні, азначаныя як 'fuzzy'\n" -" --only-fuzzy пакідае паведамленьні, азначаныя як 'fuzzy'\n" -" --no-obsolete прымае састарэлыя #~ паведамленьні\n" -" --only-obsolete пакіде састарэлыя #~ паведамленьні\n" #: src/msgattrib.c:394 -#, fuzzy, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Узьдзеяньне на атрыбуты:\n" -" --set-fuzzy усталёўвае ўсе паведамленьні як 'fuzzy'\n" -" --clear-fuzzy усталёўвае ўсе паведамленьні як не 'fuzzy'\n" -" --set-obsolete усталёўвае ўсе паведамленьні як састарэлыя\n" -" --clear-obsolete усталёўвае ўсе паведамленьні як несастарэлыя\n" -" --fuzzy тое, што й --only-fuzzy --clear-fuzzy\n" -" --obsolete тое, што й --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "Дэталі вываду:\n" -" -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" -" вывадзе (звычайна)\n" -" -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў вывадзе;\n" -" без дадатковых сімвалаў\n" -" --force-po запісваць PO-файл, нават калі ён пусты\n" -" -i, --indent запісваць .po файл, выкарыстоўвываючы водступы\n" -" --no-location не запісваць радкі '#: імя_файла:радок'\n" -" -n, --add-location ствараць радкі '#: імя_файла:радок' радкі (гэты\n" -" выбар выкарыстоўваецца паўмаўчаньню)\n" -" --strict запісваць .po файл, жорстка адпавядаючы\n" -" пагадненьню Uniforum\n" -" -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" -" -s, --sort-output ствараць упарадкаваны вывад\n" -" -F, --sort-by-file упарадкоўваць вывад па месцазнаходжаньню файла\n" - -#: src/msgcat.c:260 src/msgcomm.c:279 +" -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" +" вывадзе (звычайна)\n" +" -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў вывадзе,\n" +" без дадатковых сімвалаў\n" +" --force-po запісваць PO-файл, нават калі ён пусты\n" +" -i, --indent запісваць .po файл, выкарыстоўвываючы водступы\n" +" --strict запісваць .po файл, жорстка адпавядаючы\n" +" пагадненьню Uniforum\n" +" -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" +" --no-wrap не разьбіваць доўгія радкі з паведамлеьнямі,\n" +"\n" +" даўжэй чым шырыня, на некалькі радкоў\n" +" -s, --sort-output ствараць упарадкаваны вывад\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "зададзен немагчымы крытэрый выбару (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Выкарыстаньне: %s [ВЫБАР] [УВАХОДЗЯЧЫ_ФАЙЛ]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -505,117 +863,67 @@ msgstr "" "будуць узяты з першага PO-файла.\n" "Пазіцыі з усіх PO-файлаў будуць аб'яднаны ў кучу\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Файл уводу:\n" -" УВАХОДЗЯЧЫ_ФАЙЛ ... уваходзячыя файлы\n" -" -f, --files-from=ФАЙЛ атрымліваць сьпіс уваходзячый файлаў з ФАЙЛА\n" -" -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку ўваходзячых\n" -" файлаў\n" -"Калі файл уводу гэта -, чытаецца стандартны ўвод.\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Файл вываду:\n" -" -o, --output-file=ФАЙЛ запісваць вывад у азначаны файл\n" -"Вынікі запісваюцца ў стандартны вывад, калі імя файла не зададзена, ці\n" -"замест яго -.\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" -msgstr "" -"Выбар паведамленьняў:\n" -" -<, --less-than=ЛІК друкаваць паведамленьні, якія маюць меньш\n" -" вызначэньняў, чым зададзена; звычайна не\n" -" абмежавана\n" -" ->, --more-than=ЛІК друкаваць паведамленьні, якія маюць больш\n" -" вызначэньняў, чым зададзена; звычайна 0\n" -" -u, --unique скарачэньне для --less-than=2, толькі\n" -" непаўторныя паведамленьні будуць надрукаваны\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" +msgstr "" + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Дэталі вываду:\n" -" -e, --no-escape не выкарыстоўваць ESC-пасьлядоўнасьці ў\n" -" вывадзе (звычайна)\n" -" -E, --escape выкарыстоўваць ESC пасьлядоўнасьці ў вывадзе,\n" -" без дадатковых сімвалаў\n" -" --force-po запісваць PO-файл, нават калі ён пусты\n" -" -i, --indent запісваць .po файл, выкарыстоўвываючы водступы\n" -" --no-location не запісваць радкі '#: імя_файла:радок'\n" -" -n, --add-location ствараць радкі '#: імя_файла:радок' радкі (гэты\n" -" выбар выкарыстоўваецца паўмаўчаньню)\n" -" --strict запісваць .po файл, жорстка адпавядаючы\n" -" пагадненьню Uniforum\n" -" -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" -" -s, --sort-output ствараць упарадкаваны вывад\n" -" -F, --sort-by-file упарадкоўваць вывад па месцазнаходжаньню файла\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Інфармацыйны вывад:\n" -" -h, --help адлюстроўвае гэту дапамогу і выходзіць\n" -" -V, --version выводзіць зьвесткі аб версіі і выходзіць\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "не зададзены ўводзячыя файлы" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "патрабуецца менавіта 2 уводзячых файла" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Выкарыстаньне: %s [ВЫБАР] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -633,46 +941,46 @@ msgstr "" "супадзеньне ня будзе знойдзена, выкарыстоўвываецца недакладае - для\n" "лепшай праверкі.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"Файл уводу:\n" -" def.po пераклады\n" -" ref.pot спасылкі на крыніцы\n" -" -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку файлаў ўводу\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "Зьмяняльнікі:\n" -" -m, --multi-domain прымяніць ref.pot для кожнага маёнтка з def.po\n" +" -m, --multi-domain прымяніць ref.pot для кожнага маёнтка з def." +"po\n" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "гэта паведамленьне выкарыстоўваецца, але не вызначана..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...але гэта вызначэньне падобна" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "гэта паведамленьне выкарыстоўваецца, але не вызначана ў %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "увага: гэта паведамленьне не выкарыстоўваецца" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" @@ -680,11 +988,11 @@ msgstr[0] "знойдзена %d фатальная памылка" msgstr[1] "знойдзена %d фатальныя памылкі" msgstr[2] "знойдзена %d фатальных памылак" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "неабходна задаць не менш двух файлаў" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -705,162 +1013,94 @@ msgstr "" "камэнтары будуць захаваны, але толькі зь першага PO файла, у якім яны былі\n" "вызначаны. Каментары становішчаў у файлах з усіх PO файлаў будуць аб'яднаны.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" -msgstr "" -"Выбар паведамленьняў:\n" -" -<, --less-than=ЛІК друкаваць паведамленьні, якія маюць меньш\n" -" вызначэньняў, чым зададзена; звычайна не\n" -" абмежавана\n" -" ->, --more-than=ЛІК друкаваць паведамленьні, якія маюць больш\n" -" вызначэньняў, чым зададзена; звычайна 1\n" -" -u, --unique скарачэньне для --less-than=2, толькі\n" -" непаўторныя паведамленьні будуць надрукаваны\n" - -#: src/msgcomm.c:363 -#, no-wrap +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" +msgstr "" + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" -"Падрабязнасьці вываду:n -e, --no-escape не выкарыстоўваць Сі ESC-пасьлядоўнасьці ў\n" -" вывадзе (звычайна)\n" -" -E, --escape выкарыстоўваць Сі ESC-пасьлядоўнасьці ў\n" -" вывадзе замест дадатковых сымбаляў\n" -" --force-po запісваць PO файл, нават калі ён парожні\n" -" -i, --indent запісваць .po f файл з водступамі\n" -" --no-location не запісваць радкі '#: імя_файла:радок'\n" -" -n, --add-location ствараць радкі '#: імя_файла:радок' радкі\n" -" (гэты выбар выкарыстоўваецца неабумоўленым)\n" -" --strict запісваць .po файл, жорстка адпавядаючы\n" -" пагадненьню Uniforum\n" -" -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" -" --no-wrap не разьбіваць радкі доўгіх паведамленьняў,\n" -" даўжэйшыя за шырыню старонкі вываду, на\n" -" некалькі радкоў\n" -" -s, --sort-output ствараць упарадкаваны вывад\n" -" -F, --sort-by-file упарадкоўваць вывад па шляху да файлу\n" -" --omit-header не запісваць загаловак з `msgid \"\"' запісам\n" - -#: src/msgconv.c:257 -#, no-wrap +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "Пераўтварае каталёг з перакладамі ў розныя сімвальныя кадзіроўкі.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "памылка пераўтварэньня" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Мэта пераўтварэньня:\n" " -t, --to-code=НАЗВА перакаўтварае кадзіроўку для вываду\n" "Звычайна выкарыстоўвываецца бягучая кадзіроўка лакалі\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Дэталі вываду:\n" -" -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" -" вывадзе (звычайна)\n" -" -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў вывадзе,\n" -" без дадатковых сімвалаў\n" -" --force-po запісваць PO-файл, нават калі ён пусты\n" -" -i, --indent запісваць .po файл, выкарыстоўвываючы водступы\n" -" --no-location не запісваць радкі '#: імя_файла:радок'\n" -" -n, --add-location ствараць радкі '#: імя_файла:радок' радкі (гэты\n" -" выбар выкарыстоўваецца паўмаўчаньню)\n" -" --strict запісваць .po файл, жорстка адпавядаючы\n" -" пагадненьню Uniforum\n" -" -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" -" -s, --sort-output ствараць упарадкаваны вывад\n" -" -F, --sort-by-file упарадкоўваць вывад па месцазнаходжаньню файла\n" - -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "невызначан уваходзячы файл" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "патрабуецца менавіта адзін уваходзячы файл" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Выкарыстаньне: %s [ВЫБАР] УВАХОДЗЯЧЫ_ФАЙЛ\n" -#: src/msgen.c:242 -#, no-wrap +#: src/msgen.c:252 +#, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "Стварае каталёг ангельскіх перакладаў. Файл уводу - гэта апошні створаны\n" "ангельскі PO файл, ці шаблён PO файлу (звычайна створаны xgettext).\n" "Неперакладзеныя уваходжаньні прымаюцца як пераклады, аднолькавыя msgid, і\n" "пазначаюцца як недакладныя (fuzzy).\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"Уваходзячы файл:\n" -" INPUTFILE уваходзячы PO ці POT файл\n" -" -D, --directory=ДЫРЭКТОРЫЯ дадае ДЫРЭКТОРЫю ў сьпіс пошуку файлаў уводу\n" -"Калі файл уводу гэта -, чытаецца стандартны ўвод.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "прапушчана назва каманды" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Выкарыстаньне: %s [ВЫБАР] ЗАГАД [ВЫБАР_ЗАГАДА]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -874,7 +1114,7 @@ msgstr "" "адзін раз для кожнага пераклада. Яго вывад становіцца вывадам msgexec.\n" "Праграма msgexec вяртае код - гэта найбольшы код вяртаньня паміж усіх выклікаў.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -883,122 +1123,100 @@ msgstr "" "Асабісты ўбудаваны загад, завецца '0', выводзіць пераклад й нулявы байт за ім.\n" "Вывад каманды \"msgexec 0\" падыходзіць для ўваходу каманды \"xargs -0\".\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"Уваходзячы файл:\n" -" -i, --input=INPUTFILE PO файл уводу\n" -" -D, --directory=ДЫРЭКТОРЫЯ дадае ДЫРЭКТОРЫю ў сьпіс пошуку файлаў уводу\n" -"Калі файл уводу незададзены, ці замест яго -, чытаецца стандартны ўвод.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "памылка запісу ў stdout" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "памылка запісу ў падпрацэс %s" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "прапушчана назва фільтра" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "па меншай меры адзін sed-скрыпт павінен быць зададзены" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Выкарыстаньне: %s [ВЫБАР] ФІЛЬТР [ВЫБАРЫ_ФІЛЬТРА]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Прымае фільтар да ўсіх перакладаў зь каталёгу перакладаў.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -"ФІЛЬТРАМ можа быць любая праграма, якая чытае пераклады са стандартнага ўводу\n" +"ФІЛЬТРАМ можа быць любая праграма, якая чытае пераклады са стандартнага " +"ўводу\n" "й запісвае зьмененыя пераклады ў стандартны вывад.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"Карысныя ВЫБАРы-ФІЛЬТАРУ, калі ФІЛЬТАР гэта 'sed':\n" -" -e, --expression=SCRIPT дадае SCRIPT да загадаў, якія будуць выкананы\n" -" -f, --file=SCRIPTFILE дадае зьмест SCRIPTFILE да загадаў, якія будуць\n" -" выкананы\n" -" -n, --quiet, --silent выключаць аўтаматычны друк прыклада\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Дэталі вываду:\n" -" --no-escape не выкарыстоўваць Сі ESC-пасьлядоўнасьці ў\n" -" вывадзе (звычайна)\n" -" -E, --escape выкарыстоўваць Сі ESC-пасьлядоўнасьці ў\n" -" вывадзе, замест дадатковых сымбаляў\n" -" --force-po запісваць PO файл, нават калі парожні\n" -" --indent вывад з водступамі\n" -" --keep-header трымаць загаловак нязьменным, не фільтраваць\n" -" --no-location адкідваць радкі '#: файл:радок'\n" -" --add-location дабаўляць радкі '#: файл:радок' (звычайна)\n" -" --strict вывад жорстка адпаведае Uniforum\n" -" -w, --width=ЛІК усталяваць шырыню вываду\n" -" --no-wrap не разьбіваць доўгія радкі з паведамлеьнямі,\n" -"\n" -" даўжэй чым шырыня, на некалькі радкоў\n" -" -s, --sort-output ствараць упарадкаваны вывад\n" -" -F, --sort-by-file упарадкоўваць вывад па назьве файла\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "немагчыма ўсталяваць неблакіруючы ўвод-вывад у падпрацэс %s" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "памылка ўзаемадзеяньня з падпрацэсам %s" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "памылка чытаньня з падпрацэса %s" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "падпрацэс %s завершыўся з кодам выхаду %d" @@ -1008,18 +1226,18 @@ msgstr "падпрацэс %s завершыўся з кодам выхаду %d msgid "the argument to %s should be a single punctuation character" msgstr "аргумэнт %s павінен быць адзіночным знакам прыпынку" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s патрабуе \"-d дырэкторыя\" спэцыфікацыі" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s патрабуе \"-l locale\" спэцыфікацыі" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s рэчаісны толькі з %s" @@ -1029,7 +1247,7 @@ msgstr "%s рэчаісны толькі з %s" msgid "%s is only valid with %s or %s" msgstr "%s рэчаісны толькі з %s ці %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" @@ -1037,7 +1255,7 @@ msgstr[0] "%d паведамленьне перакладзена" msgstr[1] "%d паведамленьні перакладзена" msgstr[2] "%d паведамленьняў перакладзена" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" @@ -1051,7 +1269,7 @@ msgstr[2] "" ",\n" "%d недакладных перакладаў" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" @@ -1065,162 +1283,199 @@ msgstr[2] "" ",\n" "%d неперакладзеных паведамленьняў" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Выкарыстаньне: %s [ВЫБАР] файл.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "Стварае дваічны каталёг паведамленьняў зь іх тэкставага апісаньня.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"Аргумэнты, абавязковыя для доўгх выбараў, абавязковы так сама\n" +"і для кароткі. Тое саме-ж і для выбарачных аргумэнтаў.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"Файл уводу:\n" -" файл.po ... файл уводу\n" -" -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку ўваходзячых\n" -" файлаў\n" -"Калі замест назвы файлу уводу -, чытаецца стандартны ўвод.\n" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -"Рэжым дзеяньня:\n" -" -j, --java Java рэжым: ствараць Java ResourceBundle кляс\n" -" --java2 як --java, але ў дачыненьні Java2 (JDK 1.2 ці\n" -" больш позьняя вэрсія)\n" -" --tcl Tcl рэжым: ствараць tcl/msgcat .msg файл\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Файл вываду:\n" -" -o, --output-file=ФАЙЛ запісвае вывад у зададзены файл\n" -" --strict уключае рэжым жорсткага адпавяданьня Uniforum\n" -"Калі замест назвы файла вываду -, вывад запісваецца ў стандартны вывад.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" "Файл вываду ў рэжыме Java:\n" " -r, --resource=СРОДАК назва сродка\n" " -l, --locale=МЯСЦОВАСЬЦЬ назва мясцовасьці, ці мова ці мова_КРАІНА\n" -" -d ДЫРЭКТОРЫЯ асноўная дырэкторыя гіэрархіі дырэкторый клясаў\n" -"Назва кляса вызначаецца шляхам дапасаваньня назвы мясцовасьці да назвы сродка\n" +" -d ДЫРЭКТОРЫЯ асноўная дырэкторыя гіэрархіі дырэкторый " +"клясаў\n" +"Назва кляса вызначаецца шляхам дапасаваньня назвы мясцовасьці да назвы " +"сродка\n" "абмежаваным падкрэсьліваньнем. Выбар -d абавязковы. Кляс запісваецца ў\n" "зададзеную дырэкторыю.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Файл вываду ў рэжыме Tcl:\n" -" -l, --locale=МЯСЦОВАСЬЦЬ назва мясцовасьці, ці мова ці мова_КРАІНА\n" -" -d ДЫРЭКТОРЫЯ асноўная дырэкторыя .msg каталёгаў паведамленьняў\n" -"Выбары -l і -d абавязковыя. Файл .msg запісваецца ў зададзеную дырэкторыю.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" -" --check-domain check for conflicts between domain directives\n" -" and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" -" menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" +" --check-format, --check-header, --check-" +"domain\n" msgstr "" -"Успрыняцьце файла ўводу:\n" -" -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Падрабязнасьці вываду:\n" -" -a, --alignment=ЛІК выроўніваць радкі па ЛІКу байтаў (звычайна: %d)\n" +" -a, --alignment=ЛІК выроўніваць радкі па ЛІКу байтаў (звычайна: %" +"d)\n" " --no-hash дваічны файл не зьмяшчае хэш табліцы\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Падрабязнасьці вываду:\n" +" -a, --alignment=ЛІК выроўніваць радкі па ЛІКу байтаў (звычайна: %" +"d)\n" +" --no-hash дваічны файл не зьмяшчае хэш табліцы\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -"Інфармацыйны вывад:\n" -" -h, --help адлюстроўвае гэтую дапамогу й выходзіць\n" -" -V, --version выводзіць зьвесткі аб вэрсіі й выходзіць\n" -" --statistics друкуе статыстыку аб перакладах\n" -" -v, --verbose павялічвае ўзровень шматслоўнасьці\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "выраз множнага ліку можа ўтвараць адмоўнае значэньне" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" "nplurals = %lu але выраз множнага ліку можа ўтвараць значэньні такія як %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "выраз множнага ліку можа ўтвараць дзяленьне на нуль" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "выраз множнага ліку можа ўтвараць цэлалікавае перапаўненьне" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" @@ -1228,32 +1483,32 @@ msgstr "" "выраз множнага ліку можа ўтвараць арыфмэтычныя выключэньні, магчыма\n" "дзяленьне на нуль" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "каталёг паведамленьня мае пераклады форм множнага ліку..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...але ў загалоўку нехапае атрыбута \"plural=ВЫРАЗ\"" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...але ў загалоўку нехапае атрыбута \"plural=ЦЭЛЫ_ЛІК\"" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "нерэчаіснае значэньне nplurals" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "нерэчаісны выраз формы мнножнага ліку (plural)" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" @@ -1263,7 +1518,7 @@ msgstr[1] "...але некаторыя паведамленьні маюць т msgstr[2] "" "...але некаторыя паведамленьні маюць толькі %lu формаў множнага ліку" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" @@ -1271,149 +1526,141 @@ msgstr[0] "...але некаторыя паведамленьні маюць а msgstr[1] "...але некаторыя паведамленьні маюць %lu формы множнага ліку" msgstr[2] "...але некаторыя паведамленьні маюць %lu формаў множнага ліку" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Паспрабуйце выкарыстоўваць наступнае, рэчаіснае для %s\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "`msgid' і `msgid_plural' не пачынаюцца разам з '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "`msgid' і `msgstr[%u]' не пачынаюцца разам з \"\\n\"" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "`msgid' і `msgstr' не пачынаюцца разам з '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "`msgid' і `msgid_plural' не заканчваюцца разам на '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "`msgid' і `msgstr[%u]' не заканчваюцца разам на '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "`msgid' і `msgstr' не заканчваюцца разам на '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "апрацоўка множнага ліку - гэта пашырэньне GNU gettext" -#: src/msgfmt.c:1159 -#, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +#: src/msgfmt.c:1178 +#, fuzzy, c-format +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "'%s' - гэта нерэчаісны %s фармат радку, у адрозьненьне ад 'msgid'" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "поле загалоку `%s' прапушчана ў загалоўку\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "поле загалоку `%s' павінна пачынацца на пачатку радка\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "некаторыя палі загалока ўсё яшчэ маюць пачатковае значэньне\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "поле `%s' усё яшчэ мае пачатковае значэньне\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "увага: загаловак PO-файла прапушчан ці нерэчаісны\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "увага: пераўтварэньне кадзіровак не будзе працаваць\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "увага: загаловак PO-файла мае недакладны пераклад\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "даменная назва \"%s\" не падыходзіць у якасці назвы файла" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "даменная назва \"%s\" не падыходзіць у якасці назвы файла;\n" "будзе выкарыстаны прэфікс" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "дырэктыва `domain %s' ігнаруецца" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "двайное вызначэньне паведамленьня" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...гэта месцазнаходжаньне першага вызначэньня" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "парожняе уваходжаньне `msgstr' прапушчана" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "недакладнае уваходжаньне `msgstr' прапушчана" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: увага: ізыходны файл змяшчае недакладны пераклад" -#: src/msggrep.c:383 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" "выбар '%c' не можа быць выкарыстаны раней чым 'K' ці 'T' будуць зададзены" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1437,6 +1684,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1444,36 +1692,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "памылка запісу ў падпрацэс grep" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1484,12 +1727,12 @@ msgstr "" "Калі ласка, задайце мясцовасьць з дапамогай выбару --locale\n" "ці .po файл вываду з дапамогай выбару --output-file.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Створан %s.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1498,36 +1741,46 @@ msgstr "" "Стварае новы PO файл, задае пачатковыя мэтададзеныя значэньнямі з асяродзьдзя\n" "карыстальніка.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" +"Файл уводу:\n" +" ФАЙЛ ... .mo файлы\n" +"Калі ўваходзячы файл не зададзен, ці замест яго -, чытае стандартны ўвод.\n" + +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" +"Файл вываду:\n" +" -o, --output-file=ФАЙЛ запісвае вывад у зададзены файл\n" +" --strict уключае рэжым жорсткага адпавяданьня Uniforum\n" +"Калі замест назвы файла вываду -, вывад запісваецца ў стандартны вывад.\n" + +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1535,11 +1788,11 @@ msgstr "" "Знойдзен больш чым адзін .pot файл.\n" "Калі ласка задайце .pot файл уводу з дапамогай выбара --input.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "памылка чытаньня бягучай дырэкторыі" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1547,23 +1800,23 @@ msgstr "" "Ня знойдзен .pot файл у бягучай дырэкторыі.\n" "Калі ласка задайце .pot файл уводу з дапамогай выбара --input.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() памылка" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "падпрацэс %s, памылка ўводу-вываду" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 -#, c-format +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 +#, fuzzy, c-format msgid "%s subprocess failed with exit code %d" -msgstr "" +msgstr "падпрацэс %s завершыўся з кодам выхаду %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1575,22 +1828,22 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Беларускі пераклад для %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "уваходзячы файл зьмяшчае два розных набора сімвалаў \"%s\" і \"%s\"" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" @@ -1598,30 +1851,33 @@ msgstr "" "уваходзячы файл `%s' не зьмяшчае загаловачны запіс\n" "са сьпецыфікацыей кодавай старонкі" -#: src/msgl-cat.c:201 -#, c-format +#: src/msgl-cat.c:203 +#, fuzzy, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" +"уваходзячы файл `%s' не зьмяшчае загаловачны запіс\n" +"са сьпецыфікацыей кодавай старонкі" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "увага: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1669,34 +1925,38 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "памылка пераўтварэньня" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "уваходзячы файл не змяшчае загаловачнага запісу аб наборы сімвалаў" -#: src/msgl-iconv.c:353 src/xgettext.c:487 -#, c-format +#: src/msgl-iconv.c:355 src/xgettext.c:501 +#, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" +"Кадзіроўка \"%s\" не падтрымліваецца. %s спадзяецца на iconv(),\n" +"але iconv() не падтрымлівае \"%s\".\n" -#: src/msgl-iconv.c:370 src/xgettext.c:494 -#, c-format +#: src/msgl-iconv.c:372 src/xgettext.c:508 +#, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" +"Кадзіроўка \"%s\" не падтрымліваецца. %s спадзяецца на iconv().\n" +"Гэта вэрсія пабудавана без iconv().\n" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 -#, no-wrap +#: src/msgmerge.c:408 +#, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" "existing PO file with translations which will be taken over to the newly\n" @@ -1708,77 +1968,85 @@ msgid "" "comments and file positions will be preserved. Where an exact match\n" "cannot be found, fuzzy matching is used to produce better results.\n" msgstr "" +"Параўноўвае два Uniforum .po файла, каб удакладніць, што абодва зьмяшчаюць\n" +"аднолькавыя мноствы радкоў msgid. Файл def.po - гэта існуючы PO файл зь\n" +"перакладамі. Файл ref.po - гэта апошні створаны PO файл, ці PO шаблён\n" +"(звычайна створаны праграмай xgettext). Гэта карысна для праверкі, што ў\n" +"вас перакладзена кожнае паведамленьне з вашае праграмы. Там, дзе дакладнае\n" +"супадзеньне ня будзе знойдзена, выкарыстоўвываецца недакладае - для\n" +"лепшай праверкі.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, fuzzy, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Зьмяняльнікі:\n" -" -m, --multi-domain прымяніць ref.pot для кожнага маёнтка з def.po\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -"Інфармацыйны вывад:\n" -" -h, --help адлюстроўвае дапамогу й выходзіць\n" -" -V, --version выводзіць зьвесткі аб версіі й выходзіць\n" -" -v, --verbose павялічыць узровень шматслоўнасьці\n" -" -q, --quiet, --silent забараняць паказальнікі дасягненьняў\n" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "гэтае паведамленьне павінна вызначаць хормы множнага ліка" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "гэтае паведамленьне не павінна вызначаць хормы множнага ліка" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1787,119 +2055,87 @@ msgstr "" "%sПрачытана %ld старых + %ld новых, аб'яднаных %ld, недакладных %ld;\n" "прапушчана %ld, састарэлых %ld.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " зроблена.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s і яўная назва файла ўзаема выключальны" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Выкарыстаньне: %s [ВЫБАР] [ФАЙЛ]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "Пераўтварае дваічны каталёг паведамленьняў у Uniforum .po файл.\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "Рэжым дзеяньня:\n" " -j, --java Java рэжым: увод гэта ResourceBundle кляс\n" " --tcl Tcl рэжым: увод гэта tcl/msgcat .msg файл\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Файл уводу:\n" -" ФАЙЛ ... .mo файлы\n" -"Калі ўваходзячы файл не зададзен, ці замест яго -, чытае стандартны ўвод.\n" +"Рэжым дзеяньня:\n" +" -j, --java Java рэжым: увод гэта ResourceBundle кляс\n" +" --tcl Tcl рэжым: увод гэта tcl/msgcat .msg файл\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" +"Файл вываду ў рэжыме Java:\n" +" -r, --resource=СРОДАК назва сродка\n" +" -l, --locale=МЯСЦОВАСЬЦЬ назва мясцовасьці, ці мова ці мова_КРАІНА\n" +" -d ДЫРЭКТОРЫЯ асноўная дырэкторыя гіэрархіі дырэкторый " +"клясаў\n" +"Назва кляса вызначаецца шляхам дапасаваньня назвы мясцовасьці да назвы " +"сродка\n" +"абмежаваным падкрэсьліваньнем. Выбар -d абавязковы. Кляс запісваецца ў\n" +"зададзеную дырэкторыю.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Дэталі вываду:\n" -" -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" -" вывадзе (звычайна)\n" -" -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў вывадзе,\n" -" без дадатковых сімвалаў\n" -" --force-po запісваць PO-файл, нават калі ён пусты\n" -" -i, --indent запісваць .po файл, выкарыстоўвываючы водступы\n" -" --strict запісваць .po файл, жорстка адпавядаючы\n" -" пагадненьню Uniforum\n" -" -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" -" --no-wrap не разьбіваць доўгія радкі з паведамлеьнямі,\n" -"\n" -" даўжэй чым шырыня, на некалькі радкоў\n" -" -s, --sort-output ствараць упарадкаваны вывад\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Інфармацыйны вывад:\n" -" -h, --help адлюстроўвае дапамогу й выходзіць\n" -" -V, --version выводзіць зьвесткі аб версіі й выходзіць\n" -" -v, --verbose павялічыць узровень шматслоўнасьці\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1912,18 +2148,21 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "Выбар паведамленьня:\n" " -d, --repeated друкаваць толькі паўтараючыеся\n" " -u, --unique друкаваць толькі непаўторныя\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1990,73 +2229,73 @@ msgstr "" "Пераўтварэньне паведамленьняў у набор сімвалаў карыстальніка працаваць не " "будзе.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "несумяшчальнае ўжываньне #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "прапушчана секцыя \"msgstr[]\"" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "прапушчана секцыя \"msgid_plural\"" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "прапушчана секцыя \"msgstr\"" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "першая форма ліку мае ненулявы індэкс" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "формы множнага ліку маюць дрэнныі індэкс" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "вельмі шмат памылак..." -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "нерэчаісная шматсімвальная паслядоўнасць" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "няпоўная шматбайтная пасьлядоўнасьць на прыканцы файла" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "няпоўная шматбайтная пасьлядоўнасьць на прыканцы радка" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "памылка iconv" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "памылка ў час чытаньня \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "невядомае ключавое слова \"%s\"" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "нерэчаісная кантралюючая паслядоўнасць" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "сімвал канца файла знаходзіцца ўнутры радка" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "сімвал канца радка знаходзіцца ўнутры радка" @@ -2080,12 +2319,24 @@ msgstr "фармат файла \"%s\" не GNU .mo" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "файл \"%s\" зьмяшчае радок не завершаны нулём, ля %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "гэты файл можа не змяшчаць дырэктыў дамену" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "двайное вызначэньне паведамленьня" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...гэта месцазнаходжаньне першага вызначэньня" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "чакалісь два аргумэнты" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Выкарыстаньне: %s [ВЫБАР] URL ФАЙЛ\n" @@ -2121,7 +2372,7 @@ msgstr "нерэчаісная назва Java-класа: %s" msgid "failed to create \"%s\"" msgstr "немагчыма стварыць \"%s\"" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2133,19 +2384,19 @@ msgstr "" "памылка кампіляцыі Java кляса, калі ласка паспрабуйце --verbose,\n" "ці ўсталяваць пераменную асяроддзя $JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "памылка ў час адкрыцця \"%s\" для запісу" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "перакладзеныя паведамленьні не павінны зьмяшчаць \"\\%c\" ESC-пасьлядоўнасьці" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2159,12 +2410,25 @@ msgstr "" "выкарыстаньня толькі ASCII сымбаляў у msgid\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "немагчыма стварыць файл вываду \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "стандартны вывад" @@ -2175,7 +2439,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: увага: незавершаны радок" @@ -2209,11 +2473,7 @@ msgstr "" "Кадзіроўка \"%s\" не падтрымліваецца. %s спадзяецца на iconv().\n" "Гэта вэрсія пабудавана без iconv().\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "гэты файл можа не змяшчаць дырэктыў дамену" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: увага: незавершаная сімвальная канстанта" @@ -2233,149 +2493,156 @@ msgstr "%s:%d: прапушчан нумар пасьля #" msgid "%s:%d: invalid string expression" msgstr "%s:%d: нерэчаісны выраз-радок" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "--joun-existing не можа быць выкарастаны пры запісы ў stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext не можа працаваць без ключавых слоў для пошуку" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "увага: файл \"%s\" суфікс \"%s\" невядомы; паспрабуйце C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Атрымлівае перакладаемыя радкі з дадзеных уваходзячых файлаў.\n" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Аргумэнты, абавязковыя для доўгх выбараў, абавязковы так сама\n" -"і для кароткі. Тое саме-ж і для выбарачных аргумэнтаў.\n" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "невызначан уваходзячы файл" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Асаблівасьці для C/C++:\n" -" -a, --extract-all атрымаць усе радкі\n" -" -k, --keyword[=СЛОВА] дадатковае ключавое слова для пошуку (бяз\n" -" СЛОВА азначае не выкарыстоўваць неабумоўленыя\n" -" ключавыя словы\n" -" -T, --trigraphs разумець ANSI C трыграфы пры ўводзе\n" -" --debug больш падрабязны вынік разбору радка\n" -" фарматаваньня\n" - -#: src/xgettext.c:670 -#, fuzzy, no-wrap +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" +msgstr "" + +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" msgstr "" -"Дэталі вываду:\n" -" -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" -" вывадзе (звычайна)\n" -" -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў\n" -" вывадзе, без дадатковых сымбаляў\n" -" --force-po запісваць PO-файл, нават калі ён пусты\n" -" -i, --indent запісваць .po файл, выкарыстоўвываючы водступы\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict запісваць .po файл, жорстка адпавядаючы\n" -" пагадненьню Uniforum\n" -" -w, --width=ШЫРЫНЯ вызначыць шырыню старонкі вываду\n" -" --no-wrap не разбураць доўгія радкі, даўжэйшыя за\n" -" шырыню старонкі вываду, на некалькі радкоў\n" -" -s, --sort-output ствараць упарадкаваны вывад\n" -" -F, --sort-by-file упарадкаваць вывад па шляху да файла\n" -" --omit-header не запісваць загаловак з `msgid \"\"' запісам\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" - -#: src/xgettext.c:879 + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "стандартны ўвод" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: увага: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2385,11 +2652,785 @@ msgstr "" "gettext(\"\") вяртае загаловак зь\n" "метададзенымі, а ня пусты радок.\n" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "невядомая мова `%s'" +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Файл уводу:\n" +#~ " INPUTFILE уваходзячы PO файл\n" +#~ " -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку " +#~ "ўваходзячых\n" +#~ " файлаў\n" +#~ "Калі ўваходзячы файл не зададзен, ці замест яго -, чытае стандартны " +#~ "ўвод.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Файл вываду:\n" +#~ " -o, --output-file=ФАЙЛ запісваць вывад у зададзены файл\n" +#~ "Вынікі запісваюцца ў стандартны вывад, калі ймя файла для вываду не\n" +#~ "зададзена, ці замест яго -.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "Выбар паведамленьня:\n" +#~ " --translated пакідае перакладзеныя, прымае " +#~ "неперакладзеныя\n" +#~ " паведамленьні\n" +#~ " --untranslated пакідае неперакладзеныя, прымае " +#~ "перакладзеныя\n" +#~ " паведамленьні\n" +#~ " --no-fuzzy прымае паведамленьні, азначаныя як 'fuzzy'\n" +#~ " --only-fuzzy пакідае паведамленьні, азначаныя як " +#~ "'fuzzy'\n" +#~ " --no-obsolete прымае састарэлыя #~ паведамленьні\n" +#~ " --only-obsolete пакіде састарэлыя #~ паведамленьні\n" + +#, fuzzy +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "Узьдзеяньне на атрыбуты:\n" +#~ " --set-fuzzy усталёўвае ўсе паведамленьні як 'fuzzy'\n" +#~ " --clear-fuzzy усталёўвае ўсе паведамленьні як не 'fuzzy'\n" +#~ " --set-obsolete усталёўвае ўсе паведамленьні як састарэлыя\n" +#~ " --clear-obsolete усталёўвае ўсе паведамленьні як " +#~ "несастарэлыя\n" +#~ " --fuzzy тое, што й --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete тое, што й --only-obsolete --clear-" +#~ "obsolete\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Дэталі вываду:\n" +#~ " -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў " +#~ "вывадзе;\n" +#~ " без дадатковых сімвалаў\n" +#~ " --force-po запісваць PO-файл, нават калі ён пусты\n" +#~ " -i, --indent запісваць .po файл, выкарыстоўвываючы " +#~ "водступы\n" +#~ " --no-location не запісваць радкі '#: імя_файла:радок'\n" +#~ " -n, --add-location ствараць радкі '#: імя_файла:радок' радкі " +#~ "(гэты\n" +#~ " выбар выкарыстоўваецца паўмаўчаньню)\n" +#~ " --strict запісваць .po файл, жорстка адпавядаючы\n" +#~ " пагадненьню Uniforum\n" +#~ " -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" +#~ " -F, --sort-by-file упарадкоўваць вывад па месцазнаходжаньню " +#~ "файла\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Файл уводу:\n" +#~ " УВАХОДЗЯЧЫ_ФАЙЛ ... уваходзячыя файлы\n" +#~ " -f, --files-from=ФАЙЛ атрымліваць сьпіс уваходзячый файлаў з " +#~ "ФАЙЛА\n" +#~ " -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку " +#~ "ўваходзячых\n" +#~ " файлаў\n" +#~ "Калі файл уводу гэта -, чытаецца стандартны ўвод.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Файл вываду:\n" +#~ " -o, --output-file=ФАЙЛ запісваць вывад у азначаны файл\n" +#~ "Вынікі запісваюцца ў стандартны вывад, калі імя файла не зададзена, ці\n" +#~ "замест яго -.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Выбар паведамленьняў:\n" +#~ " -<, --less-than=ЛІК друкаваць паведамленьні, якія маюць " +#~ "меньш\n" +#~ " вызначэньняў, чым зададзена; звычайна " +#~ "не\n" +#~ " абмежавана\n" +#~ " ->, --more-than=ЛІК друкаваць паведамленьні, якія маюць " +#~ "больш\n" +#~ " вызначэньняў, чым зададзена; звычайна 0\n" +#~ " -u, --unique скарачэньне для --less-than=2, толькі\n" +#~ " непаўторныя паведамленьні будуць " +#~ "надрукаваны\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Дэталі вываду:\n" +#~ " -e, --no-escape не выкарыстоўваць ESC-пасьлядоўнасьці ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць ESC пасьлядоўнасьці ў " +#~ "вывадзе,\n" +#~ " без дадатковых сімвалаў\n" +#~ " --force-po запісваць PO-файл, нават калі ён пусты\n" +#~ " -i, --indent запісваць .po файл, выкарыстоўвываючы " +#~ "водступы\n" +#~ " --no-location не запісваць радкі '#: імя_файла:радок'\n" +#~ " -n, --add-location ствараць радкі '#: імя_файла:радок' " +#~ "радкі (гэты\n" +#~ " выбар выкарыстоўваецца паўмаўчаньню)\n" +#~ " --strict запісваць .po файл, жорстка адпавядаючы\n" +#~ " пагадненьню Uniforum\n" +#~ " -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" +#~ " -F, --sort-by-file упарадкоўваць вывад па месцазнаходжаньню " +#~ "файла\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Інфармацыйны вывад:\n" +#~ " -h, --help адлюстроўвае гэту дапамогу і выходзіць\n" +#~ " -V, --version выводзіць зьвесткі аб версіі і " +#~ "выходзіць\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "Файл уводу:\n" +#~ " def.po пераклады\n" +#~ " ref.pot спасылкі на крыніцы\n" +#~ " -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку файлаў " +#~ "ўводу\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Выбар паведамленьняў:\n" +#~ " -<, --less-than=ЛІК друкаваць паведамленьні, якія маюць " +#~ "меньш\n" +#~ " вызначэньняў, чым зададзена; звычайна " +#~ "не\n" +#~ " абмежавана\n" +#~ " ->, --more-than=ЛІК друкаваць паведамленьні, якія маюць " +#~ "больш\n" +#~ " вызначэньняў, чым зададзена; звычайна 1\n" +#~ " -u, --unique скарачэньне для --less-than=2, толькі\n" +#~ " непаўторныя паведамленьні будуць " +#~ "надрукаваны\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Падрабязнасьці вываду:n -e, --no-escape не выкарыстоўваць " +#~ "Сі ESC-пасьлядоўнасьці ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць Сі ESC-пасьлядоўнасьці ў\n" +#~ " вывадзе замест дадатковых сымбаляў\n" +#~ " --force-po запісваць PO файл, нават калі ён " +#~ "парожні\n" +#~ " -i, --indent запісваць .po f файл з водступамі\n" +#~ " --no-location не запісваць радкі '#: імя_файла:радок'\n" +#~ " -n, --add-location ствараць радкі '#: імя_файла:радок' " +#~ "радкі\n" +#~ " (гэты выбар выкарыстоўваецца " +#~ "неабумоўленым)\n" +#~ " --strict запісваць .po файл, жорстка адпавядаючы\n" +#~ " пагадненьню Uniforum\n" +#~ " -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" +#~ " --no-wrap не разьбіваць радкі доўгіх " +#~ "паведамленьняў,\n" +#~ " даўжэйшыя за шырыню старонкі вываду, на\n" +#~ " некалькі радкоў\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" +#~ " -F, --sort-by-file упарадкоўваць вывад па шляху да файлу\n" +#~ " --omit-header не запісваць загаловак з `msgid \"\"' " +#~ "запісам\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Дэталі вываду:\n" +#~ " -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў " +#~ "вывадзе,\n" +#~ " без дадатковых сімвалаў\n" +#~ " --force-po запісваць PO-файл, нават калі ён пусты\n" +#~ " -i, --indent запісваць .po файл, выкарыстоўвываючы " +#~ "водступы\n" +#~ " --no-location не запісваць радкі '#: імя_файла:радок'\n" +#~ " -n, --add-location ствараць радкі '#: імя_файла:радок' радкі " +#~ "(гэты\n" +#~ " выбар выкарыстоўваецца паўмаўчаньню)\n" +#~ " --strict запісваць .po файл, жорстка адпавядаючы\n" +#~ " пагадненьню Uniforum\n" +#~ " -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" +#~ " -F, --sort-by-file упарадкоўваць вывад па месцазнаходжаньню " +#~ "файла\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Уваходзячы файл:\n" +#~ " INPUTFILE уваходзячы PO ці POT файл\n" +#~ " -D, --directory=ДЫРЭКТОРЫЯ дадае ДЫРЭКТОРЫю ў сьпіс пошуку файлаў " +#~ "уводу\n" +#~ "Калі файл уводу гэта -, чытаецца стандартны ўвод.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Уваходзячы файл:\n" +#~ " -i, --input=INPUTFILE PO файл уводу\n" +#~ " -D, --directory=ДЫРЭКТОРЫЯ дадае ДЫРЭКТОРЫю ў сьпіс пошуку файлаў " +#~ "уводу\n" +#~ "Калі файл уводу незададзены, ці замест яго -, чытаецца стандартны ўвод.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "Карысныя ВЫБАРы-ФІЛЬТАРУ, калі ФІЛЬТАР гэта 'sed':\n" +#~ " -e, --expression=SCRIPT дадае SCRIPT да загадаў, якія будуць " +#~ "выкананы\n" +#~ " -f, --file=SCRIPTFILE дадае зьмест SCRIPTFILE да загадаў, якія " +#~ "будуць\n" +#~ " выкананы\n" +#~ " -n, --quiet, --silent выключаць аўтаматычны друк прыклада\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Дэталі вываду:\n" +#~ " --no-escape не выкарыстоўваць Сі ESC-пасьлядоўнасьці ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць Сі ESC-пасьлядоўнасьці ў\n" +#~ " вывадзе, замест дадатковых сымбаляў\n" +#~ " --force-po запісваць PO файл, нават калі парожні\n" +#~ " --indent вывад з водступамі\n" +#~ " --keep-header трымаць загаловак нязьменным, не " +#~ "фільтраваць\n" +#~ " --no-location адкідваць радкі '#: файл:радок'\n" +#~ " --add-location дабаўляць радкі '#: файл:радок' (звычайна)\n" +#~ " --strict вывад жорстка адпаведае Uniforum\n" +#~ " -w, --width=ЛІК усталяваць шырыню вываду\n" +#~ " --no-wrap не разьбіваць доўгія радкі з " +#~ "паведамлеьнямі,\n" +#~ "\n" +#~ " даўжэй чым шырыня, на некалькі радкоў\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" +#~ " -F, --sort-by-file упарадкоўваць вывад па назьве файла\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Файл уводу:\n" +#~ " файл.po ... файл уводу\n" +#~ " -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку " +#~ "ўваходзячых\n" +#~ " файлаў\n" +#~ "Калі замест назвы файлу уводу -, чытаецца стандартны ўвод.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "Рэжым дзеяньня:\n" +#~ " -j, --java Java рэжым: ствараць Java ResourceBundle " +#~ "кляс\n" +#~ " --java2 як --java, але ў дачыненьні Java2 (JDK 1.2 " +#~ "ці\n" +#~ " больш позьняя вэрсія)\n" +#~ " --tcl Tcl рэжым: ствараць tcl/msgcat .msg файл\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Файл вываду:\n" +#~ " -o, --output-file=ФАЙЛ запісвае вывад у зададзены файл\n" +#~ " --strict уключае рэжым жорсткага адпавяданьня " +#~ "Uniforum\n" +#~ "Калі замест назвы файла вываду -, вывад запісваецца ў стандартны вывад.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Файл вываду ў рэжыме Tcl:\n" +#~ " -l, --locale=МЯСЦОВАСЬЦЬ назва мясцовасьці, ці мова ці мова_КРАІНА\n" +#~ " -d ДЫРЭКТОРЫЯ асноўная дырэкторыя .msg каталёгаў " +#~ "паведамленьняў\n" +#~ "Выбары -l і -d абавязковыя. Файл .msg запісваецца ў зададзеную " +#~ "дырэкторыю.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "Успрыняцьце файла ўводу:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Інфармацыйны вывад:\n" +#~ " -h, --help адлюстроўвае гэтую дапамогу й выходзіць\n" +#~ " -V, --version выводзіць зьвесткі аб вэрсіі й выходзіць\n" +#~ " --statistics друкуе статыстыку аб перакладах\n" +#~ " -v, --verbose павялічвае ўзровень шматслоўнасьці\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Дэталі вываду:\n" +#~ " -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў " +#~ "вывадзе,\n" +#~ " без дадатковых сімвалаў\n" +#~ " --force-po запісваць PO-файл, нават калі ён пусты\n" +#~ " -i, --indent запісваць .po файл, выкарыстоўвываючы " +#~ "водступы\n" +#~ " --no-location не запісваць радкі '#: імя_файла:радок'\n" +#~ " -n, --add-location ствараць радкі '#: імя_файла:радок' радкі " +#~ "(гэты\n" +#~ " выбар выкарыстоўваецца паўмаўчаньню)\n" +#~ " --strict запісваць .po файл, жорстка адпавядаючы\n" +#~ " пагадненьню Uniforum\n" +#~ " -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" +#~ " -F, --sort-by-file упарадкоўваць вывад па месцазнаходжаньню " +#~ "файла\n" + +#, fuzzy +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "Файл уводу:\n" +#~ " def.po пераклады\n" +#~ " ref.pot спасылкі на крыніцы\n" +#~ " -D, --directory=ДЫРЭКТОРЫЯ дадаць ДЫРЭКТОРЫЮ ў сьпіс пошуку файлаў " +#~ "ўводу\n" + +#, fuzzy +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "Зьмяняльнікі:\n" +#~ " -m, --multi-domain прымяніць ref.pot для кожнага маёнтка з def." +#~ "po\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Інфармацыйны вывад:\n" +#~ " -h, --help адлюстроўвае дапамогу й выходзіць\n" +#~ " -V, --version выводзіць зьвесткі аб версіі й выходзіць\n" +#~ " -v, --verbose павялічыць узровень шматслоўнасьці\n" +#~ " -q, --quiet, --silent забараняць паказальнікі дасягненьняў\n" + +#, fuzzy +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Файл вываду ў рэжыме Tcl:\n" +#~ " -l, --locale=МЯСЦОВАСЬЦЬ назва мясцовасьці, ці мова ці мова_КРАІНА\n" +#~ " -d ДЫРЭКТОРЫЯ асноўная дырэкторыя .msg каталёгаў " +#~ "паведамленьняў\n" +#~ "Выбары -l і -d абавязковыя. Файл .msg запісваецца ў зададзеную " +#~ "дырэкторыю.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Дэталі вываду:\n" +#~ " -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў " +#~ "вывадзе,\n" +#~ " без дадатковых сімвалаў\n" +#~ " --force-po запісваць PO-файл, нават калі ён пусты\n" +#~ " -i, --indent запісваць .po файл, выкарыстоўвываючы " +#~ "водступы\n" +#~ " --strict запісваць .po файл, жорстка адпавядаючы\n" +#~ " пагадненьню Uniforum\n" +#~ " -w, --width=ШЫРЫНЯ усталёўваць шырыню вывадзімай старонкі\n" +#~ " --no-wrap не разьбіваць доўгія радкі з паведамлеьнямі,\n" +#~ "\n" +#~ " даўжэй чым шырыня, на некалькі радкоў\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Інфармацыйны вывад:\n" +#~ " -h, --help адлюстроўвае дапамогу й выходзіць\n" +#~ " -V, --version выводзіць зьвесткі аб версіі й выходзіць\n" +#~ " -v, --verbose павялічыць узровень шматслоўнасьці\n" + +#, fuzzy +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Файл вываду:\n" +#~ " -o, --output-file=ФАЙЛ запісвае вывад у зададзены файл\n" +#~ " --strict уключае рэжым жорсткага адпавяданьня " +#~ "Uniforum\n" +#~ "Калі замест назвы файла вываду -, вывад запісваецца ў стандартны вывад.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Асаблівасьці для C/C++:\n" +#~ " -a, --extract-all атрымаць усе радкі\n" +#~ " -k, --keyword[=СЛОВА] дадатковае ключавое слова для пошуку " +#~ "(бяз\n" +#~ " СЛОВА азначае не выкарыстоўваць " +#~ "неабумоўленыя\n" +#~ " ключавыя словы\n" +#~ " -T, --trigraphs разумець ANSI C трыграфы пры ўводзе\n" +#~ " --debug больш падрабязны вынік разбору радка\n" +#~ " фарматаваньня\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Дэталі вываду:\n" +#~ " -e, --no-escape не выкарыстоўваць Сі ESC-паслядоўнасьці " +#~ "ў\n" +#~ " вывадзе (звычайна)\n" +#~ " -E, --escape выкарыстоўваць Сі ESC пасьлядоўнасьці ў\n" +#~ " вывадзе, без дадатковых сымбаляў\n" +#~ " --force-po запісваць PO-файл, нават калі ён пусты\n" +#~ " -i, --indent запісваць .po файл, выкарыстоўвываючы " +#~ "водступы\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict запісваць .po файл, жорстка адпавядаючы\n" +#~ " пагадненьню Uniforum\n" +#~ " -w, --width=ШЫРЫНЯ вызначыць шырыню старонкі вываду\n" +#~ " --no-wrap не разбураць доўгія радкі, даўжэйшыя за\n" +#~ " шырыню старонкі вываду, на некалькі " +#~ "радкоў\n" +#~ " -s, --sort-output ствараць упарадкаваны вывад\n" +#~ " -F, --sort-by-file упарадкаваць вывад па шляху да файла\n" +#~ " --omit-header не запісваць загаловак з `msgid \"\"' " +#~ "запісам\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" + #~ msgid "missing arguments" #~ msgstr "прапушчаны аргумэнты" diff --git a/gettext-tools/po/ca.po b/gettext-tools/po/ca.po index accb5bce2..c8d30e743 100644 --- a/gettext-tools/po/ca.po +++ b/gettext-tools/po/ca.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gettext-tools 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 19:40+0100\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-02-22 17:55+0100\n" "Last-Translator: Ivan Vilata i Balaguer \n" "Language-Team: Catalan \n" @@ -29,9 +29,9 @@ msgstr "l'argument msgid "Valid arguments are:" msgstr "Els arguments vàlids són:" -#: lib/copy-file.c:64 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:896 src/xgettext.c:909 -#: src/xgettext.c:919 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "error en obrir «%s» per llegir" @@ -56,13 +56,14 @@ msgstr "error en escriure msgid "error after reading \"%s\"" msgstr "error després d'haver llegit «%s»" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Error desconegut del sistema" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "el subprocés «%s» ha fallat" @@ -122,7 +123,7 @@ msgstr "%s: l'opci msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: l'opció «-W %s» no admet arguments\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" "no s'ha trobat cap compil·lador de Java, instal·leu «gcj» o establiu «$JAVAC»" @@ -132,29 +133,30 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" "no s'ha trobat cap màquina virtual Java, instal·leu «gij» o establiu «$JAVA»" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "la memòria s'ha exhaurit" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "no s'ha pogut crear una canonada" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "subprocés «%s»" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "el subprocés «%s» ha rebut el senyal fatal %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" @@ -162,16 +164,16 @@ msgstr "" "no existeix una especificació de format, com en «%2$s», de l'argument %1$u " "en «msgid»" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "no existeix una especificació de format de l'argument %u en «%s»" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" @@ -179,12 +181,131 @@ msgstr "" "les especificacions de format en «msgid» i «%s» de l'argument %u no són les " "mateixes" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "el nombre d'especificacions de format en «msgid» i «%s» no coincideix" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " @@ -193,12 +314,12 @@ msgstr "" "no existeix una especificació de format, com en «%2$s», de l'argument {%1$u} " "en «msgid»" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "no existeix una especificació de format de l'argument {%u} en «%s»" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" @@ -206,18 +327,84 @@ msgstr "" "les especificacions de format en «msgid» i «%s» de l'argument {%u} no són " "les mateixes" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "les especificacions de format en «msgid» i «%s» no són equivalents" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" "les especificacions de format de «%s» no són un subconjunt de les de «msgid»" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -226,7 +413,7 @@ msgstr "" "les especificacions de format de «msgid» necessiten un mapa, les de «%s» una " "tupla" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -235,7 +422,7 @@ msgstr "" "les especificacions de format de «msgid» necessiten una tupla, les de «%s» " "un mapa" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " @@ -244,12 +431,12 @@ msgstr "" "no existeix una especificació de format, com en «%2$s», de l'argument «%1$s» " "en «msgid»" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "no existeix una especificació de format de l'argument «%s» en «%s»" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" @@ -257,11 +444,25 @@ msgstr "" "les especificacions de format en «msgid» i «%s» de l'argument «%s» no són " "les mateixes" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:404 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -273,46 +474,51 @@ msgstr "" "de còpia. No hi ha CAP garantia; ni tan sols de COMERCIABILITAT o\n" "ADEQUACIÓ A UN PROPÒSIT PARTICULAR.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:409 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Escrit per %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "sobren arguments" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:600 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Proveu «%s --help» per obtenir més informació.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Forma d'ús: %s [OPCIÓ]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Mostra el nom d'estació de la màquina.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Format de l'eixida:\n" " -s, --short nom curt de l'estació\n" @@ -320,53 +526,72 @@ msgstr "" " completament qualificat i els àlies\n" " -i, --ip-address adreces corresponents al nom d'estació\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Eixida informativa:\n" " -h, --help mostra aquesta ajuda i ix\n" " -V, --version mostra informació sobre la versió i ix\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:706 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Informeu dels errors a .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "no s'ha pogut obtenir el nom d'estació" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "es permet com a molt un fitxer d'entrada" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:419 -#: src/xgettext.c:423 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "«%s» i «%s» són mútuament excloents" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Forma d'ús: %s [OPCIÓ] [FITXERENTRADA]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -375,140 +600,258 @@ msgstr "" "Filtra els missatges d'un catàleg de traduccions segons els seus atributs,\n" "i manipula aquests atributs.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" "Els arguments obligatoris per les opcions llargues també ho són\n" "per les opcions curtes corresponents.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "no s'ha especificat cap fitxer d'entrada" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "Ubicació del fitxer d'entrada:\n" -" FITXERENTRADA fitxer PO d'entrada\n" -" -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" -" de fitxers d'entrada\n" +" FITXER ... fitxers MO d'entrada\n" "Si no s'especifica cap fitxer d'entrada, o si aquest és «-», es llegirà\n" "l'entrada estàndard.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "Ubicació del fitxer d'eixida:\n" -" -o, --output-file=FITXER escriu l'eixida en el FITXER especificat\n" +" -o, --output-file=FITXER escriu l'eixida en el fitxer PO especificat\n" "Els resultats s'escriuran en l'eixida estàndard si no s'especifica cap\n" "fitxer d'eixida, o si aquest és «-».\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Selecció de missatges:\n" -" --translated manté els missatges traduïts,\n" -" elimina els no traduïts\n" -" --untranslated manté els missatges no traduïts,\n" -" elimina els traduïts\n" -" --no-fuzzy elimina els missatges marcats amb «fuzzy»\n" -" --only-fuzzy manté els missatges marcats amb «fuzzy»\n" -" --no-obsolete elimina els missatges obsolets (#~)\n" -" --only-obsolete manté els missatges obsolets (#~)\n" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Manipulació dels atributs:\n" -" --set-fuzzy estableix «fuzzy» en tots els missatges\n" -" --clear-fuzzy elimina «fuzzy» de tots els missatges\n" -" --set-obsolete fa obsolets tots els missatges\n" -" --clear-obsolete fa no obsolets tots els missatges\n" -" --only-file=FITXER.po només manipula les entrades llistades en el\n" -" FITXER.po indicat\n" -" --ignore-file=FITXER.po només manipula les entrades no llistades en el\n" -" FITXER.po indicat\n" -" --fuzzy sinònim de «--only-fuzzy --clear-fuzzy»\n" -" --obsolete sinònim de «--only-obsolete --clear-obsolete»\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "Detalls de l'eixida:\n" -" -e, --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" -E, --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" -i, --indent genera el fitxer PO usant l'estil indentat\n" -" --no-location no escriu les línies «#: nomfitxer:línia»\n" -" -n, --add-location escriu les línies «#: nomfitxer:línia»\n" -" (per defecte)\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" +" -l, --locale=LL_PP estableix el locale destinació\n" +" --no-translator assumeix que el fitxer PO ha estat generat\n" +" automàticament\n" " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" " --no-wrap no parteix en diverses línies les línies\n" -" de missatge més llargues que l'ample de pàgina\n" -" -s, --sort-output genera una eixida ordenada\n" -" -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" +" de missatge més llargues que l'ample de " +"pàgina\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "s'ha especificat un criteri de selecció impossible (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:605 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Forma d'ús: %s [OPCIÓ] [FITXERENTRADA]...\n" # ivb (2001/12/24) # ivb Aquesta traducció no és completament literal però queda més clar. # ivb Amb «commonality» vol dir «nombre de coincidències». -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -531,122 +874,67 @@ msgstr "" "«--use-first», en el qual cas es treuran del primer fitxer PO que els\n" "definesca. Les posicions de fitxer de tots els fitxers PO s'acumularan.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:621 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Ubicació del fitxer d'entrada:\n" -" FITXERENTRADA ... fitxers d'entrada\n" -" -f, --files-from=FITXER obté la llista de fitxers d'entrada\n" -" del FITXER\n" -" -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" -" de fitxers d'entrada\n" -"Si el fitxer d'entrada és «-» es llegirà l'entrada estàndard.\n" - -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap + +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Ubicació del fitxer d'eixida:\n" -" -o, --output-file=FITXER escriu l'eixida en el FITXER especificat\n" -"Els resultats s'escriuran en l'eixida estàndard si no s'especifica cap\n" -"fitxer d'eixida, o si aquest és «-».\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"Selecció de missatges:\n" -" -<, --less-than=NOMBRE escriu els missatges amb menys definicions\n" -" que les esmentades; per defecte és infinit\n" -" ->, --more-than=NOMBRE escriu els missatges amb més definicions\n" -" que les esmentades; per defecte és 0\n" -" -u, --unique abreviatura de «--less-than=2», fa que\n" -" només s'escriguen els missatges únics\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Detalls de l'eixida:\n" -" -t, --to-code=NOM codificació de l'eixida\n" -" --use-first només usa la primera traducció de cada\n" -" missatge, no mescla diverses traduccions\n" -" -e, --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" -E, --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" -i, --indent genera el fitxer PO usant l'estil indentat\n" -" --no-location no escriu les línies «#: nomfitxer:línia»\n" -" -n, --add-location escriu les línies «#: nomfitxer:línia»\n" -" (per defecte)\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies de\n" -" missatge més llargues que l'ample de pàgina\n" -" -s, --sort-output genera una eixida ordenada\n" -" -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:700 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Eixida informativa:\n" -" -h, --help mostra aquesta ajuda i ix\n" -" -V, --version mostra informació sobre la versió i ix\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "no s'ha especificat cap fitxer d'entrada" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "es necessiten exactament 2 fitxers d'entrada" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Forma d'ús: %s [OPCIÓ] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -664,62 +952,60 @@ msgstr "" "del vostre programa. Quan no es puga trobar una coincidència exacta,\n" "s'usarà una comparació difusa per produir uns diagnòstics millors.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"Ubicació del fitxer d'entrada:\n" -" def.po traduccions\n" -" ref.pot referències al codi font\n" -" -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" -" de fitxers d'entrada\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "Modificadors del funcionament:\n" " -m, --multi-domain aplica «ref.pot» a cadascun dels dominis\n" " de «def.po»\n" -#: src/msgcmp.c:265 src/msgmerge.c:881 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "aquest missatge s'usa però no s'ha definit..." -#: src/msgcmp.c:267 src/msgmerge.c:883 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...però aquesta definició és similar" -#: src/msgcmp.c:272 src/msgmerge.c:910 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "aquest missatge s'usa però no s'ha definit en «%s»" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "avís: aquest missatge no s'usa" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "s'ha trobat %d error fatal" msgstr[1] "s'han trobat %d errors fatals" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "cal que especifiqueu almenys dos fitxers" # ivb (2001/12/24) # ivb Aquesta traducció no és completament literal però queda més clar. # ivb Amb «commonality» vol dir «nombre de coincidències». -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -740,165 +1026,96 @@ msgstr "" "fitxer PO que els definesca. Les posicions de fitxer de tots els fitxers\n" "PO s'acumularan.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"Selecció de missatges:\n" -" -<, --less-than=NOMBRE escriu els missatges amb menys definicions\n" -" que les esmentades; per defecte és infinit\n" -" ->, --more-than=NOMBRE escriu els missatges amb més definicions\n" -" que les esmentades; per defecte és 1\n" -" -u, --unique abreviatura de «--less-than=2», fa que\n" -" només s'escriguen els missatges únics\n" - -#: src/msgcomm.c:363 -#, no-wrap + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Detalls de l'eixida:\n" -" -e, --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" -E, --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" -i, --indent genera el fitxer PO usant l'estil indentat\n" -" --no-location no escriu les línies «#: nomfitxer:línia»\n" -" -n, --add-location escriu les línies «#: nomfitxer:línia»\n" -" (per defecte)\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies de\n" -" missatge més llargues que l'ample de pàgina\n" -" -s, --sort-output genera una eixida ordenada\n" -" -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" -" --omit-header no escriu la capçalera amb l'entrada\n" -" «msgid \"\"»\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" -msgstr "Converteix un catàleg de traduccions a una codificació de caràcters diferent.\n" +msgstr "" +"Converteix un catàleg de traduccions a una codificació de caràcters " +"diferent.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "la conversió ha fallat" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Objectiu de la conversió:\n" " -t, --to-code=NOM codificació de l'eixida\n" "La codificació per defecte és la del locale actual.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Detalls de l'eixida:\n" -" -e, --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" -E, --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" -i, --indent genera el fitxer PO usant l'estil indentat\n" -" --no-location no escriu les línies «#: nomfitxer:línia»\n" -" --add-location escriu les línies «#: nomfitxer:línia»\n" -" (per defecte)\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies de\n" -" missatge més llargues que l'ample de pàgina\n" -" -s, --sort-output genera una eixida ordenada\n" -" -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" - -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:440 + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "no s'ha especificat cap fitxer d'entrada" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "es necessita exactament un fitxer d'entrada" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Forma d'ús: %s [OPCIÓ] FITXERENTRADA\n" -#: src/msgen.c:242 -#, no-wrap +#: src/msgen.c:252 +#, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "Crea un catàleg de traducció en anglés. El fitxer d'entrada és el fitxer\n" "PO més recent en anglés, o un fitxer plantilla PO (generat normalment amb\n" "«xgettext»). S'assignarà a les entrades no traduïdes una traducció igual\n" "al «msgid» corresponent, i es marcaran amb «fuzzy».\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"Ubicació del fitxer d'entrada:\n" -" FITXERENTRADA fitxer PO o POT d'entrada\n" -" -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" -" de fitxers d'entrada\n" -"Si el fitxer d'entrada és «-» es llegirà l'entrada estàndard.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "manca el nom d'una ordre" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Forma d'ús: %s [OPCIÓ] ORDRE [OPCIÓ-D'ORDRE]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -913,7 +1130,7 @@ msgstr "" "eixida esdevé l'eixida de «msgexec». El codi de retorn de «msgexec» és el\n" "màxim de totes les invocacions del programa.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -922,50 +1139,37 @@ msgstr "" "L'ordre incorporada «0» genera la traducció seguida d'un octet nul.\n" "L'eixida de «msgexec 0» és adequada com a entrada per «xargs -0».\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"Ubicació del fitxer d'entrada:\n" -" -i, --input=FITXERENTRADA fitxer PO d'entrada\n" -" -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" -" de fitxers d'entrada\n" -"Si no s'especifica cap fitxer d'entrada, o si aquest és «-», es llegirà\n" -"l'entrada estàndard.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "no s'ha pogut escriure en l'eixida estàndard" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "no s'ha pogut escriure al subprocés «%s»" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "manca el nom d'un filtre" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "cal que especifiqueu almenys un guió de «sed»" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Forma d'ús: %s [OPCIÓ] FILTRE [OPCIÓ-DE-FILTRE]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Aplica un filtre a cada traducció d'un catàleg de traduccions.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -973,74 +1177,61 @@ msgstr "" "El FILTRE pot ser qualsevol programa que llija una traducció de l'entrada\n" "estàndard i n'escriga una de modificada en l'eixida estàndard.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"OPCIONS-DE-FILTRE útils quan el FILTRE és «sed»:\n" -" -e, --expression=GUIÓ afig el GUIÓ a les ordres a executar\n" -" -f, --file=FITXERGUIÓ afig els continguts del FITXERGUIÓ a les\n" -" ordres a executar\n" -" -n, --quiet, --silent evita la impressió automàtica de l'espai\n" -" del patró\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Detalls de l'eixida:\n" -" --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" -E, --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" --indent genera el fitxer PO usant l'estil indentat\n" -" --no-location no escriu les línies «#: nomfitxer:línia»\n" -" --add-location escriu les línies «#: nomfitxer:línia»\n" -" (per defecte)\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies\n" -" de missatge més llargues que l'ample de pàgina\n" -" -s, --sort-output genera una eixida ordenada\n" -" -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "no s'ha pogut establir una E/S no blocadora amb el subprocés «%s»" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "la comunicació amb el subprocés «%s» ha fallat" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "no s'ha pogut llegir del subprocés «%s»" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "el subprocés «%s» ha terminat amb codi d'eixida %d" @@ -1050,20 +1241,20 @@ msgstr "el subproc msgid "the argument to %s should be a single punctuation character" msgstr "cal que l'argument de «%s» siga un sol caràcter de puntuació" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "«%s» necessita una especificació «-d directori»" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "«%s» necessita una especificació «-l locale»" # ivb (2001/12/26) # ivb Els «%s» es refereixen a opcions -> femení. -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "«%s» només és vàlida amb «%s»" @@ -1075,159 +1266,180 @@ msgstr " msgid "%s is only valid with %s or %s" msgstr "«%s» només és vàlida amb «%s» o «%s»" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d missatge traduït" msgstr[1] "%d missatges traduïts" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d traducció difusa" msgstr[1] ", %d traduccions difuses" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d missatge no traduït" msgstr[1] ", %d missatges no traduïts" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Forma d'ús: %s [OPCIÓ] nomfitxer.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" "Genera un catàleg binari de missatges partint d'una descripció textual\n" "de traduccions.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"Els arguments obligatoris per les opcions llargues també ho són per les\n" +"opcions curtes corresponents. El mateix ocorre amb els arguments opcionals.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"Ubicació del fitxer d'entrada:\n" -" nomfitxer.po ... fitxers d'entrada\n" -" -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" -" de fitxers d'entrada\n" -"Si el fitxer d'entrada és «-» es llegirà l'entrada estàndard.\n" -# ivb (2002/03/14) -# ivb Amb «tcl/msgcat» es refereix al paquet «msgcat» de Tcl. #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -"Mode de funcionament:\n" -" -j, --java mode Java: genera una classe Java\n" -" «ResourceBundle»\n" -" --java2 com «--java», però assumeix Java2\n" -" (JDK 1.2 o superior)\n" -" --tcl mode Tcl: genera un fitxer «.msg»\n" -" de «msgcat» de Tcl\n" - -#: src/msgfmt.c:533 -#, no-wrap + +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Ubicació del fitxer d'eixida:\n" -" -o, --output-file=FITXER escriu l'eixida en el FITXER especificat\n" -" --strict habilita el mode Uniforum estricte\n" -"Si el fitxer d'eixida és «-» s'escriurà en l'eixida estàndard.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" "Ubicació del fitxer d'eixida en el mode Java:\n" " -r, --resource=RECURS nom del recurs\n" -" -l, --locale=LOCALE nom del locale, bé «llengua» o bé «llengua_PAÍS»\n" +" -l, --locale=LOCALE nom del locale, bé «llengua» o bé " +"«llengua_PAÍS»\n" " -d DIRECTORI directori base de la jeraquia de directoris\n" " de les classes\n" "El nom de la classe es construeix afegint el nom del locale al nom del\n" -"recurs, separats per un caràcter de subratllat. L'opció «-d» és obligatòria.\n" +"recurs, separats per un caràcter de subratllat. L'opció «-d» és " +"obligatòria.\n" "La classe s'escriurà sota el directori especificat.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Ubicació del fitxer d'eixida en el mode Tcl:\n" -" -l, --locale=LOCALE nom del locale, bé «llengua» o bé «llengua_PAÍS»\n" -" -d DIRECTORI directori base dels catàlegs de missatges «.msg»\n" -"Les opcions «-l» i «-d» són obligatòries. El fitxer «.msg» s'escriurà sota\n" -"el directori especificat.\n" -# ivb (2001/12/26) -# ivb Segons la documentació, quan ací diu «language» es refereix a un de -# ivb programació. -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -"Interpretació del fitxer d'entrada:\n" -" -c, --check realitza totes les comprovacions implicades per\n" -" les opcions «--check-format», «--check-header»\n" -" i «--check-domain»\n" -" --check-format comprova les cadenes de format depenents del\n" -" llenguatge de programació\n" -" --check-header verifica la presència i contingut de l'entrada\n" -" de capçalera\n" -" --check-domain comprova si hi ha conflictes entre les\n" -" directives «domain» i l'opció «--output-file»\n" -" -C, --check-compatibility comprova si el «msgfmt» GNU es comporta com el\n" -" «msgfmt» X/Open\n" -" --check-accelerators[=CARÀCTER] comprova la presència d'acceleradors\n" -" de teclat per ítems de menú\n" -" -f, --use-fuzzy usa en l'eixida les entrades «fuzzy»\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Detalls de l'eixida:\n" " -a, --alignment=NÚMERO alinea les cadenes a NÚMERO octets\n" @@ -1235,44 +1447,48 @@ msgstr "" " --no-hash fa que el fitxer binari no incloga\n" " la taula de dispersió\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Detalls de l'eixida:\n" +" -a, --alignment=NÚMERO alinea les cadenes a NÚMERO octets\n" +" (%d per defecte)\n" +" --no-hash fa que el fitxer binari no incloga\n" +" la taula de dispersió\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -"Eixida informativa:\n" -" -h, --help mostra aquesta ajuda i ix\n" -" -V, --version mostra informació sobre la versió i ix\n" -" --statistics mostra estadístiques sobre les traduccions\n" -" -v, --verbose augmenta el nivell de descripció\n" # ivb (2002/01/03) # ivb En aquestes frases, tant «nplurals» com «plural» es refereixen a # ivb variables del camp «Plural-Forms» de la capçalera. -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "l'expressió de «plural» pot produir valors negatius" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" "«nplurals» és %lu, però l'expressió de «plural» pot produir valors de fins %" "lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "l'expressió de «plural» pot produir una divisió entre zero" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "l'expressió de «plural» pot produir un desbordament enter" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" @@ -1280,39 +1496,39 @@ msgstr "" "l'expressió de «plural» pot produir excepcions aritmètiques, possiblement " "divisions entre zero" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "el catàleg de missatges té traduccions amb forma plural..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...però l'atribut «plural=EXPRESSIÓ» manca en l'entrada de capçalera" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...però l'atribut «nplurals=ENTER» manca en l'entrada de capçalera" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "el valor d'«nplurals» no és vàlid" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "l'expressió de «plural» no és vàlida" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "«nplurals» és %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...però alguns missatges només tenen una forma plural" msgstr[1] "...però alguns missatges només tenen %lu formes plurals" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" @@ -1322,12 +1538,12 @@ msgstr[1] "...per # ivb (2002/03/14) # ivb El «%s» es refereix a un idioma, i tot el missatge recomana usar una # ivb entrada de capçalera «Plural-Forms:». -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Proveu d'usar açò, vàlid per a l'idioma %s:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1335,132 +1551,124 @@ msgstr "" "el catàleg de missatges té traduccions amb forma plural, però hi manca una " "entrada de capçalera amb «Plural-Forms: nplurals=ENTER; plural=EXPRESSIÓ;»" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "ambdues entrades «msgid» i «msgid_plural» no comencen per «\\n»" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "ambdues entrades «msgid» i «msgstr[%u]» no comencen per «\\n»" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "ambdues entrades «msgid» i «msgstr» no comencen per «\\n»" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "ambdues entrades «msgid» i «msgid_plural» no acaben en «\\n»" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "ambdues entrades «msgid» i «msgstr[%u]» no acaben en «\\n»" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "ambdues entrades «msgid» i «msgstr» no acaben en «\\n»" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "el maneig de plurals és una extensió del «gettext» GNU" # ivb (2002/12/16) # ivb Ací el segon «%s» és el nom d'un llenguatge de programació. -#: src/msgfmt.c:1159 -#, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +#: src/msgfmt.c:1178 +#, fuzzy, c-format +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "la de «%s» no és una cadena de format vàlida en %s, la de «msgid» sí" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "manca la marca d'accelerador de teclat «%c» en «msgstr»" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "sobren marques d'accelerador de teclat «%c» en «msgstr»" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "manca el camp de capçalera «%s» en la capçalera\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "cal que el camp de capçalera «%s» comence en l'inici de la línia\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "" "alguns camps de la capçalera encara tenen els valors inicials per defecte\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "el camp «%s» encara té el valor inicial per defecte\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "avís: la capçalera del fitxer PO manca o no és vàlida\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "avís: la conversió del joc de caràcters no funcionarà\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "avís: la capçalera del fitxer PO està marcada amb «fuzzy»\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "avís: les versions antigues de «msgfmt» ho indicaran com un error\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "el nom de domini «%s» no és adequat com a nom de fitxer" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "el nom de domini «%s» no és adequat com a nom de fitxer: se n'usarà un prefix" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "es descarta la directiva «domain %s»" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "la definició del missatge és duplicada" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...aquesta és la ubicació de la primera definició" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "es descarta l'entrada «msgstr» buida" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "es descarta l'entrada «msgstr» difusa" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: avís: el fitxer font conté una traducció difusa" -#: src/msggrep.c:383 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "no es pot usar l'opció «%c» abans d'especificar «K» o «T»" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1469,8 +1677,8 @@ msgstr "" "Extrau d'un catàleg de traduccions tots els missatges que concorden amb\n" "un patró especificat o que pertanyen a uns fitxers font indicats.\n" -#: src/msggrep.c:431 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1493,6 +1701,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1530,46 +1739,24 @@ msgstr "" " -f, --file=FITXER obté el PATRÓ del FITXER\n" " -i, --ignore-case no diferencia entre majúscules i minúscules\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Detalls de l'eixida:\n" -" --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" --indent genera el fitxer PO usant l'estil indentat\n" -" --no-location no escriu les línies «#: nomfitxer:línia»\n" -" --add-location escriu les línies «#: nomfitxer:línia»\n" -" (per defecte)\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies\n" -" de missatge més llargues que l'ample de pàgina\n" -" --sort-output genera una eixida ordenada\n" -" --sort-by-file ordena l'eixida pels noms de fitxer\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "no s'ha pogut escriure al subprocés «grep»" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1579,7 +1766,7 @@ msgstr "" "de la vostra variable d'entorn «LANG», tal i com es descriu en el fitxer\n" "«ABOUT-NLS». Açò cal per a que pugueu comprovar les vostres traduccions.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1590,12 +1777,12 @@ msgstr "" "Per favor, especifiqueu el locale amb l'opció «--locale»\n" "o el fitxer PO d'eixida amb l'opció «--output-file».\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "S'ha creat «%s».\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1604,12 +1791,15 @@ msgstr "" "Crea un fitxer PO nou, inicialitzant-ne la metainformació amb valors\n" "de l'entorn de la usuària/l'usuari.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "Ubicació del fitxer d'entrada:\n" @@ -1618,11 +1808,13 @@ msgstr "" "directori actual. Si el fitxer d'entrada és «-» es llegirà l'entrada\n" "estàndard.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" @@ -1632,25 +1824,16 @@ msgstr "" "«--locale» o de la configuració de locale de la usuària/l'usuari.\n" "Si és «-», els resultats s'escriuran en l'eixida estàndard.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Detalls de l'eixida:\n" -" -l, --locale=LL_PP estableix el locale destinació\n" -" --no-translator assumeix que el fitxer PO ha estat generat\n" -" automàticament\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies\n" -" de missatge més llargues que l'ample de pàgina\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1658,11 +1841,11 @@ msgstr "" "S'ha trobat més d'un fitxer «.pot».\n" "Per favor, especifiqueu el fitxer POT d'entrada amb l'opció «--input».\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "error en llegir el directori actual" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1670,23 +1853,23 @@ msgstr "" "No s'ha trobat cap fitxer «.pot» en el directori actual.\n" "Per favor, especifiqueu el fitxer POT d'entrada amb l'opció «--input».\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "ha fallat fdopen()" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "error d'E/S amb el subprocés «%s»" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "el subprocés «%s» ha fallat amb codi d'eixida %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1702,22 +1885,22 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Traduccions al català del paquet «%s»" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "el joc de caràcters actual, «%s», no és un nom portable de codificació" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "el fitxer d'entrada conté dos jocs de caràcters distints, «%s» i «%s»" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" @@ -1725,7 +1908,7 @@ msgstr "" "el fitxer d'entrada «%s» no conté una entrada de capçalera amb una " "especificació de joc de caràcters" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1734,21 +1917,21 @@ msgstr "" "el domini «%s» del fitxer d'entrada «%s» no conté una entrada de capçalera " "amb una especificació de joc de caràcters" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" "el joc de caràcters destinació, «%s», no és un nom portable de codificació" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 -#: src/xgettext.c:1259 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "avís: " # ivb (2002/01/07) # ivb Em sembla que açò és «no-wrap». -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1759,7 +1942,7 @@ msgstr "" # ivb (2002/01/07) # ivb Em sembla que açò és «no-wrap». -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1835,17 +2018,17 @@ msgstr "" "L'eixida de «%s» pot ser incorrecta.\n" "Una solució possible és establir «LC_ALL=C».\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "la conversió ha fallat" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" "el fitxer d'entrada no conté una entrada de capçalera amb una especificació " "de joc de caràcters" -#: src/msgl-iconv.c:353 src/xgettext.c:494 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1854,7 +2037,7 @@ msgstr "" "No es pot convertir de «%s» en «%s». «%s» es basa en iconv(), i iconv() no " "suporta aquesta conversió." -#: src/msgl-iconv.c:370 src/xgettext.c:501 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1863,11 +2046,11 @@ msgstr "" "No es pot convertir de «%s» en «%s». %s es basa en iconv(). Aquesta versió " "ha estat construïda sense iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "tipus de còpia de seguretat" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1891,28 +2074,23 @@ msgstr "" "de fitxer seran preservades. Quan no es puga trobar una coincidència\n" "exacta s'usarà una comparació difusa per produir uns resultats millors.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Ubicació del fitxer d'entrada:\n" -" def.po traduccions referents al codi font antic\n" -" ref.pot referències al nou codi font\n" -" -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" -" de fitxers d'entrada\n" -" -C, --compendium=FITXER biblioteca addicional de traduccions de\n" -" missatges, es pot especificar diverses voltes\n" - -#: src/msgmerge.c:423 -#, no-wrap + +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" @@ -1920,21 +2098,32 @@ msgstr "" " -U, --update actualitza «def.po»,\n" " no fa res si «def.po» ja es troba actualitzat\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "Ubicació del fitxer d'eixida en el mode d'actualització:\n" "El resultat es torna a escriure en «def.po».\n" @@ -1951,38 +2140,26 @@ msgstr "" "El sufix de còpia de seguretat és «~», a no ser que s'establesca amb\n" "«--suffix» o amb la variable d'entorn «SIMPLE_BACKUP_SUFFIX».\n" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Modificadors del funcionament:\n" -" -m, --multi-domain aplica «ref.pot» a cadascun dels dominis\n" -" de «def.po»\n" -" -N, --no-fuzzy-matching no usa la comparació difusa\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -"Eixida informativa:\n" -" -h, --help mostra aquesta ajuda i ix\n" -" -V, --version mostra informació sobre la versió i ix\n" -" -v, --verbose augmenta el nivell de descripció\n" -" -q, --quiet, --silent no mostra els indicadors de progrés\n" -#: src/msgmerge.c:963 +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr "" + +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "cal definir formes plurals d'aquest missatge" -#: src/msgmerge.c:986 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "no s'han de definir formes plurals d'aquest missatge" @@ -1990,7 +2167,7 @@ msgstr "no s'han de definir formes plurals d'aquest missatge" # ivb Pense que «aprofitades» queda més clar que «mesclades»; es refereix # ivb a les traduccions obteses directament de «def.po». El primer «%s» és # ivb (o no) una nova línia. -#: src/msgmerge.c:1148 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -2001,33 +2178,32 @@ msgstr "" # ivb (2002/01/08) # ivb Indica el final del processament, el gènere i nombre no són importants. -#: src/msgmerge.c:1156 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " fet.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "«%s» i els noms explícits de fitxer són mútuament excloents" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Forma d'ús: %s [OPCIÓ] [FITXER]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" -msgstr "Converteix un catàleg binari de missatges en un fitxer PO d'estil Uniforum.\n" +msgstr "" +"Converteix un catàleg binari de missatges en un fitxer PO d'estil Uniforum.\n" # ivb (2002/03/14) # ivb Amb «tcl/msgcat» es refereix al paquet «msgcat» de Tcl. -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "Mode de funcionament:\n" " -j, --java mode Java: l'entrada és una classe Java\n" @@ -2035,25 +2211,32 @@ msgstr "" " --tcl mode Tcl: l'entrada és un fitxer «.msg»\n" " de «msgcat» de Tcl\n" -#: src/msgunfmt.c:341 -#, no-wrap +# ivb (2002/03/14) +# ivb Amb «tcl/msgcat» es refereix al paquet «msgcat» de Tcl. +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Ubicació del fitxer d'entrada:\n" -" FITXER ... fitxers MO d'entrada\n" -"Si no s'especifica cap fitxer d'entrada, o si aquest és «-», es llegirà\n" -"l'entrada estàndard.\n" +"Mode de funcionament:\n" +" -j, --java mode Java: l'entrada és una classe Java\n" +" «ResourceBundle»\n" +" --tcl mode Tcl: l'entrada és un fitxer «.msg»\n" +" de «msgcat» de Tcl\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "Ubicació del fitxer d'entrada en el mode Java:\n" @@ -2063,76 +2246,25 @@ msgstr "" "recurs, separats per un caràcter de subratllat. La classe es trobarà\n" "fent servir el camí a les classes, «CLASSPATH».\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"Ubicació del fitxer d'entrada en el mode Tcl:\n" -" -l, --locale=LOCALE nom del locale, bé «llengua» o bé «llengua_PAÍS»\n" -" -d DIRECTORI directori base dels catàlegs de missatges «.msg»\n" -"Les opcions «-l» i «-d» són obligatòries. El fitxer «.msg» es cercarà sota\n" -"el directori especificat.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"Ubicació del fitxer d'eixida:\n" -" -o, --output-file=FITXER escriu l'eixida en el fitxer PO especificat\n" -"Els resultats s'escriuran en l'eixida estàndard si no s'especifica cap\n" -"fitxer d'eixida, o si aquest és «-».\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Detalls de l'eixida:\n" -" -e, --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" -E, --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" -i, --indent genera el fitxer PO usant l'estil indentat\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies\n" -" de missatge més llargues que l'ample de pàgina\n" -" -s, --sort-output genera una eixida ordenada\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Eixida informativa:\n" -" -h, --help mostra aquesta ajuda i ix\n" -" -V, --version mostra informació sobre la versió i ix\n" -" -v, --verbose augmenta el nivell de descripció\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2155,19 +2287,22 @@ msgstr "" "de fitxer s'acumularan. Quan useu l'opció «--unique» es descartaran\n" "els duplicats.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "Selecció de missatges:\n" " -d, --repeated només mostra els duplicats\n" " -u, --unique només mostra els missatges únics,\n" " descartant els duplicats\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2247,73 +2382,73 @@ msgstr "" "La conversió dels missatges al joc de caràcters de\n" "la usuària/l'usuari no funcionarà.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "l'ús de «#~» no és consistent" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "manca la secció «msgstr[]»" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "manca la secció «msgid_plural»" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "manca la secció «msgstr»" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "la primera forma plural no té índex zero" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "la forma plural té un índex incorrecte" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "hi ha massa errors, avortant" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "la seqüència multioctet no és vàlida" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "hi ha una seqüència multioctet incompleta al final del fitxer" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "hi ha una seqüència multioctet incompleta al final de la línia" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "ha fallat iconv()" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "error en llegir «%s»" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "la paraula clau «%s» no és coneguda" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "la seqüència de control no és vàlida" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "s'ha trobat el final de fitxer emmig d'una cadena" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "s'ha trobat un final de línia emmig d'una cadena" @@ -2339,12 +2474,24 @@ msgstr "el fitxer msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "el fitxer «%s» conté una cadena no terminada en nul, en %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "aquest fitxer no ha de contenir directives «domain»" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "la definició del missatge és duplicada" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...aquesta és la ubicació de la primera definició" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "calen dos arguments" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Forma d'ús: %s [OPCIÓ] URL FITXER\n" @@ -2381,7 +2528,7 @@ msgstr " msgid "failed to create \"%s\"" msgstr "no s'ha pogut crear «%s»" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2393,12 +2540,12 @@ msgstr "" "no s'ha pogut compil·lar la classe Java, per favor useu «--verbose» o " "establiu «$JAVAC»" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "error en obrir «%s» per escriure" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" @@ -2406,7 +2553,7 @@ msgstr "" "els missatges internacionalitzats no han de contenir la seqüència d'escapada " "«%c»" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2420,12 +2567,25 @@ msgstr "" "«msgid» purament ASCII en comptes d'aquest.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "no s'ha pogut crear el fitxer d'eixida «%s»" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "eixida estàndard" @@ -2440,7 +2600,7 @@ msgstr "" "però el format de catàleg de missatges de Tcl no suporta\n" "el tractament de plurals\n" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: avís: la cadena no està terminada" @@ -2476,11 +2636,7 @@ msgstr "" "No es suporta el llenguatge «glade». «%s» fa ús d'«expat».\n" "Aquesta versió ha estat construïda sense «expat».\n" -#: src/x-po.c:85 src/xgettext.c:718 -msgid "this file may not contain domain directives" -msgstr "aquest fitxer no ha de contenir directives «domain»" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: avís: el caràcter Unicode no és vàlid" @@ -2500,61 +2656,52 @@ msgstr "%s:%d: manca un n msgid "%s:%d: invalid string expression" msgstr "%s:%d: l'expressió de cadena no és vàlida" -#: src/xgettext.c:427 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "no es pot usar «--join-existing» quan s'escriu en l'eixida estàndard" -#: src/xgettext.c:432 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "«xgettext» no funciona sense paraules clau que cercar" -#: src/xgettext.c:559 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" "avís: l'extensió «%2$s» del fitxer «%1$s» no és coneguda; es provarà amb «C»" -#: src/xgettext.c:610 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Extreu les cadenes traduïbles dels fitxers d'entrada especificats.\n" -#: src/xgettext.c:615 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Els arguments obligatoris per les opcions llargues també ho són per les\n" -"opcions curtes corresponents. El mateix ocorre amb els arguments opcionals.\n" -#: src/xgettext.c:630 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Ubicació del fitxer d'eixida:\n" -" -d, --default-domain=NOM usa «NOM.po» com a eixida\n" -" (en comptes de «messages.po»)\n" -" -o, --output=FITXER escriu l'eixida en el FITXER especificat\n" -" -p, --output-dir=DIRECTORI els fitxers d'eixida es desaran en\n" -" el DIRECTORI\n" -"Si el fitxer d'eixida és «-» s'escriurà en l'eixida estàndard.\n" - -#: src/xgettext.c:639 -#, no-wrap + +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "no s'ha especificat cap fitxer d'entrada" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "Selecció del llenguatge del fitxer d'entrada:\n" " -L, --language=NOM reconeix el llenguatge especificat\n" @@ -2565,115 +2712,114 @@ msgstr "" "Per defecte s'endevina el llenguatge fent servir l'extensió del nom\n" "del fitxer d'entrada.\n" -#: src/xgettext.c:650 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 +msgid "" +"By default the language is guessed depending on the input file name " +"extension.\n" +msgstr "" + +#: src/xgettext.c:661 +#, fuzzy msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" "Interpretació del fitxer d'entrada:\n" " --from-code=NOM codificació dels fitxers d'entrada\n" " (excepte per Python, Tcl i Glade)\n" "Per defecte s'assumeix que els fitxers d'entrada estan codificats en ASCII.\n" -#: src/xgettext.c:658 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "Mode de funcionament:\n" " -j, --join-existing uneix els missatges extrets amb els del\n" " fitxer existent\n" " -x, --exclude-file=FITXER.po no extreu les entrades que ja es troben\n" " en el FITXER.po\n" -" -c, --add-comments[=ETIQUETA] inclou els blocs de comentaris amb l'ETIQUETA\n" +" -c, --add-comments[=ETIQUETA] inclou els blocs de comentaris amb " +"l'ETIQUETA\n" " (o aquells que precedeixen les línies amb\n" " una paraula clau) en el fitxer d'eixida\n" -#: src/xgettext.c:667 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Opcions específiques pels llenguatges C i C++:\n" -" -a, --extract-all extreu totes les cadenes\n" -" -k, --keyword[=PARAULA] paraula clau addicional a cercar (si no\n" -" s'especifica la PARAULA no s'usaran les\n" -" paraules clau per defecte)\n" -" -T, --trigraphs entén els trígrafs del C ANSI en l'entrada\n" -" --debug escriu unes marques més detallades\n" -" de reconeixement de cadenes de format\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" -#: src/xgettext.c:677 -#, no-wrap +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" msgstr "" -"Detalls de l'eixida:\n" -" -e, --no-escape no usa seqüències d'escapada de C en l'eixida\n" -" (per defecte)\n" -" -E, --escape usa seqüències d'escapada de C en l'eixida\n" -" en comptes de caràcters estesos\n" -" --force-po genera el fitxer PO encara que siga buit\n" -" -i, --indent genera el fitxer PO usant l'estil indentat\n" -" --no-location no escriu les línies «#: nomfitxer:línia»\n" -" -n, --add-location escriu les línies «#: nomfitxer:línia»\n" -" (per defecte)\n" -" --strict genera un fitxer PO estrictament conforme\n" -" amb Uniforum\n" -" -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" -" --no-wrap no parteix en diverses línies les línies de\n" -" missatge més llargues que l'ample de pàgina\n" -" -s, --sort-output genera una eixida ordenada\n" -" -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" -" --omit-header no escriu la capçalera amb l'entrada\n" -" «msgid \"\"»\n" -" --copyright-holder=CADENA estableix en l'eixida la propietària o\n" -" propietari del del copyright\n" -" --foreign-user omet en l'eixida el copyright de la FSF\n" -" per altres usuàries o usuaris\n" -" --msgid-bugs-address=ADREÇA@CORREU indica l'adreça on informar dels\n" -" errors de les cadenes «msgid»\n" -" -m, --msgstr-prefix[=CADENA] usa la CADENA o «» com a prefix de\n" -" les entrades «msgstr»\n" -" -M, --msgstr-suffix[=CADENA] usa la CADENA o «» com a sufix de\n" -" les entrades «msgstr»\n" - -#: src/xgettext.c:887 + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "entrada estàndard" # FIXME: Should be multiline. ivb -#: src/xgettext.c:980 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" @@ -2682,14 +2828,14 @@ msgstr "" "Hi ha una cadena no-ASCII en %s%s.\n" "Per favor, especifiqueu la codificació de l'origen amb «--from-code»." -#: src/xgettext.c:1035 +#: src/xgettext.c:1070 #, c-format msgid "%s%s: warning: " msgstr "%s%s: avís: " # ivb (2002/01/09) # ivb Em sembla que açò és «no-wrap». -#: src/xgettext.c:1037 +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2700,7 +2846,7 @@ msgstr "" "no la cadena buida.\n" # Multilínia. ivb -#: src/xgettext.c:1260 +#: src/xgettext.c:1303 msgid "" "The option --msgid-bugs-address was not specified.\n" "If you are using a `Makevars' file, please specify\n" @@ -2712,7 +2858,808 @@ msgstr "" "la variable MSGID_BUGS_ADDRESS; altrament especifiqueu una opció\n" "«--msgid-bugs-address» en la línia d'ordres.\n" -#: src/xgettext.c:1430 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "el llenguatge «%s» no és conegut" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada:\n" +#~ " FITXERENTRADA fitxer PO d'entrada\n" +#~ " -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" +#~ " de fitxers d'entrada\n" +#~ "Si no s'especifica cap fitxer d'entrada, o si aquest és «-», es llegirà\n" +#~ "l'entrada estàndard.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'eixida:\n" +#~ " -o, --output-file=FITXER escriu l'eixida en el FITXER especificat\n" +#~ "Els resultats s'escriuran en l'eixida estàndard si no s'especifica cap\n" +#~ "fitxer d'eixida, o si aquest és «-».\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "Selecció de missatges:\n" +#~ " --translated manté els missatges traduïts,\n" +#~ " elimina els no traduïts\n" +#~ " --untranslated manté els missatges no traduïts,\n" +#~ " elimina els traduïts\n" +#~ " --no-fuzzy elimina els missatges marcats amb «fuzzy»\n" +#~ " --only-fuzzy manté els missatges marcats amb «fuzzy»\n" +#~ " --no-obsolete elimina els missatges obsolets (#~)\n" +#~ " --only-obsolete manté els missatges obsolets (#~)\n" + +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "Manipulació dels atributs:\n" +#~ " --set-fuzzy estableix «fuzzy» en tots els missatges\n" +#~ " --clear-fuzzy elimina «fuzzy» de tots els missatges\n" +#~ " --set-obsolete fa obsolets tots els missatges\n" +#~ " --clear-obsolete fa no obsolets tots els missatges\n" +#~ " --only-file=FITXER.po només manipula les entrades llistades en " +#~ "el\n" +#~ " FITXER.po indicat\n" +#~ " --ignore-file=FITXER.po només manipula les entrades no llistades en " +#~ "el\n" +#~ " FITXER.po indicat\n" +#~ " --fuzzy sinònim de «--only-fuzzy --clear-fuzzy»\n" +#~ " --obsolete sinònim de «--only-obsolete --clear-" +#~ "obsolete»\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " -e, --no-escape no usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " (per defecte)\n" +#~ " -E, --escape usa seqüències d'escapada de C en l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga buit\n" +#~ " -i, --indent genera el fitxer PO usant l'estil indentat\n" +#~ " --no-location no escriu les línies «#: nomfitxer:línia»\n" +#~ " -n, --add-location escriu les línies «#: nomfitxer:línia»\n" +#~ " (per defecte)\n" +#~ " --strict genera un fitxer PO estrictament conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies\n" +#~ " de missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " -s, --sort-output genera una eixida ordenada\n" +#~ " -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada:\n" +#~ " FITXERENTRADA ... fitxers d'entrada\n" +#~ " -f, --files-from=FITXER obté la llista de fitxers d'entrada\n" +#~ " del FITXER\n" +#~ " -D, --directory=DIRECTORI afig el DIRECTORI a la llista de " +#~ "recerca\n" +#~ " de fitxers d'entrada\n" +#~ "Si el fitxer d'entrada és «-» es llegirà l'entrada estàndard.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'eixida:\n" +#~ " -o, --output-file=FITXER escriu l'eixida en el FITXER " +#~ "especificat\n" +#~ "Els resultats s'escriuran en l'eixida estàndard si no s'especifica cap\n" +#~ "fitxer d'eixida, o si aquest és «-».\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Selecció de missatges:\n" +#~ " -<, --less-than=NOMBRE escriu els missatges amb menys " +#~ "definicions\n" +#~ " que les esmentades; per defecte és " +#~ "infinit\n" +#~ " ->, --more-than=NOMBRE escriu els missatges amb més " +#~ "definicions\n" +#~ " que les esmentades; per defecte és 0\n" +#~ " -u, --unique abreviatura de «--less-than=2», fa que\n" +#~ " només s'escriguen els missatges únics\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " -t, --to-code=NOM codificació de l'eixida\n" +#~ " --use-first només usa la primera traducció de cada\n" +#~ " missatge, no mescla diverses " +#~ "traduccions\n" +#~ " -e, --no-escape no usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " (per defecte)\n" +#~ " -E, --escape usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga " +#~ "buit\n" +#~ " -i, --indent genera el fitxer PO usant l'estil " +#~ "indentat\n" +#~ " --no-location no escriu les línies «#: nomfitxer:" +#~ "línia»\n" +#~ " -n, --add-location escriu les línies «#: nomfitxer:línia»\n" +#~ " (per defecte)\n" +#~ " --strict genera un fitxer PO estrictament " +#~ "conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies " +#~ "de\n" +#~ " missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " -s, --sort-output genera una eixida ordenada\n" +#~ " -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Eixida informativa:\n" +#~ " -h, --help mostra aquesta ajuda i ix\n" +#~ " -V, --version mostra informació sobre la versió i ix\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada:\n" +#~ " def.po traduccions\n" +#~ " ref.pot referències al codi font\n" +#~ " -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" +#~ " de fitxers d'entrada\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Selecció de missatges:\n" +#~ " -<, --less-than=NOMBRE escriu els missatges amb menys " +#~ "definicions\n" +#~ " que les esmentades; per defecte és " +#~ "infinit\n" +#~ " ->, --more-than=NOMBRE escriu els missatges amb més " +#~ "definicions\n" +#~ " que les esmentades; per defecte és 1\n" +#~ " -u, --unique abreviatura de «--less-than=2», fa que\n" +#~ " només s'escriguen els missatges únics\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " -e, --no-escape no usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " (per defecte)\n" +#~ " -E, --escape usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga " +#~ "buit\n" +#~ " -i, --indent genera el fitxer PO usant l'estil " +#~ "indentat\n" +#~ " --no-location no escriu les línies «#: nomfitxer:" +#~ "línia»\n" +#~ " -n, --add-location escriu les línies «#: nomfitxer:línia»\n" +#~ " (per defecte)\n" +#~ " --strict genera un fitxer PO estrictament " +#~ "conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies " +#~ "de\n" +#~ " missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " -s, --sort-output genera una eixida ordenada\n" +#~ " -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" +#~ " --omit-header no escriu la capçalera amb l'entrada\n" +#~ " «msgid \"\"»\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " -e, --no-escape no usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " (per defecte)\n" +#~ " -E, --escape usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga " +#~ "buit\n" +#~ " -i, --indent genera el fitxer PO usant l'estil " +#~ "indentat\n" +#~ " --no-location no escriu les línies «#: nomfitxer:" +#~ "línia»\n" +#~ " --add-location escriu les línies «#: nomfitxer:línia»\n" +#~ " (per defecte)\n" +#~ " --strict genera un fitxer PO estrictament " +#~ "conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies " +#~ "de\n" +#~ " missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " -s, --sort-output genera una eixida ordenada\n" +#~ " -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada:\n" +#~ " FITXERENTRADA fitxer PO o POT d'entrada\n" +#~ " -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" +#~ " de fitxers d'entrada\n" +#~ "Si el fitxer d'entrada és «-» es llegirà l'entrada estàndard.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada:\n" +#~ " -i, --input=FITXERENTRADA fitxer PO d'entrada\n" +#~ " -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" +#~ " de fitxers d'entrada\n" +#~ "Si no s'especifica cap fitxer d'entrada, o si aquest és «-», es llegirà\n" +#~ "l'entrada estàndard.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "OPCIONS-DE-FILTRE útils quan el FILTRE és «sed»:\n" +#~ " -e, --expression=GUIÓ afig el GUIÓ a les ordres a executar\n" +#~ " -f, --file=FITXERGUIÓ afig els continguts del FITXERGUIÓ a les\n" +#~ " ordres a executar\n" +#~ " -n, --quiet, --silent evita la impressió automàtica de l'espai\n" +#~ " del patró\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " --no-escape no usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " (per defecte)\n" +#~ " -E, --escape usa seqüències d'escapada de C en l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga buit\n" +#~ " --indent genera el fitxer PO usant l'estil indentat\n" +#~ " --no-location no escriu les línies «#: nomfitxer:línia»\n" +#~ " --add-location escriu les línies «#: nomfitxer:línia»\n" +#~ " (per defecte)\n" +#~ " --strict genera un fitxer PO estrictament conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies\n" +#~ " de missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " -s, --sort-output genera una eixida ordenada\n" +#~ " -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada:\n" +#~ " nomfitxer.po ... fitxers d'entrada\n" +#~ " -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" +#~ " de fitxers d'entrada\n" +#~ "Si el fitxer d'entrada és «-» es llegirà l'entrada estàndard.\n" + +# ivb (2002/03/14) +# ivb Amb «tcl/msgcat» es refereix al paquet «msgcat» de Tcl. +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "Mode de funcionament:\n" +#~ " -j, --java mode Java: genera una classe Java\n" +#~ " «ResourceBundle»\n" +#~ " --java2 com «--java», però assumeix Java2\n" +#~ " (JDK 1.2 o superior)\n" +#~ " --tcl mode Tcl: genera un fitxer «.msg»\n" +#~ " de «msgcat» de Tcl\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'eixida:\n" +#~ " -o, --output-file=FITXER escriu l'eixida en el FITXER especificat\n" +#~ " --strict habilita el mode Uniforum estricte\n" +#~ "Si el fitxer d'eixida és «-» s'escriurà en l'eixida estàndard.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'eixida en el mode Tcl:\n" +#~ " -l, --locale=LOCALE nom del locale, bé «llengua» o bé " +#~ "«llengua_PAÍS»\n" +#~ " -d DIRECTORI directori base dels catàlegs de missatges «." +#~ "msg»\n" +#~ "Les opcions «-l» i «-d» són obligatòries. El fitxer «.msg» s'escriurà " +#~ "sota\n" +#~ "el directori especificat.\n" + +# ivb (2001/12/26) +# ivb Segons la documentació, quan ací diu «language» es refereix a un de +# ivb programació. +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "Interpretació del fitxer d'entrada:\n" +#~ " -c, --check realitza totes les comprovacions implicades " +#~ "per\n" +#~ " les opcions «--check-format», «--check-" +#~ "header»\n" +#~ " i «--check-domain»\n" +#~ " --check-format comprova les cadenes de format depenents " +#~ "del\n" +#~ " llenguatge de programació\n" +#~ " --check-header verifica la presència i contingut de " +#~ "l'entrada\n" +#~ " de capçalera\n" +#~ " --check-domain comprova si hi ha conflictes entre les\n" +#~ " directives «domain» i l'opció «--output-" +#~ "file»\n" +#~ " -C, --check-compatibility comprova si el «msgfmt» GNU es comporta com " +#~ "el\n" +#~ " «msgfmt» X/Open\n" +#~ " --check-accelerators[=CARÀCTER] comprova la presència " +#~ "d'acceleradors\n" +#~ " de teclat per ítems de menú\n" +#~ " -f, --use-fuzzy usa en l'eixida les entrades «fuzzy»\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Eixida informativa:\n" +#~ " -h, --help mostra aquesta ajuda i ix\n" +#~ " -V, --version mostra informació sobre la versió i ix\n" +#~ " --statistics mostra estadístiques sobre les traduccions\n" +#~ " -v, --verbose augmenta el nivell de descripció\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " --no-escape no usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " (per defecte)\n" +#~ " --escape usa seqüències d'escapada de C en l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga buit\n" +#~ " --indent genera el fitxer PO usant l'estil indentat\n" +#~ " --no-location no escriu les línies «#: nomfitxer:línia»\n" +#~ " --add-location escriu les línies «#: nomfitxer:línia»\n" +#~ " (per defecte)\n" +#~ " --strict genera un fitxer PO estrictament conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies\n" +#~ " de missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " --sort-output genera una eixida ordenada\n" +#~ " --sort-by-file ordena l'eixida pels noms de fitxer\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada:\n" +#~ " def.po traduccions referents al codi font antic\n" +#~ " ref.pot referències al nou codi font\n" +#~ " -D, --directory=DIRECTORI afig el DIRECTORI a la llista de recerca\n" +#~ " de fitxers d'entrada\n" +#~ " -C, --compendium=FITXER biblioteca addicional de traduccions de\n" +#~ " missatges, es pot especificar diverses " +#~ "voltes\n" + +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "Modificadors del funcionament:\n" +#~ " -m, --multi-domain aplica «ref.pot» a cadascun dels dominis\n" +#~ " de «def.po»\n" +#~ " -N, --no-fuzzy-matching no usa la comparació difusa\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Eixida informativa:\n" +#~ " -h, --help mostra aquesta ajuda i ix\n" +#~ " -V, --version mostra informació sobre la versió i ix\n" +#~ " -v, --verbose augmenta el nivell de descripció\n" +#~ " -q, --quiet, --silent no mostra els indicadors de progrés\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'entrada en el mode Tcl:\n" +#~ " -l, --locale=LOCALE nom del locale, bé «llengua» o bé " +#~ "«llengua_PAÍS»\n" +#~ " -d DIRECTORI directori base dels catàlegs de missatges «." +#~ "msg»\n" +#~ "Les opcions «-l» i «-d» són obligatòries. El fitxer «.msg» es cercarà " +#~ "sota\n" +#~ "el directori especificat.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " -e, --no-escape no usa seqüències d'escapada de C en l'eixida\n" +#~ " (per defecte)\n" +#~ " -E, --escape usa seqüències d'escapada de C en l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga buit\n" +#~ " -i, --indent genera el fitxer PO usant l'estil indentat\n" +#~ " --strict genera un fitxer PO estrictament conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies\n" +#~ " de missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " -s, --sort-output genera una eixida ordenada\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Eixida informativa:\n" +#~ " -h, --help mostra aquesta ajuda i ix\n" +#~ " -V, --version mostra informació sobre la versió i ix\n" +#~ " -v, --verbose augmenta el nivell de descripció\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Ubicació del fitxer d'eixida:\n" +#~ " -d, --default-domain=NOM usa «NOM.po» com a eixida\n" +#~ " (en comptes de «messages.po»)\n" +#~ " -o, --output=FITXER escriu l'eixida en el FITXER " +#~ "especificat\n" +#~ " -p, --output-dir=DIRECTORI els fitxers d'eixida es desaran en\n" +#~ " el DIRECTORI\n" +#~ "Si el fitxer d'eixida és «-» s'escriurà en l'eixida estàndard.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Opcions específiques pels llenguatges C i C++:\n" +#~ " -a, --extract-all extreu totes les cadenes\n" +#~ " -k, --keyword[=PARAULA] paraula clau addicional a cercar (si no\n" +#~ " s'especifica la PARAULA no s'usaran les\n" +#~ " paraules clau per defecte)\n" +#~ " -T, --trigraphs entén els trígrafs del C ANSI en " +#~ "l'entrada\n" +#~ " --debug escriu unes marques més detallades\n" +#~ " de reconeixement de cadenes de format\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Detalls de l'eixida:\n" +#~ " -e, --no-escape no usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " (per defecte)\n" +#~ " -E, --escape usa seqüències d'escapada de C en " +#~ "l'eixida\n" +#~ " en comptes de caràcters estesos\n" +#~ " --force-po genera el fitxer PO encara que siga " +#~ "buit\n" +#~ " -i, --indent genera el fitxer PO usant l'estil " +#~ "indentat\n" +#~ " --no-location no escriu les línies «#: nomfitxer:" +#~ "línia»\n" +#~ " -n, --add-location escriu les línies «#: nomfitxer:línia»\n" +#~ " (per defecte)\n" +#~ " --strict genera un fitxer PO estrictament " +#~ "conforme\n" +#~ " amb Uniforum\n" +#~ " -w, --width=NÚMERO estableix l'ample de pàgina de l'eixida\n" +#~ " --no-wrap no parteix en diverses línies les línies " +#~ "de\n" +#~ " missatge més llargues que l'ample de " +#~ "pàgina\n" +#~ " -s, --sort-output genera una eixida ordenada\n" +#~ " -F, --sort-by-file ordena l'eixida pels noms de fitxer\n" +#~ " --omit-header no escriu la capçalera amb l'entrada\n" +#~ " «msgid \"\"»\n" +#~ " --copyright-holder=CADENA estableix en l'eixida la propietària o\n" +#~ " propietari del del copyright\n" +#~ " --foreign-user omet en l'eixida el copyright de la FSF\n" +#~ " per altres usuàries o usuaris\n" +#~ " --msgid-bugs-address=ADREÇA@CORREU indica l'adreça on informar " +#~ "dels\n" +#~ " errors de les cadenes «msgid»\n" +#~ " -m, --msgstr-prefix[=CADENA] usa la CADENA o «» com a prefix de\n" +#~ " les entrades «msgstr»\n" +#~ " -M, --msgstr-suffix[=CADENA] usa la CADENA o «» com a sufix de\n" +#~ " les entrades «msgstr»\n" diff --git a/gettext-tools/po/cs.po b/gettext-tools/po/cs.po index 8482c6950..dad6f9e42 100644 --- a/gettext-tools/po/cs.po +++ b/gettext-tools/po/cs.po @@ -12,7 +12,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.38\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2001-08-18 15:22+0200\n" "Last-Translator: Vladimir Michl \n" "Language-Team: Czech \n" @@ -38,45 +39,46 @@ msgstr "" # src/msgunfmt.c:357 src/po-lex.c:74 src/xget-lex.c:159 src/xget-lex.c:174 # src/xget-lex.c:191 src/xgettext.c:616 -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "chyba pøi otevírání souboru \"%s\" pro ètení" # src/msgfmt.c:321 -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "chyba pøi otevírání souboru \"%s\" pro zápis" # src/msgunfmt.c:266 src/msgunfmt.c:330 src/po-lex.c:185 src/xget-lex.c:254 -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "chyba pøi ètení \"%s\"" # src/message.c:1182 -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "chyba pøi zápisu do souboru \"%s\"" # src/msgunfmt.c:266 src/msgunfmt.c:330 src/po-lex.c:185 src/xget-lex.c:254 -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "chyba pøi ètení \"%s\"" # lib/error.c:91 -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Neznámá systémová chyba" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -147,7 +149,7 @@ msgstr "%s: p msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: pøepínaè ` -W %s' musí být zadán bez argumentu\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -156,62 +158,182 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" # lib/xmalloc.c:82 -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "pamì» vyèerpána" # src/message.c:1115 -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "výstupní soubor \"%s\" nelze vytvoøit" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" # src/msgfmt.c:909 -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" # src/msgfmt.c:909 -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" # src/msgfmt.c:909 -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + # src/msgfmt.c:892 -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "poèet formátovacích specifikátorù v `msgid' a `msgstr' není stejný" +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + # src/msgfmt.c:909 -#: src/format-java.c:632 +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " @@ -219,32 +341,98 @@ msgid "" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" # src/msgfmt.c:909 -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" # src/msgfmt.c:909 -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + # src/msgfmt.c:892 -#: src/format-lisp.c:3212 +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "poèet formátovacích specifikátorù v `msgid' a `msgstr' není stejný" # src/msgfmt.c:909 -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + # src/msgfmt.c:892 -#: src/format-python.c:375 +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -252,7 +440,7 @@ msgid "" msgstr "poèet formátovacích specifikátorù v `msgid' a `msgstr' není stejný" # src/msgfmt.c:892 -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -260,7 +448,7 @@ msgid "" msgstr "poèet formátovacích specifikátorù v `msgid' a `msgstr' není stejný" # src/msgfmt.c:909 -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " @@ -268,25 +456,39 @@ msgid "" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" # src/msgfmt.c:909 -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" # src/msgfmt.c:909 -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "formátovací specifikátory pro argument %lu nejsou stejné" +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + # src/gettextp.c:134 src/msgcmp.c:144 src/msgfmt.c:257 src/msgmerge.c:251 # src/msgunfmt.c:175 src/xgettext.c:394 -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -300,68 +502,90 @@ msgstr "" # src/gettextp.c:139 src/msgcmp.c:149 src/msgfmt.c:262 src/msgmerge.c:256 # src/msgunfmt.c:180 src/xgettext.c:399 -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Autor: %s\n" # src/gettextp.c:164 -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "pøíli¹ mnoho argumentù" # src/gettextp.c:228 src/msgcmp.c:181 src/msgfmt.c:361 src/msgmerge.c:298 # src/msgunfmt.c:210 src/xgettext.c:532 -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Více informací získáte pøíkazem `%s --help'.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" msgstr "" # src/gettextp.c:255 src/msgcmp.c:200 src/msgfmt.c:386 src/msgmerge.c:331 # src/msgunfmt.c:234 src/xgettext.c:582 -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "" @@ -369,143 +593,288 @@ msgstr "" "(pouze\n" "anglicky), pøipomínky k pøekladu zasílejte na adresu (èesky).\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +# src/msgcmp.c:165 src/msgmerge.c:272 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "jsou po¾adovány pøesnì 2 vstupní soubory" # src/xgettext.c:378 src/xgettext.c:382 -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s a %s se vzájemnì vyluèují" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +# src/msgfmt.c:273 src/xgettext.c:410 +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "vstupní soubor není zadán" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -# src/msgmerge.c:303 -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +# src/msgunfmt.c:215 +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" +"Pou¾ití: %s [PØEPÍNAÈ] [SOUBOR]...\n" +" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +"krátké\n" "formy.\n" "\n" -" -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být zadána\n" -" více ne¾ jednou.\n" -" -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" -" vstupních souborù\n" -" -e, --no-escape zaká¾e C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +" -e, --no-escape nepou¾ívá C escape sekvence ve výstupu " +"(implicitní)\n" +" -E, --escape pou¾ívá C escape sekvence ve výstupu, bez\n" " roz¹íøených znakù\n" " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" " -i, --indent odsazený výstupní styl\n" " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" -" --add-location zaøadí øádky '#: jméno_souboru:øádka' (implicitní)\n" " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" " -V, --version vypí¹e oznaèení verze a ukonèí se\n" " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "zadáno nemo¾né výbìrové kritérium (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -534,121 +903,70 @@ msgstr "" "ponechány, ale pouze z prvního .po souboru, který je definuje. Oznaèení pozic\n" "v souborech bude ponecháno ze v¹ech .po souborù.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví výstupní ¹íøku stránky\n" -" -<, --less-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují ménì ne¾\n" -" ÈÍSLO krát, implicitnì nastaveno nekoneèno\n" -" ->, --more-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují více ne¾\n" -" ÈÍSLO krát, implicitnì nastaveno na 1\n" -"\n" -" Nalezne zprávy, které jsou spoleèné pro dva nebo více zadaných .po souborù.\n" -"Pou¾itím pøepínaèe --more-than, lze dosáhnout zvìt¹ení poètu souborù, kterým\n" -"musí být zpráva spoleèná. Naproti tomu pøepínaè --less-than mù¾e být pou¾it\n" -"k výpisu zpráv, které jsou spoleèné ménì ne¾ zadanému poètu souborù \n" -"(--less-then=2 zpùsobí výpis zpráv, které jsou obsa¾eny pouze v jednom\n" -"souboru). Pøeklady, komentáøe a komentáøe ze zdrojových souborù budou\n" -"ponechány, ale pouze z prvního .po souboru, který je definuje. Oznaèení pozic\n" -"v souborech bude ponecháno ze v¹ech .po souborù.\n" -# src/msgmerge.c:303 -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" -"formy.\n" -"\n" -" -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být zadána\n" -" více ne¾ jednou.\n" -" -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" -" vstupních souborù\n" -" -e, --no-escape zaká¾e C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" -" roz¹íøených znakù\n" -" --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" -" -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" -" -i, --indent odsazený výstupní styl\n" -" -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" -" --add-location zaøadí øádky '#: jméno_souboru:øádka' (implicitní)\n" -" --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" # src/msgcmp.c:160 src/msgmerge.c:267 -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "vstupní soubory nejsou zadány" # src/msgcmp.c:165 src/msgmerge.c:272 -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "jsou po¾adovány pøesnì 2 vstupní soubory" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" # src/msgcmp.c:186 -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -673,45 +991,47 @@ msgstr "" "va¹em programu. Pokud pøi porovnávání nejsou zprávy pøesnì shodné, zkoumá se,\n" "zda si nejsou podobné.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" # src/msgcmp.c:259 src/msgmerge.c:711 -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "tato zpráva je pou¾ita, ale nikoli definována..." # src/msgcmp.c:261 src/msgmerge.c:713 -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...ale tato definice je podobná" # src/msgcmp.c:267 src/msgmerge.c:740 -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "tato zpráva je pou¾ita, ale nikoli definována v %s" # src/msgcmp.c:281 -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "upozornìní: tato zpráva není pou¾ita" # src/po-lex.c:84 -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" @@ -719,11 +1039,11 @@ msgstr[0] "nalezena %d z msgstr[1] "nalezeny %d záva¾né chyby" msgstr[2] "nalezeno %d záva¾ných chyb" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "musí být zadány nejménì dva rùzné soubory" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -751,174 +1071,90 @@ msgstr "" "ponechány, ale pouze z prvního .po souboru, který je definuje. Oznaèení pozic\n" "v souborech bude ponecháno ze v¹ech .po souborù.\n" -#: src/msgcomm.c:351 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví výstupní ¹íøku stránky\n" -" -<, --less-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují ménì ne¾\n" -" ÈÍSLO krát, implicitnì nastaveno nekoneèno\n" -" ->, --more-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují více ne¾\n" -" ÈÍSLO krát, implicitnì nastaveno na 1\n" -"\n" -" Nalezne zprávy, které jsou spoleèné pro dva nebo více zadaných .po souborù.\n" -"Pou¾itím pøepínaèe --more-than, lze dosáhnout zvìt¹ení poètu souborù, kterým\n" -"musí být zpráva spoleèná. Naproti tomu pøepínaè --less-than mù¾e být pou¾it\n" -"k výpisu zpráv, které jsou spoleèné ménì ne¾ zadanému poètu souborù \n" -"(--less-then=2 zpùsobí výpis zpráv, které jsou obsa¾eny pouze v jednom\n" -"souboru). Pøeklady, komentáøe a komentáøe ze zdrojových souborù budou\n" -"ponechány, ale pouze z prvního .po souboru, který je definuje. Oznaèení pozic\n" -"v souborech bude ponecháno ze v¹ech .po souborù.\n" -# src/msgmerge.c:303 -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" -"formy.\n" -"\n" -" -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být zadána\n" -" více ne¾ jednou.\n" -" -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" -" vstupních souborù\n" -" -e, --no-escape zaká¾e C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" -" roz¹íøených znakù\n" -" --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" -" -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" -" -i, --indent odsazený výstupní styl\n" -" -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" -" --add-location zaøadí øádky '#: jméno_souboru:øádka' (implicitní)\n" -" --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -# src/msgmerge.c:303 -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" -"formy.\n" -"\n" -" -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být zadána\n" -" více ne¾ jednou.\n" -" -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" -" vstupních souborù\n" -" -e, --no-escape zaká¾e C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" -" roz¹íøených znakù\n" -" --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" -" -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" -" -i, --indent odsazený výstupní styl\n" -" -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" -" --add-location zaøadí øádky '#: jméno_souboru:øádka' (implicitní)\n" -" --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" # src/msgfmt.c:273 src/xgettext.c:410 -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "vstupní soubor není zadán" # src/msgcmp.c:165 src/msgmerge.c:272 -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "jsou po¾adovány pøesnì 2 vstupní soubory" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" # src/gettextp.c:154 -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "chybí argumenty" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -928,126 +1164,107 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" # src/gettextp.c:154 -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "chybí argumenty" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "musí být zadány nejménì dva rùzné soubory" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -# src/msgmerge.c:303 -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" -"formy.\n" -"\n" -" -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být zadána\n" -" více ne¾ jednou.\n" -" -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" -" vstupních souborù\n" -" -e, --no-escape zaká¾e C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" -" roz¹íøených znakù\n" -" --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" -" -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" -" -i, --indent odsazený výstupní styl\n" -" -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" -" --add-location zaøadí øádky '#: jméno_souboru:øádka' (implicitní)\n" -" --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -1057,18 +1274,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -1079,7 +1296,7 @@ msgid "%s is only valid with %s or %s" msgstr "" # src/msgfmt.c:343 -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" @@ -1088,7 +1305,7 @@ msgstr[1] "%d p msgstr[2] "%d pøelo¾ených zpráv" # src/msgfmt.c:345 -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" @@ -1097,7 +1314,7 @@ msgstr[1] ", %d ne msgstr[2] ", %d neúplných pøekladù" # src/msgfmt.c:347 -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" @@ -1105,151 +1322,213 @@ msgstr[0] ", %d nep msgstr[1] ", %d nepøelo¾ené zprávy" msgstr[2] ", %d nepøelo¾ených zpráv" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" # src/po-lex.c:332 -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "neplatná øídící sekvence" -#: src/msgfmt.c:907 +# src/po-lex.c:332 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "neplatná øídící sekvence" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" # src/msgcmp.c:267 src/msgmerge.c:740 -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" @@ -1258,7 +1537,7 @@ msgstr[1] "tato zpr msgstr[2] "tato zpráva je pou¾ita, ale nikoli definována v %s" # src/msgcmp.c:267 src/msgmerge.c:740 -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" @@ -1266,125 +1545,125 @@ msgstr[0] "tato zpr msgstr[1] "tato zpráva je pou¾ita, ale nikoli definována v %s" msgstr[2] "tato zpráva je pou¾ita, ale nikoli definována v %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" # src/msgfmt.c:870 -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "obì polo¾ky `msgid' a `msgid_plural' nezaèínají '\\n'" # src/msgfmt.c:870 -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "obì polo¾ky `msgid' a `msgstr[%u]' nezaèínají '\\n'" # src/msgfmt.c:870 -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "obì polo¾ky `msgid' a `msgstr' nezaèínají '\\n'" # src/msgfmt.c:878 -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "obì polo¾ky `msgid' a `msgid_plural' nekonèí '\\n'" # src/msgfmt.c:878 -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "obì polo¾ky `msgid' a `msgstr[%u]' nekonèí '\\n'" # src/msgfmt.c:878 -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "obì polo¾ky `msgid' a `msgstr' nekonèí '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" # src/msgfmt.c:561 -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "polo¾ka hlavièky `%s' v hlavièce chybí" # src/msgfmt.c:564 -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "polo¾ka hlavièky `%s' by mìla zaèínat na zaèátku øádku" # src/msgfmt.c:573 -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "nìkteré polo¾ky hlavièky mají stále poèáteèní implicitní hodnotu" # src/msgfmt.c:583 -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "polo¾ka `%s' má stále poèáteèní implicitní hodnotu" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "" "%s: upozornìní: chybí hlavièka PO souboru (neúplná nebo neplatná)\n" "%*s upozornìní: pøevod znakové sady nebude fungovat" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "" "V hlavièce chybí definice znakové sady.\n" "Konverze zpráv do u¾ivatelovy znakové sady není mo¾ná.\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "" "%s: upozornìní: chybí hlavièka PO souboru (neúplná nebo neplatná)\n" "%*s upozornìní: pøevod znakové sady nebude fungovat" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" # src/msgfmt.c:471 -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "jméno domény \"%s\" není vhodné jako jméno souboru" # src/msgfmt.c:476 -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" @@ -1392,50 +1671,40 @@ msgstr "" "pøedpona" # src/msgfmt.c:489 -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "pøíkaz `domain %s' ignorován" -# src/msgcmp.c:355 src/msgfmt.c:628 src/msgmerge.c:490 src/xgettext.c:1061 -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "dvojnásobná definice zprávy" - -# src/msgcmp.c:356 src/msgfmt.c:629 src/msgmerge.c:491 src/xgettext.c:1062 -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...toto je umístìní první definice" - # src/msgfmt.c:517 -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "prázdná polo¾ka `msgstr' ignorována" # src/msgfmt.c:518 -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "neúplná polo¾ka `msgstr' ignorována" # src/msgfmt.c:668 -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: upozornìní: zdrojový soubor obsahuje neúplný pøeklad" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1459,6 +1728,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1466,58 +1736,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -# src/msgmerge.c:303 -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" -"formy.\n" -"\n" -" -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být zadána\n" -" více ne¾ jednou.\n" -" -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" -" vstupních souborù\n" -" -e, --no-escape zaká¾e C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" -" roz¹íøených znakù\n" -" --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" -" -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" -" -i, --indent odsazený výstupní styl\n" -" -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" -" --add-location zaøadí øádky '#: jméno_souboru:øádka' (implicitní)\n" -" --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1525,80 +1768,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap -msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 +msgid "" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1610,52 +1854,53 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 #, fuzzy msgid "warning: " msgstr "%s: upozornìní: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1703,15 +1948,15 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1720,7 +1965,7 @@ msgstr "" "Znaková sada \"%s\" není podporována. %s spoléhá na iconv()\n" "a iconv() \"%s\" nepodporuje.\n" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1729,12 +1974,12 @@ msgstr "" "Znaková sada \"%s\" není podporována. %s spoléhá na iconv().\n" "Tato verze byla kompilována bez iconv().\n" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" # src/msgmerge.c:321 -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1759,74 +2004,82 @@ msgstr "" "základì podobnosti vzorù. Tím je dosa¾eno lep¹ího slití obou katalogù.\n" " Není-li výstupní soubor urèen, výsledek bude vypisován na standardní výstup.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" # src/msgcmp.c:267 src/msgmerge.c:740 -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "tato zpráva je pou¾ita, ale nikoli definována v %s" # src/msgcmp.c:267 src/msgmerge.c:740 -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "tato zpráva je pou¾ita, ale nikoli definována v %s" # src/msgmerge.c:769 -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1836,111 +2089,70 @@ msgstr "" "chybí %ld, zastaralých %ld.\n" # src/msgmerge.c:775 -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " dokonèeno.\n" # src/xgettext.c:378 src/xgettext.c:382 -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s a %s se vzájemnì vyluèují" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -# src/msgunfmt.c:215 -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] [SOUBOR]...\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" -"formy.\n" -"\n" -" -e, --no-escape nepou¾ívá C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ívá C escape sekvence ve výstupu, bez\n" -" roz¹íøených znakù\n" -" --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" -" -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" -" -i, --indent odsazený výstupní styl\n" -" -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1953,15 +2165,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2027,84 +2241,84 @@ msgstr "" "V hlavièce chybí definice znakové sady.\n" "Konverze zpráv do u¾ivatelovy znakové sady není mo¾ná.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "nekonzistentní pou¾ití #~" # ../../src/po-gram.y:83 -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "chybí sekce `msgstr[]'" # ../../src/po-gram.y:83 -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "chybí sekce `msgid_plural'" # ../../src/po-gram.y:83 -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "chybí sekce `msgstr'" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "první mno¾né èíslo má nenulový index" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "mno¾né èíslo má chybný index" # src/po-lex.c:129 src/po-lex.c:168 -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "pøíli¹ mnoho chyb, konèím" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "neplatná víceznaková sekvence" -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "neplatná víceznaková sekvence" -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "neplatná víceznaková sekvence" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" # src/msgunfmt.c:266 src/msgunfmt.c:330 src/po-lex.c:185 src/xget-lex.c:254 -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "chyba pøi ètení \"%s\"" # src/po-lex.c:241 -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "klíèové slovo \"%s\" není známo" # src/po-lex.c:332 -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "neplatná øídící sekvence" # src/po-lex.c:420 -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "konec souboru uprostøed øetìzce" # src/po-lex.c:415 -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "konec øádku uprostøed øetìzce" @@ -2132,14 +2346,29 @@ msgstr "soubor \"%s\" nen msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "soubor \"%s\" obsahuje øetìzec, který není ukonèen NUL" +# src/xgettext.c:658 src/xgettext.c:968 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "tento soubor nemù¾e obsahovat pøíkazy pro doménu" + +# src/msgcmp.c:355 src/msgfmt.c:628 src/msgmerge.c:490 src/xgettext.c:1061 +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "dvojnásobná definice zprávy" + +# src/msgcmp.c:356 src/msgfmt.c:629 src/msgmerge.c:491 src/xgettext.c:1062 +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...toto je umístìní první definice" + # src/gettextp.c:164 -#: src/urlget.c:143 +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "pøíli¹ mnoho argumentù" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -2156,9 +2385,11 @@ msgstr "" msgid "error writing stdout" msgstr "chyba pøi zápisu do souboru \"%s\"" +# src/message.c:1115 #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "výstupní soubor \"%s\" nelze vytvoøit" # src/message.c:1115 #: src/write-java.c:1065 @@ -2177,7 +2408,7 @@ msgid "failed to create \"%s\"" msgstr "" # src/message.c:1182 -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2188,19 +2419,19 @@ msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" # src/msgfmt.c:321 -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "chyba pøi otevírání souboru \"%s\" pro zápis" # src/message.c:784 -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "zprávy katalogu nesmí obsahovat escape sekvenci `\\%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2209,14 +2440,27 @@ msgid "" "%s\n" msgstr "" +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + # src/message.c:1115 -#: src/write-po.c:914 +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "výstupní soubor \"%s\" nelze vytvoøit" # src/message.c:1122 -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standardní výstup" @@ -2228,7 +2472,7 @@ msgid "" msgstr "" # src/xget-lex.c:914 -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: upozornìní: neukonèený øetìzec literálù" @@ -2265,13 +2509,8 @@ msgstr "" "Znaková sada \"%s\" není podporována. %s spoléhá na iconv().\n" "Tato verze byla kompilována bez iconv().\n" -# src/xgettext.c:658 src/xgettext.c:968 -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "tento soubor nemù¾e obsahovat pøíkazy pro doménu" - # src/xget-lex.c:892 -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: upozornìní: neukonèená znaková konstanta" @@ -2286,160 +2525,633 @@ msgstr "" msgid "%s:%d: missing number after #" msgstr "" +# src/xget-lex.c:914 #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: upozornìní: neukonèený øetìzec literálù" # src/xgettext.c:386 -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "--join-existing nemù¾e být pou¾it, je-li výstup zapisován do stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext nemù¾e pracovat bez toho, ani¾ by znal slova, která má hledat" # src/xgettext.c:501 -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "upozornìní: pøípona `%2$s' souboru `%1$s' není známa; zkusím C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +# src/msgfmt.c:273 src/xgettext.c:410 +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "vstupní soubor není zadán" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -# src/msgmerge.c:303 -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" msgstr "" -"Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" -" Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich krátké\n" -"formy.\n" -"\n" -" -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být zadána\n" -" více ne¾ jednou.\n" -" -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" -" vstupních souborù\n" -" -e, --no-escape zaká¾e C escape sekvence ve výstupu (implicitní)\n" -" -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" -" roz¹íøených znakù\n" -" --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" -" -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" -" -i, --indent odsazený výstupní styl\n" -" -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" -" --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" -" --add-location zaøadí øádky '#: jméno_souboru:øádka' (implicitní)\n" -" --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" -" -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" -" -V, --version vypí¹e oznaèení verze a ukonèí se\n" -" -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" # src/xget-lex.c:150 -#: src/xgettext.c:879 +#: src/xgettext.c:922 msgid "standard input" msgstr "standardní vstup" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: upozornìní: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + # src/xgettext.c:1342 -#: src/xgettext.c:1410 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "jazyk `%s' není znám" +# src/msgmerge.c:303 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být " +#~ "zadána\n" +#~ " více ne¾ jednou.\n" +#~ " -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" +#~ " vstupních souborù\n" +#~ " -e, --no-escape zaká¾e C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" +#~ " --add-location zaøadí øádky '#: jméno_souboru:" +#~ "øádka' (implicitní)\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví výstupní ¹íøku stránky\n" +#~ " -<, --less-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují " +#~ "ménì ne¾\n" +#~ " ÈÍSLO krát, implicitnì nastaveno nekoneèno\n" +#~ " ->, --more-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují " +#~ "více ne¾\n" +#~ " ÈÍSLO krát, implicitnì nastaveno na 1\n" +#~ "\n" +#~ " Nalezne zprávy, které jsou spoleèné pro dva nebo více zadaných .po " +#~ "souborù.\n" +#~ "Pou¾itím pøepínaèe --more-than, lze dosáhnout zvìt¹ení poètu souborù, " +#~ "kterým\n" +#~ "musí být zpráva spoleèná. Naproti tomu pøepínaè --less-than mù¾e být " +#~ "pou¾it\n" +#~ "k výpisu zpráv, které jsou spoleèné ménì ne¾ zadanému poètu souborù \n" +#~ "(--less-then=2 zpùsobí výpis zpráv, které jsou obsa¾eny pouze v jednom\n" +#~ "souboru). Pøeklady, komentáøe a komentáøe ze zdrojových souborù budou\n" +#~ "ponechány, ale pouze z prvního .po souboru, který je definuje. Oznaèení " +#~ "pozic\n" +#~ "v souborech bude ponecháno ze v¹ech .po souborù.\n" + +# src/msgmerge.c:303 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být " +#~ "zadána\n" +#~ " více ne¾ jednou.\n" +#~ " -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" +#~ " vstupních souborù\n" +#~ " -e, --no-escape zaká¾e C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" +#~ " --add-location zaøadí øádky '#: jméno_souboru:" +#~ "øádka' (implicitní)\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví výstupní ¹íøku stránky\n" +#~ " -<, --less-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují " +#~ "ménì ne¾\n" +#~ " ÈÍSLO krát, implicitnì nastaveno nekoneèno\n" +#~ " ->, --more-than=ÈÍSLO vypí¹e pouze zprávy, které se vyskytují " +#~ "více ne¾\n" +#~ " ÈÍSLO krát, implicitnì nastaveno na 1\n" +#~ "\n" +#~ " Nalezne zprávy, které jsou spoleèné pro dva nebo více zadaných .po " +#~ "souborù.\n" +#~ "Pou¾itím pøepínaèe --more-than, lze dosáhnout zvìt¹ení poètu souborù, " +#~ "kterým\n" +#~ "musí být zpráva spoleèná. Naproti tomu pøepínaè --less-than mù¾e být " +#~ "pou¾it\n" +#~ "k výpisu zpráv, které jsou spoleèné ménì ne¾ zadanému poètu souborù \n" +#~ "(--less-then=2 zpùsobí výpis zpráv, které jsou obsa¾eny pouze v jednom\n" +#~ "souboru). Pøeklady, komentáøe a komentáøe ze zdrojových souborù budou\n" +#~ "ponechány, ale pouze z prvního .po souboru, který je definuje. Oznaèení " +#~ "pozic\n" +#~ "v souborech bude ponecháno ze v¹ech .po souborù.\n" + +# src/msgmerge.c:303 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být " +#~ "zadána\n" +#~ " více ne¾ jednou.\n" +#~ " -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" +#~ " vstupních souborù\n" +#~ " -e, --no-escape zaká¾e C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" +#~ " --add-location zaøadí øádky '#: jméno_souboru:" +#~ "øádka' (implicitní)\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +# src/msgmerge.c:303 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být " +#~ "zadána\n" +#~ " více ne¾ jednou.\n" +#~ " -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" +#~ " vstupních souborù\n" +#~ " -e, --no-escape zaká¾e C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" +#~ " --add-location zaøadí øádky '#: jméno_souboru:" +#~ "øádka' (implicitní)\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +# src/msgmerge.c:303 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být " +#~ "zadána\n" +#~ " více ne¾ jednou.\n" +#~ " -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" +#~ " vstupních souborù\n" +#~ " -e, --no-escape zaká¾e C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" +#~ " --add-location zaøadí øádky '#: jméno_souboru:" +#~ "øádka' (implicitní)\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +# src/msgmerge.c:303 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být " +#~ "zadána\n" +#~ " více ne¾ jednou.\n" +#~ " -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" +#~ " vstupních souborù\n" +#~ " -e, --no-escape zaká¾e C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" +#~ " --add-location zaøadí øádky '#: jméno_souboru:" +#~ "øádka' (implicitní)\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +# src/msgunfmt.c:215 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] [SOUBOR]...\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -e, --no-escape nepou¾ívá C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ívá C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + +# src/msgmerge.c:303 +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Pou¾ití: %s [PØEPÍNAÈ] def.po ref.po\n" +#~ " Argumenty povinné pro dlouhé pøepínaèe, jsou té¾ povinné pro jejich " +#~ "krátké\n" +#~ "formy.\n" +#~ "\n" +#~ " -C, --compendium=SOUBOR pøídavná knihovna pøekladù zpráv. Mù¾e být " +#~ "zadána\n" +#~ " více ne¾ jednou.\n" +#~ " -D, --directory=ADRESÁØ pøidá ADRESÁØ do seznamu adresáøù pro hledání\n" +#~ " vstupních souborù\n" +#~ " -e, --no-escape zaká¾e C escape sekvence ve výstupu " +#~ "(implicitní)\n" +#~ " -E, --escape pou¾ije C escape sekvence ve výstupu, bez\n" +#~ " roz¹íøených znakù\n" +#~ " --force-po zapí¹e .po soubor, i kdy¾ je prázdný\n" +#~ " -h, --help vypí¹e tuto nápovìdu a ukonèí se\n" +#~ " -i, --indent odsazený výstupní styl\n" +#~ " -o, --output-file=SOUBOR výsledek bude zapsán do SOUBORu\n" +#~ " --no-location potlaèí øádky '#: jméno_souboru:øádka'\n" +#~ " --add-location zaøadí øádky '#: jméno_souboru:" +#~ "øádka' (implicitní)\n" +#~ " --strict zpùsobí pøísné dodr¾ování stylu Uniforum\n" +#~ " -v, --verbose zvý¹ení mno¾ství vypisovaných informací\n" +#~ " -V, --version vypí¹e oznaèení verze a ukonèí se\n" +#~ " -w, --width=ÈÍSLO nastaví ¹íøku výstupní stránky\n" + # src/gettextp.c:154 #~ msgid "missing arguments" #~ msgstr "chybí argumenty" diff --git a/gettext-tools/po/da.po b/gettext-tools/po/da.po index 1782f975b..91d754974 100644 --- a/gettext-tools/po/da.po +++ b/gettext-tools/po/da.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: gettext-tools 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-03-13 13:29+0100\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-03-08 19:32+0200\n" "Last-Translator: Keld Simonsen \n" "Language-Team: Danish \n" @@ -32,9 +32,9 @@ msgstr "flertydigt argument '%s' for '%s'" msgid "Valid arguments are:" msgstr "Gyldige argumenter er:" -#: lib/copy-file.c:64 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:896 src/xgettext.c:909 -#: src/xgettext.c:919 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "fejl ved læse-åbning af '%s'" @@ -59,13 +59,14 @@ msgstr "fejl ved skrivning til filen '%s'" msgid "error after reading \"%s\"" msgstr "fejl efter læsning af '%s'" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Ukendt systemfejl" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s-underproces mislykkedes" @@ -125,7 +126,7 @@ msgstr "%s: tilvalget '-W %s' er flertydigt\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: tilvalget '-W %s' tillader ikke et argument\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "Javakompilator ikke fundet, forsøg at installere gcj eller sæt $JAVAC" @@ -134,22 +135,23 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" "Virtuel Javamaskine ikke fundet, forsøg at installere gij eller sæt $JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "ikke mere ledig hukommelse" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "kan ikke oprette datakanal '%s'" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s underproces" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s underproces fik et dødeligt signal %d" @@ -451,11 +453,11 @@ msgid "" "1 and 9." msgstr "" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:404 +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -467,99 +469,124 @@ msgstr "" "INGEN garanti; heller ikke for SALGBARHED eller EGNETHED FOR NOGET SÆRLIGT\n" "FORMÅL.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:409 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Skrevet af %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "For mange argumenter" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:403 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:600 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prøv '%s --help' for yderligere oplysninger.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Brug: %s [TILVALG]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Skriv maskinens værtsnavn.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Resultatformat:\n" " -s, --short kort værtsnavn\n" -" -f, --fqdn, --long langt værtsnavn, indholder hele domænenavnet og alias\n" +" -f, --fqdn, --long langt værtsnavn, indholder hele domænenavnet og " +"alias\n" " -i, --ip-address adresser for værtsnavnet\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:487 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Informativt uddata:\n" " -h, --help vis denne hjælp og afslut\n" " -V, --version vis versionsinformation og afslut\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:493 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:706 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Rapportér fejl på engelsk til .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "kunne ikke hente værtsnavn" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "Højst én inddatalinje tilladt" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:419 -#: src/xgettext.c:423 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s og %s udelukker hinanden" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:408 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Brug: %s [TILVALG] [INDDATAFIL]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -568,127 +595,253 @@ msgstr "" "Filtrerer beskederne i et beskedskatalog efter deres attributter og\n" "manipulerer attributterne.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:419 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -"Hvis et langt tilvalg kræver et argument, gælder det også for det tilsvarende\n" +"Hvis et langt tilvalg kræver et argument, gælder det også for det " +"tilsvarende\n" "korte tilvalg.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:424 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "ingen inddatafil angivet" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -"Placering af inddatafil:\n" -" INDDATAFIL PO inddatafil\n" -" -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter inddatafiler\n" -"Hvis ingen inddatafil er angivet eller den er -, læses fra standard-inddata.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:432 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" +"Placering for indfil:\n" +" FIL ... .mo-infiler\n" +"Hvis ingen indfil er givet eller hvis den er - læses standard-ind.\n" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "Placering af uddatafil:\n" -" -o, --output-file=FIL uddata skrives til FIL\n" +" -o, --output-file=FIL uddata skrives til FIL\n" "Resultaterne udskrives til standard-uddata hvis ingen uddatafil er angivet,\n" -"eller hvis den er angivet som - .\n" +"eller hvis den er angivet til - .\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Beskedsvalg:\n" -" --translated behold oversatte, fjern uoversatte beskeder\n" -" --untranslated behold uoversatte, fjern oversatte beskeder\n" -" --no-fuzzy fjern beskeder markerede som \"fuzzy\"\n" -" --only-fuzzy behold beskeder markerede som \"fuzzy\"\n" -" --no-obsolete fjern forældede #~ beskeder\n" -" --only-obsolete behold forældede #~ beskeder\n" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Attributmanipulation:\n" -" --set-fuzzy markér alle beskeder som \"fuzzy\"\n" -" --clear-fuzzy fjern \"fuzzy\"-markering fra alle beskeder\n" -" --set-obsolete markér alle beskeder som forældede\n" -" --clear-obsolete fjern forældet-markering fra alle beskeder\n" -" --only-file=FIL.po behandl kun indgange listet i FIL.po\n" -" --ignore-file=FIL.po behandl kun indgange ikke listet i FIL.po\n" -" --fuzzy samme som --only-fuzzy --clear-fuzzy\n" -" --obsolete samme som --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Detaljer om uddata:\n" -" -e, --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" -E, --escape brug C-escapesekvenser i uddata. Ingen specialtegn\n" -" --force-po skriv PO-fil selv om den er tom\n" -" -i, --indent benyt indrykket stil for uddata\n" -" --no-location undlad skrivning af '#: filnavn:linje' linjer\n" -" -n, --add-location skriv '#: filenavn:linje' linjer (standard)\n" -" --strict benyt 'streng Uniforum'-stíl for uddata\n" -" -w, --width=TAL angiv udskrivningsbredde\n" +msgstr "" +"Uddatadetaljer:\n" +" -l, --locale=LL_CC sæt mållocale\n" +" --no-translator antag at PO-filen er automatgenereret\n" +" -w, --width=ANTAL sæt sidebredde for uddata\n" " --no-wrap ombryd ikke lange beskeder, længere end\n" " uddatasidens bredde, til flere linjer\n" -" -s, --sort-output generér sorteret uddata\n" -" -F, --sort-by-file sortér uddata efter filplacering\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "Umuligt udvælgelseskriterium angivet (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:605 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Brug: %s [TILVALG] [INDDATAFIL]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -710,116 +863,67 @@ msgstr "" "men hvis --use-first er angivet, vil de blive taget fra den første PO-fil,\n" "der definerer dem. Filpositioner fra alle PO-filer sammenbringes.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:621 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Placering af inddatafil:\n" -" INDDATAFIL ... inddatafiler\n" -" -f, --files-from=FIL hent inddatafilliste fra FIL\n" -" -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter inddatafiler\n" -"Hvis inddatafilen er -, læses fra standard-inddata.\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Placering af uddatafil:\n" -" -o, --output-file=FIL uddata skrives til FIL\n" -"Resultaterne udskrives til standard-uddata hvis ingen uddatafil er angivet\n" -"eller hvis den er angivet som - .\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" -msgstr "" -"Udvælgelse af tekster:\n" -" -<, --less-than=TAL udskriv beskeder med mindre end dette antal\n" -" definitioner, er uendelig hvis ikke sat\n" -" ->, --more-than=TAL udskriv beskeder med flere end dette antal\n" -" definitioner, er 0 hvis ikke sat\n" -" -u, --unique kort skrivemåde for --less-than=2, foranlediger\n" -" at kun unikke beskeder udskrives\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" +msgstr "" + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Detaljer for uddata:\n" -" -t, --to-code=NAME kodning for uddata\n" -" --use-first brug først tilgængelige oversættelse for hver\n" -" besked, flet ikke flere oversættelser\n" -" -e, --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" -E, --escape brug C-escapesekvenser i uddata uden specialtegn\n" -" --force-po skriv PO-filen selv om den er tom\n" -" -i, --indent benyt indrykket stil for uddata\n" -" --no-location undertryk '#: filnavn:linje' linjer\n" -" -n, --add-location generér '#: filnavn:linje' linjer (standard)\n" -" --strict benyt 'streng Uniforum' stil for .po-uddata\n" -" -w, --width=TAL sæt udskrivningsbredde\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -" -s, --sort-output generér sorteret uddata\n" -" -F, --sort-by-file sortér uddata efter filplacering\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:700 -#, no-wrap +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Informativt uddata:\n" -" -h, --help vis denne hjælp og afslut\n" -" -V, --version vis versionsinformation og afslut\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "ingen filer angivet som inddata" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "der kræves netop to inddatafiler" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Brug: %s [TILVALG] gammel.po ny.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -838,57 +942,56 @@ msgstr "" "mellem msgid-tekststrengene, benyttes en upræcis sammenligningsmetode til at\n" "give bedre fejlretningsinformation.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"Placering af inddatafil:\n" -" def.po oversættelser\n" -" ref.pot referencer til kildeteksterne\n" -" -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter inddatafiler\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "Bearbejdningsvarianter:\n" " -m, --multi-domain brug ref.pot til hvert domæne i def.po\n" -#: src/msgcmp.c:265 src/msgmerge.c:888 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "denne tekst bruges, men er ikke erklæret..." -#: src/msgcmp.c:267 src/msgmerge.c:890 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...men denne tekst ligner" -#: src/msgcmp.c:272 src/msgmerge.c:917 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "denne tekst er brugt, men ikke erklæret i %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "advarsel: denne tekst bliver ikke brugt" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "fandt %d fatal fejl" msgstr[1] "fandt %d fatale fejl" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "Mindst to filer skal angives" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -908,120 +1011,68 @@ msgstr "" "men kun fra den første PO-fil, der definerer dem. Filpositioner fra alle PO-filer\n" "vil blive sammenbragt.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" -msgstr "" -"Udvælgelse af tekster:\n" -" -<, --less-than=TAL udskriv beskeder med mindre end dette antal\n" -" definitioner, er uendelig hvis ikke sat\n" -" ->, --more-than=TAL udskriv beskeder med flere end dette antal\n" -" definitioner, er 1 hvis ikke sat\n" -" -u, --unique kort skrivemåde for --less-than=2, foranlediger\n" -" at kun unikke beskeder udskrives\n" - -#: src/msgcomm.c:363 -#, no-wrap +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" +msgstr "" + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" -"Detaljer for uddata:\n" -" -e, --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" -E, --escape brug C-escapesekvenser i uddata uden specialtegn\n" -" --force-po skriv PO-filen selv om den er tom\n" -" -i, --indent benyt indrykket stil for uddata\n" -" --no-location undertryk '#: filnavn:linje' linjer\n" -" -n, --add-location generér '#: filnavn:linje' linjer (standard)\n" -" --strict benyt 'streng Uniforum' stil for .po-uddata\n" -" -w, --width=TAL sæt udskrivningsbredde\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -" -s, --sort-output generér sorteret uddata\n" -" -F, --sort-by-file sortér uddata efter filplacering\n" -" --omit-header udskriv ikke header med 'msgid \"\"' indgang\n" - -#: src/msgconv.c:257 -#, no-wrap +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "Konverterer et beskedskatalog til en anden tegnkodning.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "konverteringsfejl" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Konverteringsmål:\n" " -t, --to-code=NAVN Kodning for uddata\n" "Standardværdi er nuværende locales kodning.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Detaljer for uddata:\n" -" -e, --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" -E, --escape brug C-escapesekvenser i uddata uden specialtegn\n" -" --force-po skriv PO-filen selv om den er tom\n" -" -i, --indent benyt indrykket stil for uddata\n" -" --no-location undertryk '#: filnavn:linje' linjer\n" -" --add-location bevar '#: filnavn:linje' linjer (standard)\n" -" --strict benyt 'streng Uniforum' stil for .po-uddata\n" -" -w, --width=TAL sæt udskrivningsbredde\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -" -s, --sort-output generér sorteret uddata\n" -" -F, --sort-by-file sortér uddata efter filplacering\n" +msgstr "" + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:440 +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "ingen inddatafil angivet" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "der kræves præcist én inddatafil" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Brug: %s [FLAG] INDFIL\n" -#: src/msgen.c:242 +#: src/msgen.c:252 #, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" @@ -1034,29 +1085,20 @@ msgstr "" "Uoversatte poster gives en oversættelse som er identisk med msgid og\n" "markeres som uafklaret.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"Placering af inddata:\n" -" INDDATAFIL PO- eller POT-inddatafil\n" -" -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter inddatafiler\n" -"Hvis inddatafilen er -, læses fra standard-input.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "kommandonavn mangler" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Brug: %s [TILVALG] KOMMANDO [KOMMANDOTILVALG]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -1071,7 +1113,7 @@ msgstr "" "bliver uddata fra msgexec. Slutstatusværdien for msgexec er den største\n" "slutstatusværdi fra alle kommandokørslerne.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -1081,48 +1123,37 @@ msgstr "" "af et nultegn. Uddata for \"msgexec 0\" er brugbart som inddata for\n" "\"xargs -O\"\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"Placering af inddata:\n" -" -i, --input=INDDATAFIL PO-inddatafil\n" -" -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter inddatafiler\n" -"Hvis ingen inddatafil er angivet, eller er -, læses fra standard-input.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "skrivning til standard ud mislykkedes" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "skrivning til %s-underproces mislykkedes" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "filternavn mangler" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "mindst et sed-skript skal angives" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Brug: %s [FLAG] FILTER [FILTERFLAG]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Udfører et filter på alle oversættelser i et beskedskatalog.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -1130,70 +1161,61 @@ msgstr "" "FILTER kan være hvilket som helst program som læser en oversættelse fra\n" "standard ind og skriver den ændrede oversættelse til standard ud.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"Nyttige FILTERFLAG når FILTER er \"sed\":\n" -" -e, --expression=SKRIPT tilføj SKRIPT til kommandoen der skal udføres\n" -" -f, --file=SKRIPTFIL tilføj indholdet i SKRIPTFIL til kommandoen\n" -" der skal udføres\n" -" -n, --quiet, --silent undertryk automatisk udskrift af resultat\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Detaljer for uddata:\n" -" --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" -E, --escape brug C-escapesekvenser i uddata uden specialtegn\n" -" --force-po skriv PO-filen selv om den er tom\n" -" --indent benyt indrykket stil for uddata\n" -" --keep-header behold header-indgang uændret, filtrér det ikke\n" -" --no-location undertryk '#: filnavn:linje' linjer\n" -" --add-location bevar '#: filnavn:linje' linjer (standard)\n" -" --strict benyt 'streng Uniforum' stil for .po-uddata\n" -" -w, --width=TAL sæt udskrivningsbredde\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -" -s, --sort-output generér sorteret uddata\n" -" -F, --sort-by-file sortér uddata efter filplacering\n" +msgstr "" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "kan ikke opsætte ikke-blokerende I/O til %s-underproces" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "kommunikation med %s-underproces mislykkedes" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "læsning fra %s-underproces mislykkedes" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "%s-underproces afsluttede med slutstatus %d" @@ -1203,18 +1225,18 @@ msgstr "%s-underproces afsluttede med slutstatus %d" msgid "the argument to %s should be a single punctuation character" msgstr "argumentet til %s bør være et enkelt skilletegn" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s kræver at \"-d katalog\" angives" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s kræver en \"-l lokale\"-angivelse" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s er kun gyldig med %s" @@ -1224,82 +1246,108 @@ msgstr "%s er kun gyldig med %s" msgid "%s is only valid with %s or %s" msgstr "%s er kun gyldig med %s eller %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d oversat tekst" msgstr[1] "%d oversatte tekster" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d uafklaret oversættelse" msgstr[1] ", %d uafklarede oversættelser" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d uoversat tekst" msgstr[1] ", %d uoversatte tekster" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Brug: %s [FLAG] filnavn.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" -msgstr "Generér binært tekstkatalog fra oversættelsebeskrivelse i kildetekst.\n" +msgstr "" +"Generér binært tekstkatalog fra oversættelsebeskrivelse i kildetekst.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"Hvis et langt tilvalg kræver et argument, gælder det også for det tilsvarende\n" +"korte tilvalg.\n" +"Tilvarende gælder for valgfri argumenter.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"Placering af inddata:\n" -" -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter inddatafiler\n" -"Hvis inddatafilen er -, læses fra standard-input.\n" #: src/msgfmt.c:525 -#, no-wrap +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" "Kørselstilstand:\n" -" -j, --java Javatilstand: generér en Java ResourceBundle-klasse\n" -" --java2 som --java, og antag Java2 (JDK 1.2 eller højere)\n" -" --tcl Tcl-tilstand: generér en tcl/msgcat .msg-fil\n" +" -j, --java Javatilstand: generér en Java ResourceBundle-" +"klasse\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Placering af uddatafil:\n" -" -o, --output-file=FIL uddata skrives til FIL\n" -"Hvis uddatafilen er -, skrives uddata til standard-ud.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" @@ -1311,143 +1359,158 @@ msgstr "" "adskilt med en understreg. Flaget -d er obligatorisk. Klassen skrives\n" "i det opgivne katalog.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Placering af uddatafil i Tcl-tilstand:\n" -" -l, --locale=LOCALE localenavn, enten sprog eller sprog_LAND\n" -" -d KATALOG startkatalog for .msg-beskedskataloger\n" -"Flagene -l og -d er obligatoriske. .msg-filen skrives\n" -"i det opgivne katalog.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"Tolkning af indfil:\n" -" -c, --check udfør alle kontroller som foranlediges af\n" -" --check-format, --check-header, --check-domain\n" -" --check-format kontrollér sprogafhængige formatstrenge\n" -" --check-header verificér tilstedeværelse og indhold af headerindgange\n" -" --check-domain kontrollér for konflikter mellem\n" -" domænedirektiv og flaget --output-file\n" -" -C, --check-compatibility kontrollér at GNU msgfmt opfører sig som\n" -" X/Open msgfmt\n" -" --check-accelerators[=TKN] kontrollér tilstedeværelse af tastaturgenveje\n" -" for menuer\n" -" -f, --use-fuzzy brug uafklarede poster i resultatet\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap +msgstr "" + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Uddatadetaljer:\n" " -a, --alignment=TAL læg strenge på lige TAL byte (normalt: %d)\n" " --no-hash binærfil indholder ikke hashtabellen\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Uddatadetaljer:\n" +" -a, --alignment=TAL læg strenge på lige TAL byte (normalt: %d)\n" +" --no-hash binærfil indholder ikke hashtabellen\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" msgstr "" -"Informativt uddata:\n" -" -h, --help vis denne hjælp og afslut\n" -" -V, --version vis versionsinformation og afslut\n" -" --statistics udskriv statistik over oversættelser\n" -" -v, --verbose forøg udskreven information\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "flertalsudtryk kan give negative værdier" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "nplurals = %lu men flertalsudtryk kan give værdier op til %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "flertalsudtryk kan give division med nul" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "flertalsudtryk kan give heltalsoverløb" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "flertalsudtryk kan give aritmetiske fejl, måske division med nul" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "tekstkatalog har oversættelser med flertalsform..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...men headerindgange mangler attribut af type \"plurals=UDTRYK\"" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...men headerindgange mangler attribut af type \"plurals=HELTAL\"" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "ugyldig nplurals-værdi" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "ugyldigt flertalsudtryk" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...men nogen tekster har kun én flertalsform" msgstr[1] "...men nogen tekster har kun %lu flertalsformer" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...men nogen tekster har én flertalsform" msgstr[1] "...men nogen tekster har %lu flertalsformer" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Prøv at bruge det følgende, gældende for %s:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1455,130 +1518,122 @@ msgstr "" "beskedkatalog har oversættelser med flertalsformer, men mangler en " "headerindgang med \"Plural-Forms: nplurals=HELTAL; plural=UDTRYK;\"" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "'msgid' og 'msgid_plural'-teksterne begynder ikke begge med '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "`msgid' og `msgstr[%u]'-teksterne begynder ikke begge med '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "`msgid' og `msgstr' teksterne begynder ikke begge med '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "`msgid' og `msgid_plural'-teksterne slutter ikke begge med '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "`msgid' og `msgstr[%u]'-teksterne slutter ikke begge med '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "`msgid' og `msgstr' teksterne slutter ikke begge med '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "flertalsbehandling er en GNU gettext-udvidelse" -#: src/msgfmt.c:1161 +#: src/msgfmt.c:1178 #, fuzzy, c-format msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "'%s' er ikke en gyldig formatstreng i %s, til forskel fra \"msgid\"" -#: src/msgfmt.c:1203 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "msgstr mangler mærket \"%c\" for tastaturgenvej" -#: src/msgfmt.c:1211 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "msgstr har for mange mærker \"%c\" for tastaturgenveje" -#: src/msgfmt.c:1245 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "feltet `%s' mangler i hovedet\n" -#: src/msgfmt.c:1249 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "feltet '%s' i hovedet bør starte ved linjens begyndelse\n" -#: src/msgfmt.c:1260 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "nogle felter i hovedet har stadig den oprindelige standardværdi\n" -#: src/msgfmt.c:1272 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "feltet `%s' har stadig den oprindelige standardværdi\n" -#: src/msgfmt.c:1312 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "advarsel: PO-filhoved mangler eller ugyldigt\n" -#: src/msgfmt.c:1315 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "advarsel: tegnsætskonvertering vil ikke virke\n" -#: src/msgfmt.c:1325 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "advarsel: PO-filhoved er uafklaret\n" -#: src/msgfmt.c:1327 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "advarsel: ældre versioner af msgfmt vil give en fejl for dette\n" -#: src/msgfmt.c:1350 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domænet '%s' kan ikke bruges som filnavn" -#: src/msgfmt.c:1355 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domænet '%s' er ikke brugbart som filnavn. Vil bruge præfiks istedet" -#: src/msgfmt.c:1366 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "`domain %s'-kommando ignoreres" -#: src/msgfmt.c:1402 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "tekst erklæret mere end en gang" - -#: src/msgfmt.c:1403 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "... her er den første erklæring" - -#: src/msgfmt.c:1437 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "tom `msgstr'-kommando ignoreret" -#: src/msgfmt.c:1438 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "\"fuzzy\" `msgstr'-tekst ignoreret" -#: src/msgfmt.c:1505 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "" "%s: advarsel: kildetekstfilen indeholder uafklarede oversættelser (fuzzy)" -#: src/msggrep.c:392 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" "flaget \"%c\" kan ikke bruges førend \"K\" eller \"T\" er blevet angivet" -#: src/msggrep.c:413 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1587,8 +1642,8 @@ msgstr "" "Udtrækker alle beskeder i et beskedskatalog som matcher et vist\n" "mønster eller hører til en given kildetekstfil.\n" -#: src/msggrep.c:440 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1611,6 +1666,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1645,42 +1701,24 @@ msgstr "" " -f, --file=FIL hent MØNSTER fra FIL\n" " -i, --ignore-case versalufølsomt\n" -#: src/msggrep.c:470 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" -msgstr "" -"Detaljer for uddata:\n" -" --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" --escape brug C-escapesekvenser i uddata uden specialtegn\n" -" --force-po skriv PO-filen selv om den er tom\n" -" --indent benyt indrykket stil for uddata\n" -" --no-location undertryk '#: filnavn:linje' linjer\n" -" --add-location bevar '#: filnavn:linje' linjer (standard)\n" -" --strict benyt 'streng Uniforum' stil for .po-uddata\n" -" -w, --width=TAL sæt udskrivningsbredde\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -" --sort-output generér sorteret uddata\n" -" --sort-by-file sortér uddata efter filplacering\n" +msgstr "" + +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" -#: src/msggrep.c:554 +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "skrivning til grep-underproces mislykkedes" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1690,7 +1728,7 @@ msgstr "" "LANG som beskrevet i filen ABOUT-NLS. Dette er nødvendigt for at\n" "du kan teste dine oversættelser.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1701,12 +1739,12 @@ msgstr "" "Angiv locale med flaget --locale eller\n" ".po-udfilen med flaget --output-file.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Oprettede %s.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1715,12 +1753,15 @@ msgstr "" "Opretter en ny PO-fil og initierer metainformation med værdier fra\n" "brugerens miljøvariabler.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "Placering af inddatafil:\n" @@ -1728,37 +1769,32 @@ msgstr "" "Hvis ingen indfil angives, søges efter POT-filen i aktuelt katalog.\n" "Hvis den er - læses standard ind.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" "Placering af uddatafil:\n" " -o, --output-file=FIL uddata skrives til FIL\n" -"Hvis ingen udfil er angivet, afhænger det af --locale tilvalget eller brugerens\n" +"Hvis ingen udfil er angivet, afhænger det af --locale tilvalget eller " +"brugerens\n" "indstilling af locale. Hvis den er - skrives resultaterne på standard ud.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Uddatadetaljer:\n" -" -l, --locale=LL_CC sæt mållocale\n" -" --no-translator antag at PO-filen er automatgenereret\n" -" -w, --width=ANTAL sæt sidebredde for uddata\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1766,11 +1802,11 @@ msgstr "" "Fandt mere end en .pot-fil.\n" "Angiv .pot-indfil med flaget --input.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "fejl ved læsning af aktuelt katalog" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1778,23 +1814,23 @@ msgstr "" "Fandt ingen .pot-fil i aktuelt katalog.\n" "Angiv .pot-indfil med flaget --input.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() mislykkedes" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "I/O-fejl i %s-underproces" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s-underproces fejlede med slutstatus %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1809,28 +1845,28 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Danske oversættelser for pakke %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "nuværende tegnsæt \"%s\" er ikke et portabelt kodningsnavn" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "to forskellige tegnsæt \"%s\" og \"%s\" i indfilen" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "indfilen \"%s\" mangler en indgang i hovedet med angivelse af tegnsæt" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1839,18 +1875,18 @@ msgstr "" "domæne \"%s\" i indfil \"%s\" mangler en indgang i hovedet med angivelse af " "tegnsæt" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "måltegnsæt \"%s\" er ikke et portabelt kodningsnavn" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 -#: src/xgettext.c:1267 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "advarsel: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1858,7 +1894,7 @@ msgstr "" "Indfiler har beskeder med flere kodninger, deriblandt UTF-8.\n" "Konverterer resultatet til UTF-8.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1923,15 +1959,15 @@ msgstr "" "Resultatet for \"%s\" kan blive forkert.\n" "En mulig måde at omgå problemet er at sætte LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "konverteringsfejl" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "indfilen mangler en indgang i hovedet med angivelse af tegnsæt" -#: src/msgl-iconv.c:353 src/xgettext.c:494 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1940,7 +1976,7 @@ msgstr "" "Kan ikke konvertere fra '%s' til '%s'. %s bygger på iconv(), og iconv() " "understøtter ikke denne konvertering." -#: src/msgl-iconv.c:370 src/xgettext.c:501 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1949,11 +1985,11 @@ msgstr "" "Kan ikke konvertere fra '%s' til '%s'. %s bygger på iconv(). Denne version " "er bygget uden iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "sikkerhedskopitype" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1977,49 +2013,57 @@ msgstr "" "overensstemmelse, vil 'løs søgning' (fuzzy matching) blive brugt til at give\n" "bedre resultater.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Placering af inddatafil:\n" -" def.po oversættelser svarende til gamle kildetekster\n" -" ref.pot referencer til nye kildetekster\n" -" -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter inddatafiler\n" -" -C, --compendium=FIL yderligere bibliotek af tekst-oversættelser,\n" -" kan angives mere end én gang\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" "Kørselstilstand:\n" " -U, --update opdatér def.po,\n" -" gør ingenting hvis def.po allerede er opdateret\n" +" gør ingenting hvis def.po allerede er " +"opdateret\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "Placering af udfil i opdateringstilstand:\n" "Resultatet skrives tilbage til def.po.\n" @@ -2029,46 +2073,37 @@ msgstr "" "VERSION_CONTROL. Her er værdierne:\n" " none, off lav aldrig sikkerhedskopier (selv hvis --backup angives)\n" " numbered, t lav nummererede sikkerhedskopier\n" -" existing, nil nummererede sikkerhedskopier hvis der findes sådanne, ellers simple\n" +" existing, nil nummererede sikkerhedskopier hvis der findes sådanne, " +"ellers simple\n" " simple, never lav altid simple sikkerhedskopier\n" -"Endelse for sikkerhedskopier er \"~\", hvis den ikke sættes med --suffix eller\n" +"Endelse for sikkerhedskopier er \"~\", hvis den ikke sættes med --suffix " +"eller\n" "miljøvariablen SIMPLE_BACKUP_SUFFIX.\n" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Bearbejdningsvarianter:\n" -" -m, --multi-domain brug ref.pot til hvert domæne i def.po\n" -" -N, --no-fuzzy-matching brug ikke fuzzy matchning\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -"Informativt uddata:\n" -" -h, --help vis denne hjælp og afslut\n" -" -V, --version vis versionsinformation og afslut\n" -" -v, --verbose forøg udskreven information\n" -" -q, --quiet, --silent undertryk indikatorer for fremgang\n" -#: src/msgmerge.c:970 +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr "" + +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "denne tekst burde definere flertalsformer" -#: src/msgmerge.c:993 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "denne tekst burde ikke definere flertalsformer" -#: src/msgmerge.c:1155 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -2077,54 +2112,58 @@ msgstr "" "%sLæste %ld gamle + %ld reference, flettede %ld, uafklarede %ld, mangler %" "ld, forældede %ld.\n" -#: src/msgmerge.c:1163 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " afsluttet.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s og udtrykkelige filnavne udelukker hinanden" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Brug: %s [TILVALG] [FIL]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "Konvertér et binær beskedskatalog til en .po-fil af Uniforum-type\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "Kørselstilstand:\n" -" -j, --java Javatilstand: inddata er en Java ResourceBundle-klasse\n" -" --tcl Tcl-tilstand: inddata er en tcl/msgcat .msg-fil\n" +" -j, --java Javatilstand: generér en Java ResourceBundle-" +"klasse\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Placering for indfil:\n" -" FIL ... .mo-infiler\n" -"Hvis ingen indfil er givet eller hvis den er - læses standard-ind.\n" +"Kørselstilstand:\n" +" -j, --java Javatilstand: inddata er en Java " +"ResourceBundle-klasse\n" +" --tcl Tcl-tilstand: inddata er en tcl/msgcat .msg-" +"fil\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "Placering for indfil i Javatilstand:\n" @@ -2133,73 +2172,25 @@ msgstr "" "Klassenavnet bestemmes ved at tilføje localenavnet til ressourcenavnet\n" "adskilt med en understreg. Klassen findes med hjælp af CLASSPATH.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"Placering af inddatafil i Tcl-tilstand:\n" -" -l, --locale=LOCALE localenavn, enten sprog eller sprog_LAND\n" -" -d KATALOG startkatalog for .msg-beskedskataloger\n" -"Flagene -l og -d er obligatoriske. .msg-filen skrives\n" -"i det opgivne katalog.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"Placering af uddatafil:\n" -" -o, --output-file=FIL uddata skrives til FIL\n" -"Resultaterne udskrives til standard-uddata hvis ingen uddatafil er angivet,\n" -"eller hvis den er angivet til - .\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -msgstr "" -"Detaljer for uddata:\n" -" -e, --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" -E, --escape brug C-escapesekvenser i uddata. Ingen specialtegn\n" -" --force-po skriv PO-fil selv om den er tom\n" -" -i, --indent benyt indrykket stil for uddata\n" -" --strict benyt 'streng Uniforum'-stíl for uddata\n" -" -w, --width=TAL angiv udskrivningsbredde\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -" -s, --sort-output generér sorteret uddata\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" +msgstr "" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Informativt uddata:\n" -" -h, --help vis denne hjælp og afslut\n" -" -V, --version vis versionsinformation og afslut\n" -" -v, --verbose forøg udskreven information\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2221,18 +2212,22 @@ msgstr "" "oversættelse. Filpositioner samles sammen.\n" "Når flaget --unique angives fjernes alle gentagede.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "Beskedsvalg:\n" " -d, --repeated skriv kun gentagede beskeder\n" -" -u, --unique skriv kun unikke beskeder, gentagede fjernes\n" +" -u, --unique skriv kun unikke beskeder, gentagede " +"fjernes\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2298,52 +2293,52 @@ msgstr "" "Tegnsæt mangler i hoved.\n" "Tekstkonvertering til brugers tegnsæt vil ikke virke.\n" -#: src/po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "inkonsistent brug af #~" -#: src/po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "'msgstr[]'-afsnit mangler" -#: src/po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "'msgstr_plural'-afsnit mangler" -#: src/po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "'msgstr'-afsnit mangler" -#: src/po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "første flertalsform har indeks, der ikke er nul" -#: src/po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "flertalsform har forkert indeks" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "afbryder kørslen på grund af for mange fejl" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "Ugyldig multibytesekvens" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "Ugyldig multibytesekvens ved slutning på fil" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "Ugyldig multibytesekvens ved slutning på linje" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv-fejl" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 #: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 @@ -2351,20 +2346,20 @@ msgstr "iconv-fejl" msgid "error while reading \"%s\"" msgstr "fejl ved læsning af '%s'" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "ukendt nøgleord '%s'" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "ugyldig kontrolsekvens" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "tekststreng ikke afsluttet da filens slutning blev nået" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "tekststreng var ikke afsluttet ved linjeskift" @@ -2388,12 +2383,24 @@ msgstr "filen '%s' er ikke i GNU .mo-format" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "filen '%s' indeholder en ikke-NUL-afsluttet streng, ved %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "denne fil må ikke indeholde 'domain'-kommandoer" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "tekst erklæret mere end en gang" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "... her er den første erklæring" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "forventede to argumenter" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Brug: %s [TILVALG] URL FIL\n" @@ -2429,7 +2436,7 @@ msgstr "ikke et gyldigt Java-klassenavn: %s" msgid "failed to create \"%s\"" msgstr "kunne ikke oprette '%s'" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2441,18 +2448,18 @@ msgstr "" "oversættelse af Java-klasse mislykkedes, prøv gerne --verbose eller sæt " "$JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "fejl opstået ved skrive-åbning af '%s'" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "oversættelige tekster må ikke indeholde `\\%c'-escapesekvensen" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2465,12 +2472,25 @@ msgstr "" "som er et andet end dit. Forsøg at bruge en ren ASCII-msgid i stedet.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "kan ikke oprette uddatafil '%s'" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standard-uddata" @@ -2517,10 +2537,6 @@ msgstr "" "Sproget 'glade' er ikke understøttet. %s bygger på expat,\n" "Denne version er bygget uden expat.\n" -#: src/x-po.c:85 src/xgettext.c:718 -msgid "this file may not contain domain directives" -msgstr "denne fil må ikke indeholde 'domain'-kommandoer" - #: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" @@ -2541,61 +2557,53 @@ msgstr "%s:%d: mangler tal efter #" msgid "%s:%d: invalid string expression" msgstr "%s:%d: ugyldigt streng-udtryk" -#: src/xgettext.c:427 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing kan ikke benyttes når uddata sendes til standard-uddata" -#: src/xgettext.c:432 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext kan ikke arbejde uden nogen nøgleord at kigge efter" -#: src/xgettext.c:559 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" "advarsel: ukendt type for fil `%s' med endelse `%s'; C benyttes i stedet" -#: src/xgettext.c:610 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Udtræk oversættelige strenge fra givne indfiler.\n" -#: src/xgettext.c:615 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Hvis et langt tilvalg kræver et argument, gælder det også for det tilsvarende\n" -"korte tilvalg.\n" -"Tilvarende gælder for valgfri argumenter.\n" -#: src/xgettext.c:630 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Placering af udfil:\n" -" -d, --default-domain=NAVN send uddata til NAVN.po (i stedet for messages.po)\n" -" -o, --output=FIL uddata skrives til FIL\n" -" -p, --output-dir=FILKATALOG uddatafiler placeres i FILKATALOG\n" -"Hvis uddatafilen er -, skrives uddata til standard-ud.\n" -#: src/xgettext.c:639 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "ingen inddatafil angivet" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "Valg af sprog for indfil:\n" " -L, --language=NAVN genkend det angivne sprog\n" @@ -2605,98 +2613,108 @@ msgstr "" " -C, --c++ kort skrivemåde for --language=C++\n" "Som standard antages sproget ud fra endelsen på inddatafilen.\n" -#: src/xgettext.c:650 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 +msgid "" +"By default the language is guessed depending on the input file name " +"extension.\n" +msgstr "" + +#: src/xgettext.c:661 +#, fuzzy msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" "Fortolkning af inddatafil:\n" " --from-code=NAVN kodning af inddatafiler\n" " (undtagen for Python, Tcl, Glade)\n" "Som standard antages inddatafilerne at være i ASCII.\n" -#: src/xgettext.c:658 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" " -j, --join-existing kombiner tekster med eksisterende fil\n" " -x, --exclude-file=FIL.po tekster i FIL.po benyttes ikke\n" " -c, --add-comments[=MÆRKE] placér kommentarafsnit for MÆRKE (eller \n" " de foregående nøgleordslinjer) i uddata\n" -#: src/xgettext.c:667 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" msgstr "" -"Language=C/C++ specifikke tilvalg:\n" -" -a, --extract-all udtræk alle tekster\n" -" -k, --keyword[=ORD] søg efter yderligere nøgleord (hvis ORD ikke \n" -" angives, bruges standard-nøgleord ikke).\n" -" -T, --trigraphs forstå ISO C-trigrafer i inddata\n" -" --debug mere detaljeret resultat af strenggenkendelse\n" -#: src/xgettext.c:677 -#, no-wrap +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" -msgstr "" -"Detaljer for uddata:\n" -" -e, --no-escape brug ikke C-escapesekvenser i uddata (standard)\n" -" -E, --escape brug C-escapesekvenser i uddata uden specialtegn\n" -" --force-po skriv PO-filen selv om den er tom\n" -" -i, --indent benyt indrykket stil for uddata\n" -" --no-location undertryk '#: filnavn:linje' linjer\n" -" -n, --add-location generér '#: filnavn:linje' linjer (standard)\n" -" --strict benyt 'streng Uniforum' stil for .po-uddata\n" -" -w, --width=TAL sæt udskrivningsbredde\n" -" --no-wrap ombryd ikke lange beskeder, længere end\n" -" uddatasidens bredde, til flere linjer\n" -" -s, --sort-output generér sorteret uddata\n" -" -F, --sort-by-file sortér uddata efter filplacering\n" -" --omit-header skriv ikke header med 'msgid \"\"' indgang\n" -" --copyright-holder=STRENG sæt ophavsrettighedsindehaver i uddata\n" -" --foreign-user undlad FSF-ophavsret i uddata for fremmed bruger\n" -" --msgid-bugs-address=EMAIL@ADRESSE sæt rapporteringsadresse for msgid-fejl\n" -" -m, --msgstr-prefix[=STRENG] brug STRING eller \"\" som forstavelse for msgstr-indgange\n" -" -M, --msgstr-suffix[=STRENG] brug STRING eller \"\" som endelse for msgstr-indgange\n" - -#: src/xgettext.c:887 +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standard-inddata" -#: src/xgettext.c:980 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" @@ -2705,12 +2723,12 @@ msgstr "" "Ikke-ASCII streng ved %s%s.\n" "Angiv venligst kodning af kildetekst via --from-code." -#: src/xgettext.c:1035 +#: src/xgettext.c:1070 #, c-format msgid "%s%s: warning: " msgstr "%s%s: advarsel: " -#: src/xgettext.c:1037 +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2720,7 +2738,7 @@ msgstr "" "gettext(\"\") returnerer hovedet med metainformation,\n" "ikke den tomme streng.\n" -#: src/xgettext.c:1268 +#: src/xgettext.c:1303 msgid "" "The option --msgid-bugs-address was not specified.\n" "If you are using a `Makevars' file, please specify\n" @@ -2732,11 +2750,742 @@ msgstr "" "variablen MSGID_BUGS_ADDRESS dér; ellers angiv\n" "tilvalget --msgid-bugs-address på kommandolinjen.\n" -#: src/xgettext.c:1438 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "ukendt sprog '%s'" +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Placering af inddatafil:\n" +#~ " INDDATAFIL PO inddatafil\n" +#~ " -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter " +#~ "inddatafiler\n" +#~ "Hvis ingen inddatafil er angivet eller den er -, læses fra standard-" +#~ "inddata.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Placering af uddatafil:\n" +#~ " -o, --output-file=FIL uddata skrives til FIL\n" +#~ "Resultaterne udskrives til standard-uddata hvis ingen uddatafil er " +#~ "angivet,\n" +#~ "eller hvis den er angivet som - .\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "Beskedsvalg:\n" +#~ " --translated behold oversatte, fjern uoversatte " +#~ "beskeder\n" +#~ " --untranslated behold uoversatte, fjern oversatte " +#~ "beskeder\n" +#~ " --no-fuzzy fjern beskeder markerede som \"fuzzy\"\n" +#~ " --only-fuzzy behold beskeder markerede som \"fuzzy\"\n" +#~ " --no-obsolete fjern forældede #~ beskeder\n" +#~ " --only-obsolete behold forældede #~ beskeder\n" + +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "Attributmanipulation:\n" +#~ " --set-fuzzy markér alle beskeder som \"fuzzy\"\n" +#~ " --clear-fuzzy fjern \"fuzzy\"-markering fra alle " +#~ "beskeder\n" +#~ " --set-obsolete markér alle beskeder som forældede\n" +#~ " --clear-obsolete fjern forældet-markering fra alle beskeder\n" +#~ " --only-file=FIL.po behandl kun indgange listet i FIL.po\n" +#~ " --ignore-file=FIL.po behandl kun indgange ikke listet i FIL.po\n" +#~ " --fuzzy samme som --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete samme som --only-obsolete --clear-obsolete\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detaljer om uddata:\n" +#~ " -e, --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " -E, --escape brug C-escapesekvenser i uddata. Ingen " +#~ "specialtegn\n" +#~ " --force-po skriv PO-fil selv om den er tom\n" +#~ " -i, --indent benyt indrykket stil for uddata\n" +#~ " --no-location undlad skrivning af '#: filnavn:linje' " +#~ "linjer\n" +#~ " -n, --add-location skriv '#: filenavn:linje' linjer " +#~ "(standard)\n" +#~ " --strict benyt 'streng Uniforum'-stíl for uddata\n" +#~ " -w, --width=TAL angiv udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " -s, --sort-output generér sorteret uddata\n" +#~ " -F, --sort-by-file sortér uddata efter filplacering\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Placering af inddatafil:\n" +#~ " INDDATAFIL ... inddatafiler\n" +#~ " -f, --files-from=FIL hent inddatafilliste fra FIL\n" +#~ " -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter " +#~ "inddatafiler\n" +#~ "Hvis inddatafilen er -, læses fra standard-inddata.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Placering af uddatafil:\n" +#~ " -o, --output-file=FIL uddata skrives til FIL\n" +#~ "Resultaterne udskrives til standard-uddata hvis ingen uddatafil er " +#~ "angivet\n" +#~ "eller hvis den er angivet som - .\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Udvælgelse af tekster:\n" +#~ " -<, --less-than=TAL udskriv beskeder med mindre end dette " +#~ "antal\n" +#~ " definitioner, er uendelig hvis ikke sat\n" +#~ " ->, --more-than=TAL udskriv beskeder med flere end dette " +#~ "antal\n" +#~ " definitioner, er 0 hvis ikke sat\n" +#~ " -u, --unique kort skrivemåde for --less-than=2, " +#~ "foranlediger\n" +#~ " at kun unikke beskeder udskrives\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detaljer for uddata:\n" +#~ " -t, --to-code=NAME kodning for uddata\n" +#~ " --use-first brug først tilgængelige oversættelse for " +#~ "hver\n" +#~ " besked, flet ikke flere oversættelser\n" +#~ " -e, --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " -E, --escape brug C-escapesekvenser i uddata uden " +#~ "specialtegn\n" +#~ " --force-po skriv PO-filen selv om den er tom\n" +#~ " -i, --indent benyt indrykket stil for uddata\n" +#~ " --no-location undertryk '#: filnavn:linje' linjer\n" +#~ " -n, --add-location generér '#: filnavn:linje' linjer " +#~ "(standard)\n" +#~ " --strict benyt 'streng Uniforum' stil for .po-" +#~ "uddata\n" +#~ " -w, --width=TAL sæt udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " -s, --sort-output generér sorteret uddata\n" +#~ " -F, --sort-by-file sortér uddata efter filplacering\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Informativt uddata:\n" +#~ " -h, --help vis denne hjælp og afslut\n" +#~ " -V, --version vis versionsinformation og afslut\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "Placering af inddatafil:\n" +#~ " def.po oversættelser\n" +#~ " ref.pot referencer til kildeteksterne\n" +#~ " -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter " +#~ "inddatafiler\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Udvælgelse af tekster:\n" +#~ " -<, --less-than=TAL udskriv beskeder med mindre end dette " +#~ "antal\n" +#~ " definitioner, er uendelig hvis ikke sat\n" +#~ " ->, --more-than=TAL udskriv beskeder med flere end dette " +#~ "antal\n" +#~ " definitioner, er 1 hvis ikke sat\n" +#~ " -u, --unique kort skrivemåde for --less-than=2, " +#~ "foranlediger\n" +#~ " at kun unikke beskeder udskrives\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Detaljer for uddata:\n" +#~ " -e, --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " -E, --escape brug C-escapesekvenser i uddata uden " +#~ "specialtegn\n" +#~ " --force-po skriv PO-filen selv om den er tom\n" +#~ " -i, --indent benyt indrykket stil for uddata\n" +#~ " --no-location undertryk '#: filnavn:linje' linjer\n" +#~ " -n, --add-location generér '#: filnavn:linje' linjer " +#~ "(standard)\n" +#~ " --strict benyt 'streng Uniforum' stil for .po-" +#~ "uddata\n" +#~ " -w, --width=TAL sæt udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " -s, --sort-output generér sorteret uddata\n" +#~ " -F, --sort-by-file sortér uddata efter filplacering\n" +#~ " --omit-header udskriv ikke header med 'msgid \"\"' " +#~ "indgang\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detaljer for uddata:\n" +#~ " -e, --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " -E, --escape brug C-escapesekvenser i uddata uden " +#~ "specialtegn\n" +#~ " --force-po skriv PO-filen selv om den er tom\n" +#~ " -i, --indent benyt indrykket stil for uddata\n" +#~ " --no-location undertryk '#: filnavn:linje' linjer\n" +#~ " --add-location bevar '#: filnavn:linje' linjer (standard)\n" +#~ " --strict benyt 'streng Uniforum' stil for .po-" +#~ "uddata\n" +#~ " -w, --width=TAL sæt udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " -s, --sort-output generér sorteret uddata\n" +#~ " -F, --sort-by-file sortér uddata efter filplacering\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Placering af inddata:\n" +#~ " INDDATAFIL PO- eller POT-inddatafil\n" +#~ " -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter " +#~ "inddatafiler\n" +#~ "Hvis inddatafilen er -, læses fra standard-input.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Placering af inddata:\n" +#~ " -i, --input=INDDATAFIL PO-inddatafil\n" +#~ " -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter " +#~ "inddatafiler\n" +#~ "Hvis ingen inddatafil er angivet, eller er -, læses fra standard-input.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "Nyttige FILTERFLAG når FILTER er \"sed\":\n" +#~ " -e, --expression=SKRIPT tilføj SKRIPT til kommandoen der skal " +#~ "udføres\n" +#~ " -f, --file=SKRIPTFIL tilføj indholdet i SKRIPTFIL til " +#~ "kommandoen\n" +#~ " der skal udføres\n" +#~ " -n, --quiet, --silent undertryk automatisk udskrift af resultat\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detaljer for uddata:\n" +#~ " --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " -E, --escape brug C-escapesekvenser i uddata uden " +#~ "specialtegn\n" +#~ " --force-po skriv PO-filen selv om den er tom\n" +#~ " --indent benyt indrykket stil for uddata\n" +#~ " --keep-header behold header-indgang uændret, filtrér det " +#~ "ikke\n" +#~ " --no-location undertryk '#: filnavn:linje' linjer\n" +#~ " --add-location bevar '#: filnavn:linje' linjer (standard)\n" +#~ " --strict benyt 'streng Uniforum' stil for .po-" +#~ "uddata\n" +#~ " -w, --width=TAL sæt udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " -s, --sort-output generér sorteret uddata\n" +#~ " -F, --sort-by-file sortér uddata efter filplacering\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Placering af inddata:\n" +#~ " -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter " +#~ "inddatafiler\n" +#~ "Hvis inddatafilen er -, læses fra standard-input.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "Kørselstilstand:\n" +#~ " -j, --java Javatilstand: generér en Java " +#~ "ResourceBundle-klasse\n" +#~ " --java2 som --java, og antag Java2 (JDK 1.2 eller " +#~ "højere)\n" +#~ " --tcl Tcl-tilstand: generér en tcl/msgcat .msg-" +#~ "fil\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Placering af uddatafil:\n" +#~ " -o, --output-file=FIL uddata skrives til FIL\n" +#~ "Hvis uddatafilen er -, skrives uddata til standard-ud.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Placering af uddatafil i Tcl-tilstand:\n" +#~ " -l, --locale=LOCALE localenavn, enten sprog eller sprog_LAND\n" +#~ " -d KATALOG startkatalog for .msg-beskedskataloger\n" +#~ "Flagene -l og -d er obligatoriske. .msg-filen skrives\n" +#~ "i det opgivne katalog.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "Tolkning af indfil:\n" +#~ " -c, --check udfør alle kontroller som foranlediges af\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format kontrollér sprogafhængige formatstrenge\n" +#~ " --check-header verificér tilstedeværelse og indhold af " +#~ "headerindgange\n" +#~ " --check-domain kontrollér for konflikter mellem\n" +#~ " domænedirektiv og flaget --output-file\n" +#~ " -C, --check-compatibility kontrollér at GNU msgfmt opfører sig som\n" +#~ " X/Open msgfmt\n" +#~ " --check-accelerators[=TKN] kontrollér tilstedeværelse af " +#~ "tastaturgenveje\n" +#~ " for menuer\n" +#~ " -f, --use-fuzzy brug uafklarede poster i resultatet\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Informativt uddata:\n" +#~ " -h, --help vis denne hjælp og afslut\n" +#~ " -V, --version vis versionsinformation og afslut\n" +#~ " --statistics udskriv statistik over oversættelser\n" +#~ " -v, --verbose forøg udskreven information\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Detaljer for uddata:\n" +#~ " --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " --escape brug C-escapesekvenser i uddata uden " +#~ "specialtegn\n" +#~ " --force-po skriv PO-filen selv om den er tom\n" +#~ " --indent benyt indrykket stil for uddata\n" +#~ " --no-location undertryk '#: filnavn:linje' linjer\n" +#~ " --add-location bevar '#: filnavn:linje' linjer (standard)\n" +#~ " --strict benyt 'streng Uniforum' stil for .po-" +#~ "uddata\n" +#~ " -w, --width=TAL sæt udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " --sort-output generér sorteret uddata\n" +#~ " --sort-by-file sortér uddata efter filplacering\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "Placering af inddatafil:\n" +#~ " def.po oversættelser svarende til gamle " +#~ "kildetekster\n" +#~ " ref.pot referencer til nye kildetekster\n" +#~ " -D, --directory=FILKATALOG gennemsøg også FILKATALOG efter " +#~ "inddatafiler\n" +#~ " -C, --compendium=FIL yderligere bibliotek af tekst-" +#~ "oversættelser,\n" +#~ " kan angives mere end én gang\n" + +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "Bearbejdningsvarianter:\n" +#~ " -m, --multi-domain brug ref.pot til hvert domæne i def.po\n" +#~ " -N, --no-fuzzy-matching brug ikke fuzzy matchning\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Informativt uddata:\n" +#~ " -h, --help vis denne hjælp og afslut\n" +#~ " -V, --version vis versionsinformation og afslut\n" +#~ " -v, --verbose forøg udskreven information\n" +#~ " -q, --quiet, --silent undertryk indikatorer for fremgang\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Placering af inddatafil i Tcl-tilstand:\n" +#~ " -l, --locale=LOCALE localenavn, enten sprog eller sprog_LAND\n" +#~ " -d KATALOG startkatalog for .msg-beskedskataloger\n" +#~ "Flagene -l og -d er obligatoriske. .msg-filen skrives\n" +#~ "i det opgivne katalog.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Detaljer for uddata:\n" +#~ " -e, --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " -E, --escape brug C-escapesekvenser i uddata. Ingen " +#~ "specialtegn\n" +#~ " --force-po skriv PO-fil selv om den er tom\n" +#~ " -i, --indent benyt indrykket stil for uddata\n" +#~ " --strict benyt 'streng Uniforum'-stíl for uddata\n" +#~ " -w, --width=TAL angiv udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " -s, --sort-output generér sorteret uddata\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Informativt uddata:\n" +#~ " -h, --help vis denne hjælp og afslut\n" +#~ " -V, --version vis versionsinformation og afslut\n" +#~ " -v, --verbose forøg udskreven information\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Placering af udfil:\n" +#~ " -d, --default-domain=NAVN send uddata til NAVN.po (i stedet for " +#~ "messages.po)\n" +#~ " -o, --output=FIL uddata skrives til FIL\n" +#~ " -p, --output-dir=FILKATALOG uddatafiler placeres i FILKATALOG\n" +#~ "Hvis uddatafilen er -, skrives uddata til standard-ud.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Language=C/C++ specifikke tilvalg:\n" +#~ " -a, --extract-all udtræk alle tekster\n" +#~ " -k, --keyword[=ORD] søg efter yderligere nøgleord (hvis ORD " +#~ "ikke \n" +#~ " angives, bruges standard-nøgleord " +#~ "ikke).\n" +#~ " -T, --trigraphs forstå ISO C-trigrafer i inddata\n" +#~ " --debug mere detaljeret resultat af " +#~ "strenggenkendelse\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Detaljer for uddata:\n" +#~ " -e, --no-escape brug ikke C-escapesekvenser i uddata " +#~ "(standard)\n" +#~ " -E, --escape brug C-escapesekvenser i uddata uden " +#~ "specialtegn\n" +#~ " --force-po skriv PO-filen selv om den er tom\n" +#~ " -i, --indent benyt indrykket stil for uddata\n" +#~ " --no-location undertryk '#: filnavn:linje' linjer\n" +#~ " -n, --add-location generér '#: filnavn:linje' linjer " +#~ "(standard)\n" +#~ " --strict benyt 'streng Uniforum' stil for .po-" +#~ "uddata\n" +#~ " -w, --width=TAL sæt udskrivningsbredde\n" +#~ " --no-wrap ombryd ikke lange beskeder, længere end\n" +#~ " uddatasidens bredde, til flere linjer\n" +#~ " -s, --sort-output generér sorteret uddata\n" +#~ " -F, --sort-by-file sortér uddata efter filplacering\n" +#~ " --omit-header skriv ikke header med 'msgid \"\"' " +#~ "indgang\n" +#~ " --copyright-holder=STRENG sæt ophavsrettighedsindehaver i uddata\n" +#~ " --foreign-user undlad FSF-ophavsret i uddata for " +#~ "fremmed bruger\n" +#~ " --msgid-bugs-address=EMAIL@ADRESSE sæt rapporteringsadresse for " +#~ "msgid-fejl\n" +#~ " -m, --msgstr-prefix[=STRENG] brug STRING eller \"\" som forstavelse " +#~ "for msgstr-indgange\n" +#~ " -M, --msgstr-suffix[=STRENG] brug STRING eller \"\" som endelse for " +#~ "msgstr-indgange\n" + #~ msgid "missing arguments" #~ msgstr "argumenter mangler" @@ -2847,12 +3596,3 @@ msgstr "ukendt sprog '%s'" #~ msgid "seek \"%s\" offset %ld failed" #~ msgstr "seek '%s' offset %ld mislykkedes" - -#~ msgid "" -#~ "Operation mode:\n" -#~ " -j, --java Java mode: generate a Java ResourceBundle " -#~ "class\n" -#~ msgstr "" -#~ "Kørselstilstand:\n" -#~ " -j, --java Javatilstand: generér en Java ResourceBundle-" -#~ "klasse\n" diff --git a/gettext-tools/po/de.po b/gettext-tools/po/de.po index 981800d6f..891ccc24b 100644 --- a/gettext-tools/po/de.po +++ b/gettext-tools/po/de.po @@ -80,7 +80,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-tools 0.12-pre4\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-05-06 14:06+0200\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-05-07 22:38+0200\n" "Last-Translator: Karl Eichwalder \n" "Language-Team: German \n" @@ -130,11 +130,11 @@ msgstr "Fehler beim Schreiben von »%s«" msgid "error after reading \"%s\"" msgstr "Fehler nach dem Lesen von »%s«" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Unbekannter Systemfehler" -#: lib/execute.c:176 lib/execute.c:227 lib/execute.c:262 lib/pipe-bidi.c:174 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 #: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 #: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 #: lib/wait-process.c:147 @@ -525,7 +525,7 @@ msgstr "" #: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 #: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 -#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:245 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 #: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 #: src/xgettext.c:411 #, c-format, no-wrap @@ -541,27 +541,27 @@ msgstr "" #: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 #: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 -#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:250 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 #: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 #: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Geschrieben von %s.\n" -#: src/hostname.c:187 src/msginit.c:260 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "zu viele Argumente" #: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 #: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 -#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:335 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 #: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 #: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "»%s --help« gibt weitere Informationen.\n" -#: src/hostname.c:204 src/msginit.c:339 +#: src/hostname.c:204 src/msginit.c:344 #, c-format msgid "Usage: %s [OPTION]\n" msgstr "Aufruf: %s [OPTION]\n" @@ -593,7 +593,7 @@ msgstr " -i, --ip-address Adressen für den Rechnernamen\n" #: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 #: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 -#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:387 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 #: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 #: src/xgettext.c:729 msgid "Informative output:\n" @@ -601,7 +601,7 @@ msgstr "Informative Ausgabe:\n" #: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 #: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 -#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:389 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 #: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 #: src/xgettext.c:731 msgid " -h, --help display this help and exit\n" @@ -609,7 +609,7 @@ msgstr " -h, --help diese Hilfe anzeigen und beenden\n" #: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 #: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 -#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:391 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 #: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 #: src/xgettext.c:733 msgid " -V, --version output version information and exit\n" @@ -617,7 +617,7 @@ msgstr " -V, --version Versionsnummer anzeigen und beenden\n" #: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 #: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 -#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:394 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 #: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 #: src/xgettext.c:736 msgid "Report bugs to .\n" @@ -631,7 +631,7 @@ msgid "could not get host name" msgstr "es ist nicht möglich, den Rechnernamen (Hostname) herauszufinden" #: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 -#: src/msggrep.c:316 src/msginit.c:191 src/msguniq.c:244 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "höchstens eine Eingabedatei erlaubt" @@ -662,7 +662,7 @@ msgstr "" #: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 #: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 -#: src/msggrep.c:429 src/msginit.c:349 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 #: src/msguniq.c:305 msgid "" "Mandatory arguments to long options are mandatory for short options too.\n" @@ -672,7 +672,7 @@ msgstr "" #: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 #: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 -#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:352 src/msgmerge.c:423 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 #: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 msgid "Input file location:\n" msgstr "Angaben zu Eingabedateien:\n" @@ -699,7 +699,7 @@ msgstr "" #: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 #: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 -#: src/msginit.c:360 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 #: src/xgettext.c:636 msgid "Output file location:\n" msgstr "Angaben zu Ausgabedateien:\n" @@ -793,20 +793,20 @@ msgstr "" #: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 #: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 -#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:368 src/msgmerge.c:476 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 #: src/msguniq.c:332 msgid "Input file syntax:\n" msgstr "" #: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 -#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:370 src/msguniq.c:334 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 msgid "" " -P, --properties-input input file is in Java .properties syntax\n" msgstr "" #: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 #: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 -#: src/msginit.c:373 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 #: src/xgettext.c:689 msgid "Output details:\n" msgstr "Details zur Ausgabe:\n" @@ -854,13 +854,13 @@ msgid "" msgstr "" #: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 -#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:379 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 #: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 msgid " -p, --properties-output write out a Java .properties file\n" msgstr "" #: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 -#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:381 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 #: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 msgid " -w, --width=NUMBER set output page width\n" msgstr "" @@ -868,7 +868,7 @@ msgstr "" "festlegen\n" #: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 -#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:383 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 #: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 msgid "" " --no-wrap do not break long message lines, longer than\n" @@ -1803,7 +1803,7 @@ msgstr "" msgid "write to grep subprocess failed" msgstr "Schreiben zum Subprozess grep fehlgeschlagen" -#: src/msginit.c:273 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1814,7 +1814,7 @@ msgstr "" "beschrieben. Dies ist notwendig, damit Sie Ihre Übersetzungen testen " "können.\n" -#: src/msginit.c:301 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1825,12 +1825,12 @@ msgstr "" "Bitte legen Sie die Lokale mit der Option »--locale« oder\n" "die .po-Datei für die Ausgabe mit der Option »--output-file« fest.\n" -#: src/msginit.c:324 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "%s wurde erstellt.\n" -#: src/msginit.c:344 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1839,11 +1839,11 @@ msgstr "" "Neue PO-Datei erstellen und die Meta-Informationen mit Werten der Umgebung des\n" "Benutzers initialisieren.\n" -#: src/msginit.c:354 +#: src/msginit.c:359 msgid " -i, --input=INPUTFILE input POT file\n" msgstr " -i, --input=EINGABEDATEI POT-Eingabedatei\n" -#: src/msginit.c:356 +#: src/msginit.c:361 msgid "" "If no input file is given, the current directory is searched for the POT " "file.\n" @@ -1854,11 +1854,11 @@ msgstr "" "POT-Datei gesucht. Wenn die Eingabedatei »-« ist, wird die Standardeingabe\n" "gelesen.\n" -#: src/msginit.c:362 +#: src/msginit.c:367 msgid " -o, --output-file=FILE write output to specified PO file\n" msgstr "" -#: src/msginit.c:364 +#: src/msginit.c:369 msgid "" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" @@ -1868,17 +1868,17 @@ msgstr "" "Ergebnisse werden nach der Standardausgabe geschrieben, wenn »-« angegeben " "ist.\n" -#: src/msginit.c:375 +#: src/msginit.c:380 msgid " -l, --locale=LL_CC set target locale\n" msgstr " -l, --locale=LL_CC Lokale für die Ausgabe setzen\n" -#: src/msginit.c:377 +#: src/msginit.c:382 msgid "" " --no-translator assume the PO file is automatically generated\n" msgstr "" " --no-translator automatische Erstellung der PO-Datei annehmen\n" -#: src/msginit.c:431 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1886,11 +1886,11 @@ msgstr "" "Mehr als eine .pot-Datei gefunden.\n" "Bitte geben Sie die .pot-Datei für die Eingabe mit der Option »--input« an.\n" -#: src/msginit.c:439 src/msginit.c:444 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "Fehler beim Lesen des aktuellen Verzeichnisses" -#: src/msginit.c:452 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1898,23 +1898,23 @@ msgstr "" "Keine .pot-Datei im aktuellen Verzeichnis gefunden.\n" "Bitte geben Sie die .pot-Datei für die Eingabe mit der Option »--input« an.\n" -#: src/msginit.c:900 src/msginit.c:952 src/msginit.c:1095 src/msginit.c:1162 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 #: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() fehlgeschlagen" -#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "Subprozess %s mit Ein-/Ausgabefehler" -#: src/msginit.c:914 src/msginit.c:966 src/msginit.c:1109 src/msginit.c:1176 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 #: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "Subprozess %s mit dem Exitcode %d fehlgeschlagen" -#: src/msginit.c:1085 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1931,17 +1931,17 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1444 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "German messages for %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "der Zeichensatz »%s« bezeichnet keine portable Kodierung" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "zwei unterschiedliche Zeichensätze »%s« und »%s« in Eingabedatei" @@ -1962,7 +1962,7 @@ msgstr "" "bei Bereich »%s« der Eingabedatei »%s« fehlt Kopfeintrag mit der Angabe des\n" "Zeichensatzes" -#: src/msgl-cat.c:380 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "Zeichensatz »%s« für die Ausgabe bezeichnet keine portable Kodierung" @@ -2048,16 +2048,16 @@ msgstr "" "Ausgabe von '%s' könnte nicht korrekt sein.\n" "Eine mögliche Abhilfe ist, LC_ALL=C zu setzen.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "Fehler bei der Konvertierung" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" "bei der Eingabedatei fehlt der Kopfeintrag mit der Angabe des Zeichensatzes" -#: src/msgl-iconv.c:353 src/xgettext.c:501 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -2066,7 +2066,7 @@ msgstr "" "Es ist nicht möglich, von »%s« nach »%s« zu konvertieren.\n" "%s hängt von iconv() ab, und iconv() unterstützt diese Konvertierung nicht." -#: src/msgl-iconv.c:370 src/xgettext.c:508 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " diff --git a/gettext-tools/po/el.po b/gettext-tools/po/el.po index fdbe6d3fa..336e3f3b1 100644 --- a/gettext-tools/po/el.po +++ b/gettext-tools/po/el.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.34\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 1998-05-17 13:12+0200\n" "Last-Translator: Simos KSenitellis \n" "Language-Team: Greek \n" @@ -29,45 +30,46 @@ msgid "Valid arguments are:" msgstr "" # -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "óöÜëìá óôï Üíïéãìá ôïõ \"%s\" ãéá áíÜãíùóç" # -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "óöÜëìá êáôÜ ôï Üíïéãìá ôïõ áñ÷åßïõ \"%s\" ãéá åããñáöÞ" # -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "óöÜëìá óôçí áíÜãíùóç ôïõ \"%s\"" # -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "óöÜëìá óôçí åããñáöÞ ôïõ áñ÷åßïõ \"%s\"" # -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "óöÜëìá óôçí áíÜãíùóç ôïõ \"%s\"" # -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "¶ãíùóôï óöÜëìá óõóôÞìáôïò" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -138,7 +140,7 @@ msgstr "%s: msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: ç åðéëïãÞ `-W %s' äåí åðéôñÝðåé ðáñÜìåôñï\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -147,64 +149,184 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" # -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 #, fuzzy msgid "memory exhausted" msgstr "H ìíÞìç åîáíôëÞèçêå" # -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "áäõíáìßá äçìéïõñãßáò áñ÷åßïõ åîüäïõ \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" # -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" # -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" # -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + # -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" "ï áñéèìüò ôùí áíáöïñþí óå ìïñöïðïéÞóåéò ôùí `msgid' êáé `msgstr' äå óõìðßðôåé" +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + # -#: src/format-java.c:632 +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " @@ -212,33 +334,99 @@ msgid "" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" # -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" # -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + # -#: src/format-lisp.c:3212 +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" "ï áñéèìüò ôùí áíáöïñþí óå ìïñöïðïéÞóåéò ôùí `msgid' êáé `msgstr' äå óõìðßðôåé" # -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + # -#: src/format-python.c:375 +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -247,7 +435,7 @@ msgstr "" "ï áñéèìüò ôùí áíáöïñþí óå ìïñöïðïéÞóåéò ôùí `msgid' êáé `msgstr' äå óõìðßðôåé" # -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -256,7 +444,7 @@ msgstr "" "ï áñéèìüò ôùí áíáöïñþí óå ìïñöïðïéÞóåéò ôùí `msgid' êáé `msgstr' äå óõìðßðôåé" # -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " @@ -264,24 +452,38 @@ msgid "" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" # -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" # -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "ïé ìïñöïðïéÞóåéò ãéá ôç ðáñÜìåôñï %u äåí åßíáé ßäéåò" +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + # -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -294,207 +496,371 @@ msgstr "" "ËÅÉÔÏÕÑÃÉÊÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ ÃÉÁ ÅÍÁ ÓÕÃÊÅÊÑÉÌÅÍÏ ÓÊÏÐÏ.\n" # -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "ÃñáììÝíï áðü ôïí/ôçí %s.\n" # -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "ðÜñá ðïëëÜ ïñßóìáôá" # -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "ÄïêéìÜóôå `%s --help' ãéá ðåñéóóüôåñåò ðëçñïöïñßåò.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" msgstr "" # -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Óôåßëôå áíáöïñÝò óöáëìÜôùí óôï .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +# +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "áðáéôïýíôáé áêñéâþò äýï áñ÷åßá åéóüäïõ" # -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "ôá %s êáé %s åßíáé áìïéâáßá áðïêëåéþìåíá" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +# +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "äåí äüèçêå áñ÷åßï åéóüäïõ" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -# -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +# +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" -"êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá áíáæÞôçóç\n" -" áñ÷åßùí åéóüäïõ.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï\n" -" (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" -" ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé Üäåéï\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" -" --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:line'\n" -" --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî ïñéóìïý)\n" -" --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" -" -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" - -# -#: src/msgcat.c:260 src/msgcomm.c:279 +"×ñÞóç: %s [ÅÐÉËÏÃÇ] filename.mo filename.po\n" +"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß êáé " +"ãéá ôá óýíôïìá ïñßóìáôá.\n" +" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï " +"(åî ïñéóìïý)\n" +" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï, ü÷é üìùò " +"êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +" -S, --strict ìïñöÞ åîüäïõ ôï áõóôçñü Uniforum\n" +" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +# +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "Ý÷åé åðéëå÷èåß áäýíáôï êñéôÞñéï åðéëïãÞò (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" # -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -524,121 +890,70 @@ msgstr "" "ðñþôï áñ÷åßï PO ðïõ ôá Ý÷åé ïñßóåé. Ïé èÝóåéò áñ÷åßïõ áðü üëá ôá áñ÷åßá PO\n" "èá äéáôçñçèïýí.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -# -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò ðñïãñÜììáôïò\n" -" êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ðëÜôïõò óåëßäáò åîüäïõ\n" -" -<, --less-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ëéãüôåñá áðü ÁÑÉÈÌÏÓ\n" -" ïñéóìïýò, åî ïñéóìïý óå Üðåéñï áí äåí ôåèåß\n" -" ->, --more-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ðåñéóóüôåñá áðü ÁÑÉÈÌÏÓ\n" -" ïñéóìïýò, åî ïñéóìïý óå Ýíá áí äåí ôåèåß\n" -"\n" -"Åýñåóç ìçíõìÜôùí ðïõ åßíáé êïéíÜ óå äýï Þ ðåñéóóüôåñá ïñéóìÝíá áñ÷åßá PO.\n" -"Ìå ôç ÷ñÞóç ôçò åðéëïãÞò --more-than option, ìðïñåß íá æçôçèåß ìåãáëýôåñç\n" -"óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá. Áíôßèåôá, ìå ôçí åðéëïãÞ --less-than\n" -"ìðïñåß íá ïñéóôåß ìéêñüôåñç óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá (ð.÷.\n" -"ôï --less-than=2 èá åìöáíßóåé ìüíï ôá ìïíáäéêÜ ìçíýìáôá). Ïé ìåôáöñÜóåéò,\n" -"ôá ó÷üëéá êáé ôá ìçíýìáôá óå ìïñöÞ ó÷ïëßùí èá äéáôçñçèïýí, áëëÜ ìüíï áðü ôï\n" -"ðñþôï áñ÷åßï PO ðïõ ôá Ý÷åé ïñßóåé. Ïé èÝóåéò áñ÷åßïõ áðü üëá ôá áñ÷åßá PO\n" -"èá äéáôçñçèïýí.\n" -# -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" -"êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá áíáæÞôçóç\n" -" áñ÷åßùí åéóüäïõ.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï\n" -" (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" -" ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé Üäåéï\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" -" --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:line'\n" -" --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî ïñéóìïý)\n" -" --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" -" -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" # -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "äåí êáèïñßóôçêáí áñ÷åßá åéóüäïõ" # -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "áðáéôïýíôáé áêñéâþò äýï áñ÷åßá åéóüäïõ" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" # -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -664,57 +979,59 @@ msgstr "" "Ý÷ïõí ìåôáöñáóôåß. Åêåß ðïõ äåí åíôïðßæåôáé áêñéâÞò áíôéóôoé÷ßá,\n" "ãßíåôáé åëáóôéêü ôáßñéáóìá ãéá êáëýôåñá áðïôåëÝóìáôá.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" # -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "áõôü ôï ìÞíõìá ÷ñçóéìïðïåßôáé, áëëÜ äåí ïñßæåôáé..." # -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...áëëÜ áõôüò ï ïñéóìüò åßíáé ðáñüìïéïò" # -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "áõôü ôï ìÞíõìá ÷ñçóéìïðïåßôáé, áëëÜ äåí ïñßæåôáé óôï %s" # -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "ðñïåéäïðïßçóç: áõôü ôï ìÞíõìá äåí ÷ñçóéìïðïåßôáé" # -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, fuzzy, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "âñÝèçêáí %d óïâáñÜ óöÜëìáôá" # -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "ðñÝðåé íá ïñéóôïýí ôïõëÜ÷éóôïí äýï áñ÷åßá" # -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -743,172 +1060,90 @@ msgstr "" "ðñþôï áñ÷åßï PO ðïõ ôá Ý÷åé ïñßóåé. Ïé èÝóåéò áñ÷åßïõ áðü üëá ôá áñ÷åßá PO\n" "èá äéáôçñçèïýí.\n" -# -#: src/msgcomm.c:351 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò ðñïãñÜììáôïò\n" -" êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ðëÜôïõò óåëßäáò åîüäïõ\n" -" -<, --less-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ëéãüôåñá áðü ÁÑÉÈÌÏÓ\n" -" ïñéóìïýò, åî ïñéóìïý óå Üðåéñï áí äåí ôåèåß\n" -" ->, --more-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ðåñéóóüôåñá áðü ÁÑÉÈÌÏÓ\n" -" ïñéóìïýò, åî ïñéóìïý óå Ýíá áí äåí ôåèåß\n" -"\n" -"Åýñåóç ìçíõìÜôùí ðïõ åßíáé êïéíÜ óå äýï Þ ðåñéóóüôåñá ïñéóìÝíá áñ÷åßá PO.\n" -"Ìå ôç ÷ñÞóç ôçò åðéëïãÞò --more-than option, ìðïñåß íá æçôçèåß ìåãáëýôåñç\n" -"óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá. Áíôßèåôá, ìå ôçí åðéëïãÞ --less-than\n" -"ìðïñåß íá ïñéóôåß ìéêñüôåñç óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá (ð.÷.\n" -"ôï --less-than=2 èá åìöáíßóåé ìüíï ôá ìïíáäéêÜ ìçíýìáôá). Ïé ìåôáöñÜóåéò,\n" -"ôá ó÷üëéá êáé ôá ìçíýìáôá óå ìïñöÞ ó÷ïëßùí èá äéáôçñçèïýí, áëëÜ ìüíï áðü ôï\n" -"ðñþôï áñ÷åßï PO ðïõ ôá Ý÷åé ïñßóåé. Ïé èÝóåéò áñ÷åßïõ áðü üëá ôá áñ÷åßá PO\n" -"èá äéáôçñçèïýí.\n" -# -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" -"êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá áíáæÞôçóç\n" -" áñ÷åßùí åéóüäïõ.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï\n" -" (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" -" ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé Üäåéï\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" -" --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:line'\n" -" --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî ïñéóìïý)\n" -" --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" -" -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -# -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" -"êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá áíáæÞôçóç\n" -" áñ÷åßùí åéóüäïõ.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï\n" -" (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" -" ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé Üäåéï\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" -" --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:line'\n" -" --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî ïñéóìïý)\n" -" --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" -" -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" - -# -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +# +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "äåí äüèçêå áñ÷åßï åéóüäïõ" # -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "áðáéôïýíôáé áêñéâþò äýï áñ÷åßá åéóüäïõ" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" # -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "õðïëåßðïíôáé ïñßóìáôá" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -918,125 +1153,108 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" # -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "õðïëåßðïíôáé ïñßóìáôá" # -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "ðñÝðåé íá ïñéóôïýí ôïõëÜ÷éóôïí äýï áñ÷åßá" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -# -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" -"êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá áíáæÞôçóç\n" -" áñ÷åßùí åéóüäïõ.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï\n" -" (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" -" ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé Üäåéï\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" -" --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:line'\n" -" --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî ïñéóìïý)\n" -" --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" -" -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" - -#: src/msgfilter.c:531 + +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -1046,18 +1264,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -1068,171 +1286,233 @@ msgid "%s is only valid with %s or %s" msgstr "" # -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, fuzzy, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d ìåôáöñáóìÝíá ìõíÞìáôá" # -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, fuzzy, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d ðñïóåããéóôéêÝò ìåôáöñÜóåéò" # -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, fuzzy, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d ìç ìåôáöñáóìÝíá ìçíýìáôá" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" # -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "ìç áðïäåêôÞ óåéñÜ ÷áñáêôÞñùí äéáöõãÞò" -#: src/msgfmt.c:907 +# +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "ìç áðïäåêôÞ óåéñÜ ÷áñáêôÞñùí äéáöõãÞò" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" # -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" @@ -1240,134 +1520,134 @@ msgstr[0] " msgstr[1] "áõôü ôï ìÞíõìá ÷ñçóéìïðïåßôáé, áëëÜ äåí ïñßæåôáé óôï %s" # -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "áõôü ôï ìÞíõìá ÷ñçóéìïðïåßôáé, áëëÜ äåí ïñßæåôáé óôï %s" msgstr[1] "áõôü ôï ìÞíõìá ÷ñçóéìïðïåßôáé, áëëÜ äåí ïñßæåôáé óôï %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" # -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "Ïé åããñáöÝò `msgid' êáé `msgstr' äåí îåêéíïýí êáé ïé äýï ìå '\\n'" # -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "Ïé åããñáöÝò `msgid' êáé `msgstr' äåí îåêéíïýí êáé ïé äýï ìå '\\n'" # -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "Ïé åããñáöÝò `msgid' êáé `msgstr' äåí îåêéíïýí êáé ïé äýï ìå '\\n'" # -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "Ïé åããñáöÝò `msgid' êáé `msgstr' äåí ôåëåéþíïõí êáé ïé äýï ìå '\\n'" # -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "Ïé åããñáöÝò `msgid' êáé `msgstr' äåí ôåëåéþíïõí êáé ïé äýï ìå '\\n'" # -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "Ïé åããñáöÝò `msgid' êáé `msgstr' äåí ôåëåéþíïõí êáé ïé äýï ìå '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" # -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "ôï ðåäßï `%s' Ý÷åé ðáñáëçöèåß áðü ôç êåöáëßäá" # -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "ôï ðåäßá êåöáëßäáò `%s' èá Ýðñåðå íá îåêéíÜ óôçí áñ÷Þ ôçò ãñáììÞò" # -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "ìåñéêÜ ðåäßá ôçò êåöáëßäáò Ý÷ïõí áêüìá ôçí áñ÷éêÞ åî ïñéóìïý ôéìÞ" # -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "ôï ðåäßï `%s' Ý÷åé áêüìá ôçí áñ÷éêÞ åî ïñéóìïý ôéìÞ" # -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "" "%s: ðñïåéäïðïßçóç: ôï áñ÷åßï åéóüäïõ ðåñéÝ÷åé ðñïóåããéóôéêÝò ìåôáöñÜóåéò" # -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "" "%s: ðñïåéäïðïßçóç: ôï áñ÷åßï åéóüäïõ ðåñéÝ÷åé ðñïóåããéóôéêÝò ìåôáöñÜóåéò" # -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "" "%s: ðñïåéäïðïßçóç: ôï áñ÷åßï åéóüäïõ ðåñéÝ÷åé ðñïóåããéóôéêÝò ìåôáöñÜóåéò" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" # -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "ôï üíïìá ãéá ôç ðåñéï÷Þ \"%s\" äåí åßíáé êáôÜëëçëï ãéá üíïìá áñ÷åßïõ" # -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" @@ -1375,51 +1655,41 @@ msgstr "" "ãßíåé ÷ñÞóç ðñïèÝìáôïò" # -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "ç ïäçãßá `domain %s' áãíïåßôáé" # -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "åðáíáëáìâáíüìåíïò ïñéóìüò ìçíýìáôïò" - -# -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...áõôÞ åßíáé ç èÝóç ôïõ ðñþôïõ ïñéóìïý" - -# -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "ç êåíÞ åããñáöÞ `msgstr' áãíïåßôáé" # -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "ç ðñïóåããéóôéêÞ åããñáöÞ `msgstr' áãíïåßôáé" # -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "" "%s: ðñïåéäïðïßçóç: ôï áñ÷åßï åéóüäïõ ðåñéÝ÷åé ðñïóåããéóôéêÝò ìåôáöñÜóåéò" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1443,6 +1713,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1450,56 +1721,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -# -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" -"êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá áíáæÞôçóç\n" -" áñ÷åßùí åéóüäïõ.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï\n" -" (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" -" ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé Üäåéï\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" -" --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:line'\n" -" --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî ïñéóìïý)\n" -" --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" -" -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" - -#: src/msggrep.c:545 + +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1507,80 +1753,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1592,51 +1839,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1684,34 +1932,34 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" # -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1737,74 +1985,82 @@ msgstr "" "Ôá áðïôåëÝóìáôá ãñÜöïíôáé óôçí êáíïíéêÞ Ýîïäï åêôüò êáé áí ïñßæåôáé\n" "êÜðïéï áñ÷åßï åîüäïõ.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" # -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "áõôü ôï ìÞíõìá ÷ñçóéìïðïåßôáé, áëëÜ äåí ïñßæåôáé óôï %s" # -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "áõôü ôï ìÞíõìá ÷ñçóéìïðïåßôáé, áëëÜ äåí ïñßæåôáé óôï %s" # -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, fuzzy, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1814,105 +2070,70 @@ msgstr "" "Ý÷ïõí ðáñáëçöèåß %d, á÷ñçóéìïðïßçôá %d.\n" # -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " Ýãéíå.\n" # -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "ôá %s êáé %s åßíáé áìïéâáßá áðïêëåéþìåíá" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -# -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] filename.mo filename.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï, ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -S, --strict ìïñöÞ åîüäïõ ôï áõóôçñü Uniforum\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1925,15 +2146,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1994,91 +2217,91 @@ msgid "" msgstr "" "%s: ðñïåéäïðïßçóç: ôï áñ÷åßï åéóüäïõ ðåñéÝ÷åé ðñïóåããéóôéêÝò ìåôáöñÜóåéò" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" # -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 #, fuzzy msgid "missing `msgstr[]' section" msgstr "ëåßðåé åíüôçôá `msgstr'" # -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 #, fuzzy msgid "missing `msgid_plural' section" msgstr "ëåßðåé åíüôçôá `msgstr'" # -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "ëåßðåé åíüôçôá `msgstr'" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" # -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "ðÜñá ðïëëÜ óöÜëìáôá, åãêáôáëåßðù" # -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 #, fuzzy msgid "invalid multibyte sequence" msgstr "ìç áðïäåêôÞ óåéñÜ ÷áñáêôÞñùí äéáöõãÞò" # -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "ìç áðïäåêôÞ óåéñÜ ÷áñáêôÞñùí äéáöõãÞò" # -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "ìç áðïäåêôÞ óåéñÜ ÷áñáêôÞñùí äéáöõãÞò" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" # -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "óöÜëìá óôçí áíÜãíùóç ôïõ \"%s\"" # -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "Üãíùóôç åíôïëÞ \"%s\"" # -#: src/po-lex.c:856 +#: src/po-lex.c:817 #, fuzzy msgid "invalid control sequence" msgstr "ìç áðïäåêôÞ óåéñÜ ÷áñáêôÞñùí äéáöõãÞò" # -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "ôÝëïò áñ÷åßïõ (EOF) óôï áëöáñéèìçôéêü" # -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "ôÝñìá-ãñáììÞò (eol) óôï áëöáñéèìçôéêü" @@ -2107,13 +2330,28 @@ msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "ôï áñ÷åßï \"%s\" äåí åßíáé óôç ìïñöÞ GNU .mo" # -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "áõôü ôï áñ÷åßï äåí ìðïñåß íá ðåñéÝ÷åé ïäçãßåò ãéá ôç ðåñéï÷Þ" + +# +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "åðáíáëáìâáíüìåíïò ïñéóìüò ìçíýìáôïò" + +# +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...áõôÞ åßíáé ç èÝóç ôïõ ðñþôïõ ïñéóìïý" + +# +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "ðÜñá ðïëëÜ ïñßóìáôá" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -2130,9 +2368,11 @@ msgstr "" msgid "error writing stdout" msgstr "óöÜëìá óôçí åããñáöÞ ôïõ áñ÷åßïõ \"%s\"" +# #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "áäõíáìßá åðéóôñïöÞò óôï êáôÜëïãï \"%s\"" # #: src/write-java.c:1065 @@ -2151,7 +2391,7 @@ msgid "failed to create \"%s\"" msgstr "" # -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2162,13 +2402,13 @@ msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" # -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "óöÜëìá êáôÜ ôï Üíïéãìá ôïõ áñ÷åßïõ \"%s\" ãéá åããñáöÞ" # -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" @@ -2176,7 +2416,7 @@ msgstr "" "ôá ìçíýìáôá ðñïò ìåôÜöñáóç äåí ðñÝðåé íá ðåñéÝ÷ïõí ôï ÷áñáêôÞñá äéáöõãÞò `\\%" "c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2185,14 +2425,27 @@ msgid "" "%s\n" msgstr "" +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + # -#: src/write-po.c:914 +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "áäõíáìßá äçìéïõñãßáò áñ÷åßïõ åîüäïõ \"%s\"" # -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "êáíïíéêÞ Ýîïäïò" @@ -2204,7 +2457,7 @@ msgid "" msgstr "" # -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: ðñïåéäïðïßçóç: ìç ôåñìáôéóìÝíï áëöáñéèìçôéêü" @@ -2240,12 +2493,7 @@ msgid "" msgstr "" # -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "áõôü ôï áñ÷åßï äåí ìðïñåß íá ðåñéÝ÷åé ïäçãßåò ãéá ôç ðåñéï÷Þ" - -# -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: ðñïåéäïðïßçóç: ìç ôåñìáôéóìÝíç óôáèåñÜ ÷áñáêôÞñùí" @@ -2260,161 +2508,638 @@ msgstr "" msgid "%s:%d: missing number after #" msgstr "" +# #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: ðñïåéäïðïßçóç: ìç ôåñìáôéóìÝíï áëöáñéèìçôéêü" # -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "ôï --join-existing äå ìðïñåß íá ÷ñçóéìïðïéçèåß üôáí ç Ýîïäïò ãñÜöåôáé óôçí " "êáíïíéêÞ Ýîïäï" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" # -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" "ðñïåéäïðïßçóç: ôï áñ÷åßï `%s' ìå êáôÜëçîç `%s' åßíáé Üãíùóôï· èá äïêéìáóôåß C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +# +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "äåí äüèçêå áñ÷åßï åéóüäïõ" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -# -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" msgstr "" -"×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" -"Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" -"êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" -" -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá áíáæÞôçóç\n" -" áñ÷åßùí åéóüäïõ.\n" -" -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï\n" -" (åî ïñéóìïý)\n" -" -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" -" ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" -" --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé Üäåéï\n" -" -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" -" -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" -" -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" -" --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:line'\n" -" --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî ïñéóìïý)\n" -" --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" -" -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" -" -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" -" -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" - -# -#: src/xgettext.c:879 + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +# +#: src/xgettext.c:922 msgid "standard input" msgstr "êáíïíéêÞ åßóïäïò" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + # -#: src/xgettext.c:1410 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "ç ãëþóóá `%s' åßíáé Üãíùóôç" +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá " +#~ "áíáæÞôçóç\n" +#~ " áñ÷åßùí åéóüäïõ.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï\n" +#~ " (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" +#~ " ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé " +#~ "Üäåéï\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" +#~ " --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:" +#~ "line'\n" +#~ " --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî " +#~ "ïñéóìïý)\n" +#~ " --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" +#~ " -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" + +# +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò " +#~ "ðñïãñÜììáôïò\n" +#~ " êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ðëÜôïõò óåëßäáò åîüäïõ\n" +#~ " -<, --less-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ëéãüôåñá áðü " +#~ "ÁÑÉÈÌÏÓ\n" +#~ " ïñéóìïýò, åî ïñéóìïý óå Üðåéñï áí äåí " +#~ "ôåèåß\n" +#~ " ->, --more-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ðåñéóóüôåñá áðü " +#~ "ÁÑÉÈÌÏÓ\n" +#~ " ïñéóìïýò, åî ïñéóìïý óå Ýíá áí äåí " +#~ "ôåèåß\n" +#~ "\n" +#~ "Åýñåóç ìçíõìÜôùí ðïõ åßíáé êïéíÜ óå äýï Þ ðåñéóóüôåñá ïñéóìÝíá áñ÷åßá " +#~ "PO.\n" +#~ "Ìå ôç ÷ñÞóç ôçò åðéëïãÞò --more-than option, ìðïñåß íá æçôçèåß " +#~ "ìåãáëýôåñç\n" +#~ "óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá. Áíôßèåôá, ìå ôçí åðéëïãÞ --less-" +#~ "than\n" +#~ "ìðïñåß íá ïñéóôåß ìéêñüôåñç óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá (ð.÷.\n" +#~ "ôï --less-than=2 èá åìöáíßóåé ìüíï ôá ìïíáäéêÜ ìçíýìáôá). Ïé " +#~ "ìåôáöñÜóåéò,\n" +#~ "ôá ó÷üëéá êáé ôá ìçíýìáôá óå ìïñöÞ ó÷ïëßùí èá äéáôçñçèïýí, áëëÜ ìüíï áðü " +#~ "ôï\n" +#~ "ðñþôï áñ÷åßï PO ðïõ ôá Ý÷åé ïñßóåé. Ïé èÝóåéò áñ÷åßïõ áðü üëá ôá áñ÷åßá " +#~ "PO\n" +#~ "èá äéáôçñçèïýí.\n" + +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá " +#~ "áíáæÞôçóç\n" +#~ " áñ÷åßùí åéóüäïõ.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï\n" +#~ " (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" +#~ " ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé " +#~ "Üäåéï\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" +#~ " --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:" +#~ "line'\n" +#~ " --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî " +#~ "ïñéóìïý)\n" +#~ " --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" +#~ " -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" + +# +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò " +#~ "ðñïãñÜììáôïò\n" +#~ " êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ðëÜôïõò óåëßäáò åîüäïõ\n" +#~ " -<, --less-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ëéãüôåñá áðü " +#~ "ÁÑÉÈÌÏÓ\n" +#~ " ïñéóìïýò, åî ïñéóìïý óå Üðåéñï áí äåí " +#~ "ôåèåß\n" +#~ " ->, --more-than=ÁÑÉÈÌÏÓ åìöÜíéóç ìçíõìÜôùí ìå ðåñéóóüôåñá áðü " +#~ "ÁÑÉÈÌÏÓ\n" +#~ " ïñéóìïýò, åî ïñéóìïý óå Ýíá áí äåí " +#~ "ôåèåß\n" +#~ "\n" +#~ "Åýñåóç ìçíõìÜôùí ðïõ åßíáé êïéíÜ óå äýï Þ ðåñéóóüôåñá ïñéóìÝíá áñ÷åßá " +#~ "PO.\n" +#~ "Ìå ôç ÷ñÞóç ôçò åðéëïãÞò --more-than option, ìðïñåß íá æçôçèåß " +#~ "ìåãáëýôåñç\n" +#~ "óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá. Áíôßèåôá, ìå ôçí åðéëïãÞ --less-" +#~ "than\n" +#~ "ìðïñåß íá ïñéóôåß ìéêñüôåñç óõããÝíåéá ðñéí åìöáíéóôïýí ôá ìçíýìáôá (ð.÷.\n" +#~ "ôï --less-than=2 èá åìöáíßóåé ìüíï ôá ìïíáäéêÜ ìçíýìáôá). Ïé " +#~ "ìåôáöñÜóåéò,\n" +#~ "ôá ó÷üëéá êáé ôá ìçíýìáôá óå ìïñöÞ ó÷ïëßùí èá äéáôçñçèïýí, áëëÜ ìüíï áðü " +#~ "ôï\n" +#~ "ðñþôï áñ÷åßï PO ðïõ ôá Ý÷åé ïñßóåé. Ïé èÝóåéò áñ÷åßïõ áðü üëá ôá áñ÷åßá " +#~ "PO\n" +#~ "èá äéáôçñçèïýí.\n" + +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá " +#~ "áíáæÞôçóç\n" +#~ " áñ÷åßùí åéóüäïõ.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï\n" +#~ " (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" +#~ " ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé " +#~ "Üäåéï\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" +#~ " --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:" +#~ "line'\n" +#~ " --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî " +#~ "ïñéóìïý)\n" +#~ " --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" +#~ " -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" + +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá " +#~ "áíáæÞôçóç\n" +#~ " áñ÷åßùí åéóüäïõ.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï\n" +#~ " (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" +#~ " ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé " +#~ "Üäåéï\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" +#~ " --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:" +#~ "line'\n" +#~ " --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî " +#~ "ïñéóìïý)\n" +#~ " --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" +#~ " -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" + +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá " +#~ "áíáæÞôçóç\n" +#~ " áñ÷åßùí åéóüäïõ.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï\n" +#~ " (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" +#~ " ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé " +#~ "Üäåéï\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" +#~ " --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:" +#~ "line'\n" +#~ " --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî " +#~ "ïñéóìïý)\n" +#~ " --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" +#~ " -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" + +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá " +#~ "áíáæÞôçóç\n" +#~ " áñ÷åßùí åéóüäïõ.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï\n" +#~ " (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" +#~ " ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé " +#~ "Üäåéï\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" +#~ " --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:" +#~ "line'\n" +#~ " --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî " +#~ "ïñéóìïý)\n" +#~ " --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" +#~ " -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" + +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] filename.mo filename.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß " +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï, ü÷é " +#~ "üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -S, --strict ìïñöÞ åîüäïõ ôï áõóôçñü Uniforum\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" + +# +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "×ñÞóç: %s [ÅÐÉËÏÃÇ] def.po ref.po\n" +#~ "Ïé õðï÷ñåùôéêïß ðáñÜìåôñïé óôá ðåñéöñáóôéêÜ ïñßóìáôá åßíáé õðï÷ñåùôéêïß\n" +#~ "êáé ãéá ôá óýíôïìá ïñßóìáôá.\n" +#~ " -D, --directory=ÊÁÔÁËÏÃÏÓ ðñüóèåóå ôïí ÊÁÔÁËÏÃÏ óôç ëßóôá ãéá " +#~ "áíáæÞôçóç\n" +#~ " áñ÷åßùí åéóüäïõ.\n" +#~ " -e, --no-escape áðïöõãÞ ÷ñÞóçò êùäéêþí äéáöõãÞò áëÜ C óôçí " +#~ "Ýîïäï\n" +#~ " (åî ïñéóìïý)\n" +#~ " -E, --escape ÷ñÞóç êùäéêþí äéáöõãÞò áëÜ C óôçí Ýîïäï,\n" +#~ " ü÷é üìùò êáé åêôåôáìÝíïõò ÷áñáêôÞñåò.\n" +#~ " --force-po äçìéïõñãßá áñ÷åßïõ PO áêüìá êáé áí åßíáé " +#~ "Üäåéï\n" +#~ " -h, --help åìöÜíéóç áõôÞò ôçò âïÞèåéáò êáé Ýîïäïò\n" +#~ " -i, --indent ìïñöïðïéçìÝíç Ýîïäïò\n" +#~ " -o, --output-file=ÁÑ×ÅÉÏ ôï áñ÷åßï åîüäïõ èá åßíáé ôï ÁÑ×ÅÉÏ\n" +#~ " --no-location áðïöõãÞ åìöÜíéóçò ãñáììþí '#: filename:" +#~ "line'\n" +#~ " --add-location äéáôÞñçóç ãñáììþí '#: filename:line' (åî " +#~ "ïñéóìïý)\n" +#~ " --strict áõóôçñÞ ìïñöÞ åîüäïõ Uniforum\n" +#~ " -v, --verbose ðåñéöñáóôéêÞ åìöÜíéóç ðñïåéäïðïéÞóåùí\n" +#~ " -V, --version åìöÜíéóç ðëçñïöïñéþí Ýêäïóçò êáé Ýîïäïò\n" +#~ " -w, --width=ÁÑÉÈÌÏÓ ïñéóìüò ìåãÝèïõò ðëÜôïõò óåëßäáò åîüäïõ\n" + # #~ msgid "missing arguments" #~ msgstr "õðïëåßðïíôáé ïñßóìáôá" diff --git a/gettext-tools/po/en@boldquot.po b/gettext-tools/po/en@boldquot.po index 91c0a0aa5..2a6e9b50e 100644 --- a/gettext-tools/po/en@boldquot.po +++ b/gettext-tools/po/en@boldquot.po @@ -31,8 +31,9 @@ msgid "" msgstr "" "Project-Id-Version: gettext-tools\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" -"PO-Revision-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" +"PO-Revision-Date: 2003-05-17 17:25+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" @@ -54,40 +55,41 @@ msgstr "ambiguous argument ‘%s’ for ‘%s’" msgid "Valid arguments are:" msgstr "Valid arguments are:" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "error while opening “%s” for reading" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "cannot open backup file “%s” for writing" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "error reading “%s”" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "error writing “%s”" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "error after reading “%s”" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Unknown system error" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s subprocess failed" @@ -147,7 +149,7 @@ msgstr "%s: option ‘-W %s’ is ambiguous\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: option ‘-W %s’ doesn't allow an argument\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "Java compiler not found, try installing gcj or set $JAVAC" @@ -155,29 +157,30 @@ msgstr "Java compiler not found, try installing gcj or set $JAVAC" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "Java virtual machine not found, try installing gij or set $JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "memory exhausted" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "cannot create pipe" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s subprocess" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s subprocess got fatal signal %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" @@ -185,16 +188,16 @@ msgstr "" "a format specification for argument %u, as in '%s', doesn't exist in " "‘msgid’" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "a format specification for argument %u doesn't exist in ‘%s’" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" @@ -202,14 +205,162 @@ msgstr "" "format specifications in ‘msgid’ and ‘%s’ for argument %u are " "not the same" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" +"In the directive number %u, the token after ‘<’ is not the name of a " +"format specifier macro. The valid macro names are listed in ISO C 99 section " +"7.8.1." + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" +"In the directive number %u, the token after ‘<’ is not followed by '>'." + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" +"The string refers to argument number %u but ignores argument number %u." + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" "number of format specifications in ‘msgid’ and ‘%s’ does not " "match" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "The string ends in the middle of a directive." + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" +"In the directive number %u, the argument number 0 is not a positive integer." + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" +"In the directive number %u, the character ‘%c’ is not a valid " +"conversion specifier." + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "The string refers to argument number %u in incompatible ways." + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" +"The string ends in the middle of a directive: found ‘{’ without " +"matching '}'." + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" +"In the directive number %u, ‘{’ is not followed by an argument number." + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" +"In the directive number %u, the substring “%s” is not a valid date/" +"time style." + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "In the directive number %u, “%s” is not followed by a comma." + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" +"In the directive number %u, the substring “%s” is not a valid number " +"style." + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of “%s”, “%s”, “%s”, “%s”." + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" +"The string starts in the middle of a directive: found ‘}’ without " +"matching '{'." + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "In the directive number %u, a choice contains no number." + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', ‘#’ or '%s'." + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " @@ -218,12 +369,12 @@ msgstr "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "‘msgid’" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "a format specification for argument {%u} doesn't exist in ‘%s’" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" @@ -231,20 +382,95 @@ msgstr "" "format specifications in ‘msgid’ and ‘%s’ for argument {%u} are " "not the same" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" +"In the directive number %u, parameter %u is of type ‘%s’ but a " +"parameter of type ‘%s’ is expected." + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "In the directive number %u, ‘%c’ is not followed by a digit." + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "In the directive number %u, the argument %d is negative." + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "The string ends in the middle of a ~/.../ directive." + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "Found ‘~%c’ without matching '~%c'." + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "In the directive number %u, both the @ and the : modifiers are given." + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" +"In the directive number %u, ‘~:[’ is not followed by two clauses, " +"separated by '~;'." + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "In the directive number %u, ‘~;’ is used in an invalid position." + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "The string refers to some argument in incompatible ways." + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" "format specifications in ‘msgid’ and ‘%s’ are not equivalent" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" "format specifications in ‘%s’ are not a subset of those in ‘msgid" "[0m’" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" +"The string refers to the argument named ‘%s’ in incompatible ways." + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -253,7 +479,7 @@ msgstr "" "format specifications in ‘msgid’ expect a mapping, those in ‘%s’ " "expect a tuple" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -262,7 +488,7 @@ msgstr "" "format specifications in ‘msgid’ expect a tuple, those in ‘%s’ " "expect a mapping" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " @@ -271,13 +497,13 @@ msgstr "" "a format specification for argument '%s', as in '%s', doesn't exist in " "‘msgid’" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "" "a format specification for argument ‘%s’ doesn't exist in ‘%s’" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" @@ -285,11 +511,29 @@ msgstr "" "format specifications in ‘msgid’ and ‘%s’ for argument ‘%s" "[0m’ are not the same" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" +"In the directive number %u, the character ‘%c’ is not a digit between " +"1 and 9." + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -300,100 +544,117 @@ msgstr "" "This is free software; see the source for copying conditions. There is NO\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Written by %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "too many arguments" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Try ‘%s --help’ for more information.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Usage: %s [OPTION]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Print the machine's hostname.\n" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" -msgstr "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" - -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" - -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "Output format:\n" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr " -s, --short short host name\n" + +#: src/hostname.c:215 +msgid "" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr " -i, --ip-address addresses for the hostname\n" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "Informative output:\n" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr " -h, --help display this help and exit\n" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr " -V, --version output version information and exit\n" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Report bugs to .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "could not get host name" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "at most one input file allowed" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s and %s are mutually exclusive" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Usage: %s [OPTION] [INPUTFILE]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -402,125 +663,252 @@ msgstr "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Mandatory arguments to long options are mandatory for short options too.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +msgid "Input file location:\n" +msgstr "Input file location:\n" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr " INPUTFILE input PO file\n" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "If no input file is given or if it is -, standard input is read.\n" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "Output file location:\n" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr " -o, --output-file=FILE write output to specified file\n" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "Message selection:\n" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove ‘fuzzy’ marked messages\n" -" --only-fuzzy keep ‘fuzzy’ marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" +" --untranslated keep untranslated, remove translated messages\n" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr " --no-fuzzy remove ‘fuzzy’ marked messages\n" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr " --only-fuzzy keep ‘fuzzy’ marked messages\n" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr " --no-obsolete remove obsolete #~ messages\n" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr " --only-obsolete keep obsolete #~ messages\n" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "Attribute manipulation:\n" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr " --set-fuzzy set all messages ‘fuzzy’\n" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr " --clear-fuzzy set all messages non-'fuzzy'\n" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr " --set-obsolete set all messages obsolete\n" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr " --clear-obsolete set all messages non-obsolete\n" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" -" --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" -" --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages ‘fuzzy’\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" +" --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" + +#: src/msgattrib.c:421 +msgid "" +" --obsolete synonym for --only-obsolete --clear-obsolete\n" +msgstr "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "Input file syntax:\n" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" +" -P, --properties-input input file is in Java .properties syntax\n" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "Output details:\n" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" +" -e, --no-escape do not use C escapes in output (default)\n" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" +msgstr "" +" -E, --escape use C escapes in output, no extended chars\n" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr " --force-po write PO file even if empty\n" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" " -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" +" --no-location do not write ‘#: filename:line’ lines\n" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" +" -n, --add-location generate ‘#: filename:line’ lines " +"(default)\n" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" +" --strict write out strict Uniforum conforming .po file\n" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr " -p, --properties-output write out a Java .properties file\n" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr " -w, --width=NUMBER set output page width\n" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr " -s, --sort-output generate sorted output\n" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr " -F, --sort-by-file sort output by file location\n" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "impossible selection criteria specified (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Usage: %s [OPTION] [INPUTFILE]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -543,117 +931,76 @@ msgstr "" "is specified, they will be taken from the first PO file to define them.\n" "File positions from all PO files will be cumulated.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr " INPUTFILE ... input files\n" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr " -f, --files-from=FILE get list of input files from FILE\n" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "If input file is -, standard input is read.\n" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" +" -P, --properties-input input files are in Java .properties syntax\n" + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr " -t, --to-code=NAME encoding for output\n" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "no input files given" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "exactly 2 input files required" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Usage: %s [OPTION] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -670,57 +1017,55 @@ msgstr "" "you have translated each and every message in your program. Where an exact\n" "match cannot be found, fuzzy matching is used to produce better diagnostics.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -msgstr "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" +msgstr " def.po translations\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr " ref.pot references to the sources\n" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "Operation modifiers:\n" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "this message is used but not defined..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...but this definition is similar" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "this message is used but not defined in %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "warning: this message is not used" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "found %d fatal error" msgstr[1] "found %d fatal errors" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "at least two files must be specified" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -741,156 +1086,96 @@ msgstr "" "PO file to define them. File positions from all PO files will be\n" "cumulated.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" - -#: src/msgcomm.c:363 -#, no-wrap +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with ‘msgid \"\"’ entry\n" - -#: src/msgconv.c:257 -#, no-wrap +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" +" --omit-header don't write header with ‘msgid \"\"’ " +"entry\n" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "Converts a translation catalog to a different character encoding.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" +msgstr "Conversion target:\n" + +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "The default encoding is the current locale's encoding.\n" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr " -i, --indent indented output style\n" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" msgstr "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +" --no-location suppress ‘#: filename:line’ lines\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress ‘#: filename:line’ lines\n" -" --add-location preserve ‘#: filename:line’ lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" --add-location preserve ‘#: filename:line’ lines " +"(default)\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr " --strict strict Uniforum output style\n" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "no input file given" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "exactly one input file required" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Usage: %s [OPTION] INPUTFILE\n" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" -msgstr "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" +msgstr " INPUTFILE input PO or POT file\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "missing command name" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -905,7 +1190,7 @@ msgstr "" "msgexec's output. msgexec's return code is the maximum return code\n" "across all invocations.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -914,48 +1199,37 @@ msgstr "" "A special builtin command called ‘0’ outputs the translation, followed by a\n" "null byte. The output of “msgexec 0” is suitable as input for “xargs -0”.\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" -msgstr "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" +msgstr " -i, --input=INPUTFILE input PO file\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "write to stdout failed" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "write to %s subprocess failed" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "missing filter name" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "at least one sed script must be specified" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Applies a filter to all translations of a translation catalog.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -963,70 +1237,68 @@ msgstr "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" -" to be executed\n" -" -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" +" to be executed\n" + +#: src/msgfilter.c:394 +msgid "" +" -n, --quiet, --silent suppress automatic printing of pattern space\n" +msgstr "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr " --indent indented output style\n" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress ‘#: filename:line’ lines\n" -" --add-location preserve ‘#: filename:line’ lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +msgstr "" +" --keep-header keep header entry unmodified, don't filter it\n" + +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "Not yet implemented." -#: src/msgfilter.c:531 +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "cannot set up nonblocking I/O to %s subprocess" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "communication with %s subprocess failed" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "read from %s subprocess failed" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "%s subprocess terminated with exit code %d" @@ -1036,18 +1308,18 @@ msgstr "%s subprocess terminated with exit code %d" msgid "the argument to %s should be a single punctuation character" msgstr "the argument to %s should be a single punctuation character" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s requires a “-d directory” specification" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s requires a “-l locale” specification" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s is only valid with %s" @@ -1057,182 +1329,232 @@ msgstr "%s is only valid with %s" msgid "%s is only valid with %s or %s" msgstr "%s is only valid with %s or %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d translated message" msgstr[1] "%d translated messages" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d fuzzy translation" msgstr[1] ", %d fuzzy translations" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d untranslated message" msgstr[1] ", %d untranslated messages" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Usage: %s [OPTION] filename.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" -msgstr "Generate binary message catalog from textual translation description.\n" +msgstr "" +"Generate binary message catalog from textual translation description.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" msgstr "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr " filename.po ... input files\n" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" +msgstr "Operation mode:\n" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" +msgstr "" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" + +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" + +#: src/msgfmt.c:529 +msgid "" " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" msgstr "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr " --strict enable strict Uniforum mode\n" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" +msgstr "If output file is -, output is written to standard output.\n" + +#: src/msgfmt.c:541 +msgid "Output file location in Java mode:\n" +msgstr "Output file location in Java mode:\n" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr " -r, --resource=RESOURCE resource name\n" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" -#: src/msgfmt.c:541 -#, no-wrap +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" +" -d DIRECTORY base directory of classes directory hierarchy\n" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" -#: src/msgfmt.c:552 -#, no-wrap -msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "Output file location in Tcl mode:\n" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" " -d DIRECTORY base directory of .msg message catalogs\n" + +#: src/msgfmt.c:561 +msgid "" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "Input file interpretation:\n" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" +" -c, --check perform all the checks implied by\n" +" --check-format, --check-header, --check-" +"domain\n" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" " --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" +" --check-header verify presence and contents of the header " +"entry\n" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" -" menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -"Input file interpretation:\n" -" -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" +" menu items\n" +msgstr "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr " -f, --use-fuzzy use fuzzy entries in output\n" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr " --statistics print statistics about translations\n" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr " -v, --verbose increase verbosity level\n" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "plural expression can produce negative values" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" "nplurals = %lu but plural expression can produce values as large as %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "plural expression can produce division by zero" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "plural expression can produce integer overflow" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" @@ -1240,51 +1562,51 @@ msgstr "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "message catalog has plural form translations..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...but header entry lacks a “plural=EXPRESSION” attribute" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...but header entry lacks a “nplurals=INTEGER” attribute" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "invalid nplurals value" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "invalid plural expression" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...but some messages have only one plural form" msgstr[1] "...but some messages have only %lu plural forms" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...but some messages have one plural form" msgstr[1] "...but some messages have %lu plural forms" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Try using the following, valid for %s:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1292,139 +1614,131 @@ msgstr "" "message catalog has plural form translations, but lacks a header entry with " "“Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;”" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "" "‘msgid’ and ‘msgid_plural’ entries do not both begin with ‘\\n" "[0m’" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "" "‘msgid’ and ‘msgstr[%u]’ entries do not both begin with ‘\\n" "[0m’" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "" "‘msgid’ and ‘msgstr’ entries do not both begin with ‘\\n’" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "" "‘msgid’ and ‘msgid_plural’ entries do not both end with ‘\\n" "[0m’" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "" "‘msgid’ and ‘msgstr[%u]’ entries do not both end with ‘\\n’" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "" "‘msgid’ and ‘msgstr’ entries do not both end with ‘\\n’" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "plural handling is a GNU gettext extension" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" -msgstr "‘%s’ is not a valid %s format string, unlike ‘msgid’" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" +msgstr "‘%s’ is not a valid %s format string, unlike 'msgid'. Reason: %s" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "msgstr lacks the keyboard accelerator mark ‘%c’" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "msgstr has too many keyboard accelerator marks ‘%c’" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "headerfield ‘%s’ missing in header\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "header field ‘%s’ should start at beginning of line\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "some header fields still have the initial default value\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "field ‘%s’ still has initial default value\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "warning: PO file header missing or invalid\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "warning: charset conversion will not work\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "warning: PO file header fuzzy\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "warning: older versions of msgfmt will give an error on this\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domain name “%s” not suitable as file name" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domain name “%s” not suitable as file name: will use prefix" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "‘domain %s’ directive ignored" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "duplicate message definition" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...this is the location of the first definition" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "empty ‘msgstr’ entry ignored" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "fuzzy ‘msgstr’ entry ignored" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: warning: source file contains fuzzy translation" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -"option ‘%c’ cannot be used before ‘K’ or ‘T’ has been " -"specified" +"option ‘%c’ cannot be used before ‘K’ or ‘T’ or ‘C’ " +"has been specified" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1433,7 +1747,7 @@ msgstr "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1457,6 +1771,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1484,48 +1799,32 @@ msgstr "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" " -f, --file=FILE obtain PATTERN from FILE\n" " -i, --ignore-case ignore case distinctions\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress ‘#: filename:line’ lines\n" -" --add-location preserve ‘#: filename:line’ lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr " --sort-output generate sorted output\n" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr " --sort-by-file sort output by file location\n" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "write to grep subprocess failed" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1535,7 +1834,7 @@ msgstr "" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1546,12 +1845,12 @@ msgstr "" "Please specify the locale through the --locale option or\n" "the output .po file through the --output-file option.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Created %s.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1560,50 +1859,43 @@ msgstr "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr " -i, --input=INPUTFILE input POT file\n" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr " -o, --output-file=FILE write output to specified PO file\n" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr " -l, --locale=LL_CC set target locale\n" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1611,11 +1903,11 @@ msgstr "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "error reading current directory" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1623,23 +1915,23 @@ msgstr "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() failed" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "%s subprocess I/O error" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s subprocess failed with exit code %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1656,22 +1948,22 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "English translations for %s package" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "present charset “%s” is not a portable encoding name" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "two different charsets “%s” and “%s” in input file" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" @@ -1679,7 +1971,7 @@ msgstr "" "input file ‘%s’ doesn't contain a header entry with a charset " "specification" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1688,17 +1980,18 @@ msgstr "" "domain “%s” in input file ‘%s’ doesn't contain a header entry " "with a charset specification" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "target charset “%s” is not a portable encoding name." -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "warning: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1706,7 +1999,7 @@ msgstr "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1772,15 +2065,15 @@ msgstr "" "Output of ‘%s’ might be incorrect.\n" "A possible workaround is to set LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "conversion failure" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "input file doesn't contain a header entry with a charset specification" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1789,7 +2082,7 @@ msgstr "" "Cannot convert from “%s” to “%s”. %s relies on iconv(), and iconv" "() does not support this conversion." -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1798,11 +2091,11 @@ msgstr "" "Cannot convert from “%s” to “%s”. %s relies on iconv(). This " "version was built without iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "backup type" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1825,98 +2118,91 @@ msgstr "" "comments and file positions will be preserved. Where an exact match\n" "cannot be found, fuzzy matching is used to produce better results.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr " def.po translations referring to old sources\n" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr " ref.pot references to new sources\n" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "Output file location in update mode:\n" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "The result is written back to def.po.\n" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr " --backup=CONTROL make a backup of def.po\n" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr " --suffix=SUFFIX override the usual backup suffix\n" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is ‘~’, unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is ‘~’, unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" -msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr " -N, --no-fuzzy-matching do not use fuzzy matching\n" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr " -q, --quiet, --silent suppress progress indicators\n" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "this message should define plural forms" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "this message should not define plural forms" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1925,129 +2211,77 @@ msgstr "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " "obsolete %ld.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " done.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s and explicit file names are mutually exclusive" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Usage: %s [OPTION] [FILE]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "Convert binary message catalog to Uniforum style .po file.\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr " FILE ... input .mo files\n" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "Input file location in Java mode:\n" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" -#: src/msgunfmt.c:357 -#, no-wrap +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" +msgstr "Input file location in Tcl mode:\n" + +#: src/msgunfmt.c:366 msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is located in the\n" "specified directory.\n" msgstr "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is located in the\n" "specified directory.\n" -#: src/msgunfmt.c:366 -#, no-wrap -msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" -msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" - -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" +msgstr " -i, --indent write indented output style\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" +msgstr " --strict write strict uniforum style\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2068,18 +2302,19 @@ msgstr "" "specified, they will be taken from the first translation. File positions\n" "will be cumulated. When using the --unique option, duplicates are discarded.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr " -d, --repeated print only duplicates\n" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2145,73 +2380,73 @@ msgstr "" "Charset missing in header.\n" "Message conversion to user's charset will not work.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "inconsistent use of #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "missing ‘msgstr[]’ section" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "missing ‘msgid_plural’ section" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "missing ‘msgstr’ section" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "first plural form has nonzero index" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "plural form has wrong index" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "too many errors, aborting" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "invalid multibyte sequence" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "incomplete multibyte sequence at end of file" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "incomplete multibyte sequence at end of line" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv failure" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "error while reading “%s”" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "keyword “%s” unknown" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "invalid control sequence" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "end-of-file within string" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "end-of-line within string" @@ -2235,12 +2470,24 @@ msgstr "file “%s” is not in GNU .mo format" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "file “%s” contains a not NUL terminated string, at %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "this file may not contain domain directives" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "duplicate message definition" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...this is the location of the first definition" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "expected two arguments" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Usage: %s [OPTION] URL FILE\n" @@ -2276,7 +2523,7 @@ msgstr "not a valid Java class name: %s" msgid "failed to create \"%s\"" msgstr "failed to create “%s”" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2286,12 +2533,12 @@ msgstr "error while writing “%s” file" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "compilation of Java class failed, please try --verbose or set $JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "error while opening “%s” for writing" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" @@ -2299,7 +2546,7 @@ msgstr "" "internationalized messages should not contain the ‘\\%c’ escape " "sequence" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2312,12 +2559,30 @@ msgstr "" "different from yours. Consider using a pure ASCII msgid instead.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using “msgfmt --java”, " +"instead of a properties file." + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "cannot create output file “%s”" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standard output" @@ -2330,7 +2595,7 @@ msgstr "" "message catalog has plural form translations\n" "but the Tcl message catalog format doesn't support plural handling\n" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: warning: unterminated string" @@ -2364,11 +2629,7 @@ msgstr "" "Language “glade” is not supported. %s relies on expat.\n" "This version was built without expat.\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "this file may not contain domain directives" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: warning: invalid Unicode character" @@ -2388,158 +2649,166 @@ msgstr "%s:%d: missing number after #" msgid "%s:%d: invalid string expression" msgstr "%s:%d: invalid string expression" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "--join-existing cannot be used when output is written to stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext cannot work without keywords to look for" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "warning: file ‘%s’ extension ‘%s’ is unknown; will try C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Extract translatable strings from given input files.\n" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr " -o, --output=FILE write output to specified file\n" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +msgid "Choice of input file language:\n" +msgstr "Choice of input file language:\n" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" -msgstr "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" - -#: src/xgettext.c:643 -#, no-wrap +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" +msgstr "" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" + +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr " -C, --c++ shorthand for --language=C++\n" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "By default the input files are assumed to be in ASCII.\n" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr " -j, --join-existing join messages with existing file\n" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" - -#: src/xgettext.c:670 -#, no-wrap +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" +msgstr "" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" + +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "Language=C/C++ specific options:\n" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr " -a, --extract-all extract all strings\n" + +#: src/xgettext.c:681 +msgid "" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr " -T, --trigraphs understand ANSI C trigraphs for input\n" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" +" --debug more detailed formatstring recognition result\n" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr " --properties-output write out a Java .properties file\n" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr " --copyright-holder=STRING set copyright holder in output\n" + +#: src/xgettext.c:720 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" -msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with ‘msgid \"\"’ entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" - -#: src/xgettext.c:879 +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" +" --foreign-user omit FSF copyright in output for foreign user\n" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standard input" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" @@ -2548,7 +2817,12 @@ msgstr "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "%s%s: warning: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2558,7 +2832,19 @@ msgstr "" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a ‘Makevars’ file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "language ‘%s’ unknown" diff --git a/gettext-tools/po/en@quot.po b/gettext-tools/po/en@quot.po index ca8371e38..6178e2e9e 100644 --- a/gettext-tools/po/en@quot.po +++ b/gettext-tools/po/en@quot.po @@ -28,8 +28,9 @@ msgid "" msgstr "" "Project-Id-Version: gettext-tools\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" -"PO-Revision-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" +"PO-Revision-Date: 2003-05-17 17:25+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" @@ -51,40 +52,41 @@ msgstr "ambiguous argument ‘%s’ for ‘%s’" msgid "Valid arguments are:" msgstr "Valid arguments are:" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "error while opening “%s” for reading" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "cannot open backup file “%s” for writing" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "error reading “%s”" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "error writing “%s”" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "error after reading “%s”" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Unknown system error" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s subprocess failed" @@ -144,7 +146,7 @@ msgstr "%s: option ‘-W %s’ is ambiguous\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: option ‘-W %s’ doesn't allow an argument\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "Java compiler not found, try installing gcj or set $JAVAC" @@ -152,57 +154,202 @@ msgstr "Java compiler not found, try installing gcj or set $JAVAC" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "Java virtual machine not found, try installing gij or set $JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "memory exhausted" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "cannot create pipe" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s subprocess" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s subprocess got fatal signal %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "" "a format specification for argument %u, as in '%s', doesn't exist in ‘msgid’" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "a format specification for argument %u doesn't exist in ‘%s’" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "" "format specifications in ‘msgid’ and ‘%s’ for argument %u are not the same" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" +"In the directive number %u, the token after ‘<’ is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" +"In the directive number %u, the token after ‘<’ is not followed by '>'." + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" +"The string refers to argument number %u but ignores argument number %u." + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "number of format specifications in ‘msgid’ and ‘%s’ does not match" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "The string ends in the middle of a directive." + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" +"In the directive number %u, the argument number 0 is not a positive integer." + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" +"In the directive number %u, the character ‘%c’ is not a valid conversion " +"specifier." + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "The string refers to argument number %u in incompatible ways." + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" +"The string ends in the middle of a directive: found ‘{’ without matching '}'." + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "In the directive number %u, ‘{’ is not followed by an argument number." + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" +"In the directive number %u, the substring “%s” is not a valid date/time " +"style." + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "In the directive number %u, “%s” is not followed by a comma." + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" +"In the directive number %u, the substring “%s” is not a valid number style." + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of “%s”, “%s”, “%s”, “%s”." + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" +"The string starts in the middle of a directive: found ‘}’ without matching " +"'{'." + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "In the directive number %u, a choice contains no number." + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', ‘#’ or '%s'." + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " @@ -211,29 +358,103 @@ msgstr "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "‘msgid’" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "a format specification for argument {%u} doesn't exist in ‘%s’" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "" "format specifications in ‘msgid’ and ‘%s’ for argument {%u} are not the same" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" +"In the directive number %u, parameter %u is of type ‘%s’ but a parameter of " +"type ‘%s’ is expected." + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "In the directive number %u, ‘%c’ is not followed by a digit." + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "In the directive number %u, the argument %d is negative." + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "The string ends in the middle of a ~/.../ directive." + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "Found ‘~%c’ without matching '~%c'." + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "In the directive number %u, both the @ and the : modifiers are given." + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" +"In the directive number %u, ‘~:[’ is not followed by two clauses, separated " +"by '~;'." + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "In the directive number %u, ‘~;’ is used in an invalid position." + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "The string refers to some argument in incompatible ways." + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "format specifications in ‘msgid’ and ‘%s’ are not equivalent" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "format specifications in ‘%s’ are not a subset of those in ‘msgid’" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "The string refers to the argument named ‘%s’ in incompatible ways." + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -242,7 +463,7 @@ msgstr "" "format specifications in ‘msgid’ expect a mapping, those in ‘%s’ expect a " "tuple" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -251,7 +472,7 @@ msgstr "" "format specifications in ‘msgid’ expect a tuple, those in ‘%s’ expect a " "mapping" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " @@ -260,23 +481,41 @@ msgstr "" "a format specification for argument '%s', as in '%s', doesn't exist in " "‘msgid’" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "a format specification for argument ‘%s’ doesn't exist in ‘%s’" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "" "format specifications in ‘msgid’ and ‘%s’ for argument ‘%s’ are not the same" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" +"In the directive number %u, the character ‘%c’ is not a digit between 1 and " +"9." + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -287,100 +526,117 @@ msgstr "" "This is free software; see the source for copying conditions. There is NO\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Written by %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "too many arguments" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Try ‘%s --help’ for more information.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Usage: %s [OPTION]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Print the machine's hostname.\n" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" -msgstr "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" - -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" - -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "Output format:\n" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr " -s, --short short host name\n" + +#: src/hostname.c:215 +msgid "" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr " -i, --ip-address addresses for the hostname\n" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "Informative output:\n" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr " -h, --help display this help and exit\n" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr " -V, --version output version information and exit\n" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Report bugs to .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "could not get host name" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "at most one input file allowed" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s and %s are mutually exclusive" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Usage: %s [OPTION] [INPUTFILE]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -389,125 +645,250 @@ msgstr "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Mandatory arguments to long options are mandatory for short options too.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +msgid "Input file location:\n" +msgstr "Input file location:\n" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr " INPUTFILE input PO file\n" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "If no input file is given or if it is -, standard input is read.\n" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "Output file location:\n" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr " -o, --output-file=FILE write output to specified file\n" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "Message selection:\n" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove ‘fuzzy’ marked messages\n" -" --only-fuzzy keep ‘fuzzy’ marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" +" --untranslated keep untranslated, remove translated messages\n" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr " --no-fuzzy remove ‘fuzzy’ marked messages\n" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr " --only-fuzzy keep ‘fuzzy’ marked messages\n" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr " --no-obsolete remove obsolete #~ messages\n" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr " --only-obsolete keep obsolete #~ messages\n" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "Attribute manipulation:\n" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr " --set-fuzzy set all messages ‘fuzzy’\n" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr " --clear-fuzzy set all messages non-'fuzzy'\n" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr " --set-obsolete set all messages obsolete\n" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr " --clear-obsolete set all messages non-obsolete\n" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" -" --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" -" --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages ‘fuzzy’\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" +" --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" + +#: src/msgattrib.c:421 +msgid "" +" --obsolete synonym for --only-obsolete --clear-obsolete\n" +msgstr "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "Input file syntax:\n" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" +" -P, --properties-input input file is in Java .properties syntax\n" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "Output details:\n" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" +" -e, --no-escape do not use C escapes in output (default)\n" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" +" -E, --escape use C escapes in output, no extended chars\n" +msgstr "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr " --force-po write PO file even if empty\n" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" " -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr " --no-location do not write ‘#: filename:line’ lines\n" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" +" -n, --add-location generate ‘#: filename:line’ lines (default)\n" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" +" --strict write out strict Uniforum conforming .po file\n" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr " -p, --properties-output write out a Java .properties file\n" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr " -w, --width=NUMBER set output page width\n" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr " -s, --sort-output generate sorted output\n" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr " -F, --sort-by-file sort output by file location\n" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "impossible selection criteria specified (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Usage: %s [OPTION] [INPUTFILE]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -530,117 +911,76 @@ msgstr "" "is specified, they will be taken from the first PO file to define them.\n" "File positions from all PO files will be cumulated.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr " INPUTFILE ... input files\n" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr " -f, --files-from=FILE get list of input files from FILE\n" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "If input file is -, standard input is read.\n" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" +" -P, --properties-input input files are in Java .properties syntax\n" + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr " -t, --to-code=NAME encoding for output\n" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "no input files given" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "exactly 2 input files required" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Usage: %s [OPTION] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -657,57 +997,55 @@ msgstr "" "you have translated each and every message in your program. Where an exact\n" "match cannot be found, fuzzy matching is used to produce better diagnostics.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -msgstr "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" +msgstr " def.po translations\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr " ref.pot references to the sources\n" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "Operation modifiers:\n" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "this message is used but not defined..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...but this definition is similar" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "this message is used but not defined in %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "warning: this message is not used" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "found %d fatal error" msgstr[1] "found %d fatal errors" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "at least two files must be specified" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -728,156 +1066,93 @@ msgstr "" "PO file to define them. File positions from all PO files will be\n" "cumulated.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" - -#: src/msgcomm.c:363 -#, no-wrap +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with ‘msgid \"\"’ entry\n" - -#: src/msgconv.c:257 -#, no-wrap +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" +" --omit-header don't write header with ‘msgid \"\"’ entry\n" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "Converts a translation catalog to a different character encoding.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" -msgstr "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" +msgstr "Conversion target:\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "The default encoding is the current locale's encoding.\n" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr " -i, --indent indented output style\n" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr " --no-location suppress ‘#: filename:line’ lines\n" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress ‘#: filename:line’ lines\n" " --add-location preserve ‘#: filename:line’ lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr " --strict strict Uniforum output style\n" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "no input file given" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "exactly one input file required" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Usage: %s [OPTION] INPUTFILE\n" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" -msgstr "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" +msgstr " INPUTFILE input PO or POT file\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "missing command name" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -892,7 +1167,7 @@ msgstr "" "msgexec's output. msgexec's return code is the maximum return code\n" "across all invocations.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -901,48 +1176,37 @@ msgstr "" "A special builtin command called ‘0’ outputs the translation, followed by a\n" "null byte. The output of “msgexec 0” is suitable as input for “xargs -0”.\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" -msgstr "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" +msgstr " -i, --input=INPUTFILE input PO file\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "write to stdout failed" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "write to %s subprocess failed" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "missing filter name" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "at least one sed script must be specified" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Applies a filter to all translations of a translation catalog.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -950,70 +1214,68 @@ msgstr "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" -" to be executed\n" -" -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" +" to be executed\n" + +#: src/msgfilter.c:394 +msgid "" +" -n, --quiet, --silent suppress automatic printing of pattern space\n" +msgstr "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr " --indent indented output style\n" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress ‘#: filename:line’ lines\n" -" --add-location preserve ‘#: filename:line’ lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +msgstr "" +" --keep-header keep header entry unmodified, don't filter it\n" + +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "Not yet implemented." -#: src/msgfilter.c:531 +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "cannot set up nonblocking I/O to %s subprocess" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "communication with %s subprocess failed" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "read from %s subprocess failed" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "%s subprocess terminated with exit code %d" @@ -1023,18 +1285,18 @@ msgstr "%s subprocess terminated with exit code %d" msgid "the argument to %s should be a single punctuation character" msgstr "the argument to %s should be a single punctuation character" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s requires a “-d directory” specification" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s requires a “-l locale” specification" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s is only valid with %s" @@ -1044,182 +1306,232 @@ msgstr "%s is only valid with %s" msgid "%s is only valid with %s or %s" msgstr "%s is only valid with %s or %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d translated message" msgstr[1] "%d translated messages" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d fuzzy translation" msgstr[1] ", %d fuzzy translations" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d untranslated message" msgstr[1] ", %d untranslated messages" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Usage: %s [OPTION] filename.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" -msgstr "Generate binary message catalog from textual translation description.\n" +msgstr "" +"Generate binary message catalog from textual translation description.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" msgstr "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr " filename.po ... input files\n" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" +msgstr "Operation mode:\n" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" +msgstr "" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" + +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" + +#: src/msgfmt.c:529 +msgid "" " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" msgstr "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr " --strict enable strict Uniforum mode\n" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" +msgstr "If output file is -, output is written to standard output.\n" + +#: src/msgfmt.c:541 +msgid "Output file location in Java mode:\n" +msgstr "Output file location in Java mode:\n" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr " -r, --resource=RESOURCE resource name\n" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" -#: src/msgfmt.c:541 -#, no-wrap +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" +" -d DIRECTORY base directory of classes directory hierarchy\n" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" -#: src/msgfmt.c:552 -#, no-wrap -msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "Output file location in Tcl mode:\n" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" " -d DIRECTORY base directory of .msg message catalogs\n" + +#: src/msgfmt.c:561 +msgid "" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "Input file interpretation:\n" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" +" -c, --check perform all the checks implied by\n" +" --check-format, --check-header, --check-" +"domain\n" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" " --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" +" --check-header verify presence and contents of the header " +"entry\n" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" -" menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -"Input file interpretation:\n" -" -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" +" menu items\n" +msgstr "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr " -f, --use-fuzzy use fuzzy entries in output\n" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr " --statistics print statistics about translations\n" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr " -v, --verbose increase verbosity level\n" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "plural expression can produce negative values" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" "nplurals = %lu but plural expression can produce values as large as %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "plural expression can produce division by zero" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "plural expression can produce integer overflow" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" @@ -1227,51 +1539,51 @@ msgstr "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "message catalog has plural form translations..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...but header entry lacks a “plural=EXPRESSION” attribute" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...but header entry lacks a “nplurals=INTEGER” attribute" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "invalid nplurals value" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "invalid plural expression" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...but some messages have only one plural form" msgstr[1] "...but some messages have only %lu plural forms" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...but some messages have one plural form" msgstr[1] "...but some messages have %lu plural forms" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Try using the following, valid for %s:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1279,128 +1591,120 @@ msgstr "" "message catalog has plural form translations, but lacks a header entry with " "“Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;”" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "‘msgid’ and ‘msgid_plural’ entries do not both begin with ‘\\n’" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "‘msgid’ and ‘msgstr[%u]’ entries do not both begin with ‘\\n’" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "‘msgid’ and ‘msgstr’ entries do not both begin with ‘\\n’" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "‘msgid’ and ‘msgid_plural’ entries do not both end with ‘\\n’" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "‘msgid’ and ‘msgstr[%u]’ entries do not both end with ‘\\n’" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "‘msgid’ and ‘msgstr’ entries do not both end with ‘\\n’" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "plural handling is a GNU gettext extension" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" -msgstr "‘%s’ is not a valid %s format string, unlike ‘msgid’" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" +msgstr "‘%s’ is not a valid %s format string, unlike 'msgid'. Reason: %s" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "msgstr lacks the keyboard accelerator mark ‘%c’" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "msgstr has too many keyboard accelerator marks ‘%c’" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "headerfield ‘%s’ missing in header\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "header field ‘%s’ should start at beginning of line\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "some header fields still have the initial default value\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "field ‘%s’ still has initial default value\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "warning: PO file header missing or invalid\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "warning: charset conversion will not work\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "warning: PO file header fuzzy\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "warning: older versions of msgfmt will give an error on this\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domain name “%s” not suitable as file name" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domain name “%s” not suitable as file name: will use prefix" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "‘domain %s’ directive ignored" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "duplicate message definition" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...this is the location of the first definition" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "empty ‘msgstr’ entry ignored" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "fuzzy ‘msgstr’ entry ignored" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: warning: source file contains fuzzy translation" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" -msgstr "option ‘%c’ cannot be used before ‘K’ or ‘T’ has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" +msgstr "option ‘%c’ cannot be used before ‘K’ or ‘T’ or ‘C’ has been specified" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1409,7 +1713,7 @@ msgstr "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1433,6 +1737,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1460,48 +1765,32 @@ msgstr "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" " -f, --file=FILE obtain PATTERN from FILE\n" " -i, --ignore-case ignore case distinctions\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress ‘#: filename:line’ lines\n" -" --add-location preserve ‘#: filename:line’ lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr " --sort-output generate sorted output\n" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr " --sort-by-file sort output by file location\n" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "write to grep subprocess failed" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1511,7 +1800,7 @@ msgstr "" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1522,12 +1811,12 @@ msgstr "" "Please specify the locale through the --locale option or\n" "the output .po file through the --output-file option.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Created %s.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1536,50 +1825,43 @@ msgstr "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr " -i, --input=INPUTFILE input POT file\n" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr " -o, --output-file=FILE write output to specified PO file\n" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr " -l, --locale=LL_CC set target locale\n" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1587,11 +1869,11 @@ msgstr "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "error reading current directory" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1599,23 +1881,23 @@ msgstr "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() failed" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "%s subprocess I/O error" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s subprocess failed with exit code %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1632,29 +1914,29 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "English translations for %s package" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "present charset “%s” is not a portable encoding name" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "two different charsets “%s” and “%s” in input file" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" "input file ‘%s’ doesn't contain a header entry with a charset specification" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1663,17 +1945,18 @@ msgstr "" "domain “%s” in input file ‘%s’ doesn't contain a header entry with a charset " "specification" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "target charset “%s” is not a portable encoding name." -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "warning: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1681,7 +1964,7 @@ msgstr "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1747,15 +2030,15 @@ msgstr "" "Output of ‘%s’ might be incorrect.\n" "A possible workaround is to set LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "conversion failure" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "input file doesn't contain a header entry with a charset specification" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1764,7 +2047,7 @@ msgstr "" "Cannot convert from “%s” to “%s”. %s relies on iconv(), and iconv() does not " "support this conversion." -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1773,11 +2056,11 @@ msgstr "" "Cannot convert from “%s” to “%s”. %s relies on iconv(). This version was " "built without iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "backup type" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1800,98 +2083,91 @@ msgstr "" "comments and file positions will be preserved. Where an exact match\n" "cannot be found, fuzzy matching is used to produce better results.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr " def.po translations referring to old sources\n" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr " ref.pot references to new sources\n" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "Output file location in update mode:\n" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "The result is written back to def.po.\n" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr " --backup=CONTROL make a backup of def.po\n" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr " --suffix=SUFFIX override the usual backup suffix\n" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is ‘~’, unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is ‘~’, unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" -msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr " -N, --no-fuzzy-matching do not use fuzzy matching\n" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr " -q, --quiet, --silent suppress progress indicators\n" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "this message should define plural forms" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "this message should not define plural forms" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1900,129 +2176,77 @@ msgstr "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " "obsolete %ld.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " done.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s and explicit file names are mutually exclusive" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Usage: %s [OPTION] [FILE]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "Convert binary message catalog to Uniforum style .po file.\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr " FILE ... input .mo files\n" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "Input file location in Java mode:\n" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" -#: src/msgunfmt.c:357 -#, no-wrap +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" +msgstr "Input file location in Tcl mode:\n" + +#: src/msgunfmt.c:366 msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is located in the\n" "specified directory.\n" msgstr "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is located in the\n" "specified directory.\n" -#: src/msgunfmt.c:366 -#, no-wrap -msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" -msgstr "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" - -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" +msgstr " -i, --indent write indented output style\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -msgstr "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" +msgstr " --strict write strict uniforum style\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2043,18 +2267,19 @@ msgstr "" "specified, they will be taken from the first translation. File positions\n" "will be cumulated. When using the --unique option, duplicates are discarded.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr " -d, --repeated print only duplicates\n" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2120,73 +2345,73 @@ msgstr "" "Charset missing in header.\n" "Message conversion to user's charset will not work.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "inconsistent use of #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "missing ‘msgstr[]’ section" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "missing ‘msgid_plural’ section" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "missing ‘msgstr’ section" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "first plural form has nonzero index" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "plural form has wrong index" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "too many errors, aborting" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "invalid multibyte sequence" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "incomplete multibyte sequence at end of file" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "incomplete multibyte sequence at end of line" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv failure" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "error while reading “%s”" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "keyword “%s” unknown" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "invalid control sequence" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "end-of-file within string" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "end-of-line within string" @@ -2210,12 +2435,24 @@ msgstr "file “%s” is not in GNU .mo format" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "file “%s” contains a not NUL terminated string, at %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "this file may not contain domain directives" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "duplicate message definition" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...this is the location of the first definition" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "expected two arguments" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Usage: %s [OPTION] URL FILE\n" @@ -2251,7 +2488,7 @@ msgstr "not a valid Java class name: %s" msgid "failed to create \"%s\"" msgstr "failed to create “%s”" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2261,19 +2498,19 @@ msgstr "error while writing “%s” file" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "compilation of Java class failed, please try --verbose or set $JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "error while opening “%s” for writing" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "internationalized messages should not contain the ‘\\%c’ escape sequence" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2286,12 +2523,30 @@ msgstr "" "different from yours. Consider using a pure ASCII msgid instead.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using “msgfmt --java”, instead of " +"a properties file." + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "cannot create output file “%s”" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standard output" @@ -2304,7 +2559,7 @@ msgstr "" "message catalog has plural form translations\n" "but the Tcl message catalog format doesn't support plural handling\n" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: warning: unterminated string" @@ -2338,11 +2593,7 @@ msgstr "" "Language “glade” is not supported. %s relies on expat.\n" "This version was built without expat.\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "this file may not contain domain directives" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: warning: invalid Unicode character" @@ -2362,158 +2613,166 @@ msgstr "%s:%d: missing number after #" msgid "%s:%d: invalid string expression" msgstr "%s:%d: invalid string expression" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "--join-existing cannot be used when output is written to stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext cannot work without keywords to look for" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "warning: file ‘%s’ extension ‘%s’ is unknown; will try C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Extract translatable strings from given input files.\n" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr " -o, --output=FILE write output to specified file\n" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +msgid "Choice of input file language:\n" +msgstr "Choice of input file language:\n" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" -msgstr "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" - -#: src/xgettext.c:643 -#, no-wrap +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" +msgstr "" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" + +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr " -C, --c++ shorthand for --language=C++\n" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "By default the input files are assumed to be in ASCII.\n" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr " -j, --join-existing join messages with existing file\n" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" - -#: src/xgettext.c:670 -#, no-wrap +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" +msgstr "" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" + +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "Language=C/C++ specific options:\n" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr " -a, --extract-all extract all strings\n" + +#: src/xgettext.c:681 +msgid "" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr " -T, --trigraphs understand ANSI C trigraphs for input\n" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" +" --debug more detailed formatstring recognition result\n" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr " --properties-output write out a Java .properties file\n" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr " --copyright-holder=STRING set copyright holder in output\n" + +#: src/xgettext.c:720 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" -msgstr "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write ‘#: filename:line’ lines\n" -" -n, --add-location generate ‘#: filename:line’ lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with ‘msgid \"\"’ entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" - -#: src/xgettext.c:879 +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" +" --foreign-user omit FSF copyright in output for foreign user\n" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standard input" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" @@ -2522,7 +2781,12 @@ msgstr "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "%s%s: warning: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2532,7 +2796,19 @@ msgstr "" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a ‘Makevars’ file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "language ‘%s’ unknown" diff --git a/gettext-tools/po/es.po b/gettext-tools/po/es.po index b56df687e..e8d0d2932 100644 --- a/gettext-tools/po/es.po +++ b/gettext-tools/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-tools 0.12-pre4\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-05-06 14:06+0200\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-05-09 12:49-0500\n" "Last-Translator: Max de Mendizábal \n" "Language-Team: Spanish \n" @@ -58,11 +58,11 @@ msgstr "error despu # Nota: El error es del sistema, pero no se sabe cuál es el error, # por eso es (además) desconocido. -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Error del sistema desconocido" -#: lib/execute.c:176 lib/execute.c:227 lib/execute.c:262 lib/pipe-bidi.c:174 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 #: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 #: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 #: lib/wait-process.c:147 @@ -510,7 +510,7 @@ msgstr "" #: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 #: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 -#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:245 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 #: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 #: src/xgettext.c:411 #, c-format, no-wrap @@ -526,27 +526,27 @@ msgstr "" #: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 #: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 -#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:250 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 #: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 #: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Escrito por %s.\n" -#: src/hostname.c:187 src/msginit.c:260 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "demasiados argumentos" #: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 #: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 -#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:335 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 #: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 #: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Pruebe `%s --help' para más información.\n" -#: src/hostname.c:204 src/msginit.c:339 +#: src/hostname.c:204 src/msginit.c:344 #, c-format msgid "Usage: %s [OPTION]\n" msgstr "Modo de empleo: %s [OPCIÓN]\n" @@ -580,7 +580,7 @@ msgstr "" #: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 #: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 -#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:387 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 #: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 #: src/xgettext.c:729 msgid "Informative output:\n" @@ -588,7 +588,7 @@ msgstr "Salida informativa:\n" #: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 #: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 -#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:389 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 #: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 #: src/xgettext.c:731 msgid " -h, --help display this help and exit\n" @@ -596,7 +596,7 @@ msgstr " -h, --help muestra esta ayuda y finaliza\n" #: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 #: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 -#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:391 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 #: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 #: src/xgettext.c:733 msgid " -V, --version output version information and exit\n" @@ -604,7 +604,7 @@ msgstr " -V, --version muestra la versi #: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 #: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 -#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:394 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 #: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 #: src/xgettext.c:736 msgid "Report bugs to .\n" @@ -615,7 +615,7 @@ msgid "could not get host name" msgstr "no se pudo obtener el nombre de la máquina" #: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 -#: src/msggrep.c:316 src/msginit.c:191 src/msguniq.c:244 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "sólo se permite un fichero de entrada máximo" @@ -646,7 +646,7 @@ msgstr "" #: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 #: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 -#: src/msggrep.c:429 src/msginit.c:349 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 #: src/msguniq.c:305 msgid "" "Mandatory arguments to long options are mandatory for short options too.\n" @@ -657,7 +657,7 @@ msgstr "" # acepto sugerencia de em pero agrego un "el". mm #: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 #: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 -#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:352 src/msgmerge.c:423 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 #: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 msgid "Input file location:\n" msgstr "Localización del fichero de entrada:\n" @@ -686,7 +686,7 @@ msgstr "" #: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 #: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 -#: src/msginit.c:360 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 #: src/xgettext.c:636 msgid "Output file location:\n" msgstr "Localización del fichero de salida:\n" @@ -797,13 +797,13 @@ msgstr "" #: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 #: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 -#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:368 src/msgmerge.c:476 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 #: src/msguniq.c:332 msgid "Input file syntax:\n" msgstr "Sintáxis del fichero de entrada:\n" #: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 -#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:370 src/msguniq.c:334 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 msgid "" " -P, --properties-input input file is in Java .properties syntax\n" msgstr "" @@ -812,7 +812,7 @@ msgstr "" #: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 #: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 -#: src/msginit.c:373 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 #: src/xgettext.c:689 msgid "Output details:\n" msgstr "Detalles de salida:\n" @@ -870,19 +870,19 @@ msgstr "" " --strict escribe un fichero .po con Uniforum estricto\n" #: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 -#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:379 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 #: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 msgid " -p, --properties-output write out a Java .properties file\n" msgstr " -p, --properties-output escribe un fichero .properties de Java\n" #: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 -#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:381 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 #: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 msgid " -w, --width=NUMBER set output page width\n" msgstr " -w, --width=NÚMERO pone la anchura de la página de salida\n" #: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 -#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:383 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 #: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 msgid "" " --no-wrap do not break long message lines, longer than\n" @@ -2014,7 +2014,7 @@ msgstr "" msgid "write to grep subprocess failed" msgstr "fallo en la escritura al subproceso grep" -#: src/msginit.c:273 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -2024,7 +2024,7 @@ msgstr "" "de entorno LANG, tal como se describe en el fichero ABOUT-NLS. Esto\n" "es necesario para que se puedan probar las traducciones.\n" -#: src/msginit.c:301 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -2035,12 +2035,12 @@ msgstr "" "Favor de especificar el formato local a través de la opción --locale o\n" "el fichero de salida .po a través de la opción --output-file.\n" -#: src/msginit.c:324 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Creado %s.\n" -#: src/msginit.c:344 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -2049,11 +2049,11 @@ msgstr "" "Crea un nuevo fichero PO, inicializando la metainformación con valores\n" "tomados del entorno del usuario.\n" -#: src/msginit.c:354 +#: src/msginit.c:359 msgid " -i, --input=INPUTFILE input POT file\n" msgstr " -i, --input=FICHEROENTRADA fichero de entrada POT\n" -#: src/msginit.c:356 +#: src/msginit.c:361 msgid "" "If no input file is given, the current directory is searched for the POT " "file.\n" @@ -2062,12 +2062,12 @@ msgstr "" "Si no se da el fichero de entrada, el fichero POT se busca en el directorio\n" "actual. Si es -, se lee la entrada estándar.\n" -#: src/msginit.c:362 +#: src/msginit.c:367 msgid " -o, --output-file=FILE write output to specified PO file\n" msgstr "" " -o, --output-file=FICHERO escribe la salida al fichero PO especificado\n" -#: src/msginit.c:364 +#: src/msginit.c:369 msgid "" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" @@ -2076,19 +2076,19 @@ msgstr "" "de la selección local del usuario. Si es -, los resultados se escriben en\n" "la salida estándar.\n" -#: src/msginit.c:375 +#: src/msginit.c:380 msgid " -l, --locale=LL_CC set target locale\n" msgstr "" " -o, --output-file=FICHERO escribe la salida al fichero PO especificado\n" -#: src/msginit.c:377 +#: src/msginit.c:382 msgid "" " --no-translator assume the PO file is automatically generated\n" msgstr "" " --no-translator supone que el fichero PO será generado\n" " automáticamente\n" -#: src/msginit.c:431 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -2097,11 +2097,11 @@ msgstr "" "Favor de especificar el fichero .pot de entrada utilizando la opción --" "input\n" -#: src/msginit.c:439 src/msginit.c:444 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "error en la lectura del directorio actual" -#: src/msginit.c:452 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -2110,23 +2110,23 @@ msgstr "" "Favor de especificar el fichero .pot de entrada utilizando la opción --" "input\n" -#: src/msginit.c:900 src/msginit.c:952 src/msginit.c:1095 src/msginit.c:1162 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 #: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fallo en fdopen()" -#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "error de E/S en el subproceso %s" -#: src/msginit.c:914 src/msginit.c:966 src/msginit.c:1109 src/msginit.c:1176 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 #: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "fallo en el subproceso %s con código de salida %d" -#: src/msginit.c:1085 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -2142,19 +2142,19 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1444 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Traducciones al español para el paquete %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" "el conjunto de caracteres actual \"%s\" no es un nombre de codificación " "portátil" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" @@ -2178,7 +2178,7 @@ msgstr "" "el dominio \"%s\" en el fichero de entrada `%s' no contiene una línea de\n" "encabezado con la especificación del conjunto de caracteres" -#: src/msgl-cat.c:380 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" @@ -2265,17 +2265,17 @@ msgstr "" "La salida de '%s' podría ser incorrecta.\n" "Una alternativa posible s poner LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "falla de conversión" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" "El fichero de entrada no contiene una línea de encabezado que especifique el " "conjunto de caracteres" -#: src/msgl-iconv.c:353 src/xgettext.c:501 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -2284,7 +2284,7 @@ msgstr "" "No se puede convertir de \"%s\" a \"%s\". %s se basa en iconv(), e iconv()\n" "no soporta este tipo de conversión." -#: src/msgl-iconv.c:370 src/xgettext.c:508 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " diff --git a/gettext-tools/po/et.po b/gettext-tools/po/et.po index 827e6cce1..8a5c164f2 100644 --- a/gettext-tools/po/et.po +++ b/gettext-tools/po/et.po @@ -4,7 +4,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.37\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2001-04-30 16:25+0200\n" "Last-Translator: Ivar Smolin \n" "Language-Team: Estonian \n" @@ -27,40 +28,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "viga faili \"%s\" avamisel (lugemiseks)" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "viga faili \"%s\" avamisel (kirjutamiseks)" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "viga \"%s\" lugemisel" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "viga faili \"%s\" kirjutamisel" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "viga \"%s\" lugemisel" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Tundmatu süsteemne viga" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -120,7 +122,7 @@ msgstr "%s: v msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: võtmel `-W %s' ei tohi olla argumente\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -128,120 +130,320 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "mälu sai otsa" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "ei suuda luua väljundfaili \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "vormingukirjeldused `msgid' ja `msgstr' kirjetel ei ole sarnased" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "vormingukirjeldused `msgid' ja `msgstr' kirjetel ei ole sarnased" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "vormingukirjeldused `msgid' ja `msgstr' kirjetel ei ole sarnased" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "vormingukirjeldused `msgid' ja `msgstr' kirjetel ei ole sarnased" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "vormingukirjeldused argumendi %lu jaoks ei ole sarnased" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -254,204 +456,365 @@ msgstr "" "TEATUD KINDLAKS EESMÄRGIKS. Üksikasjade suhtes vaata GNU Üldist Avalikku\n" "Litsentsi.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Selle programmi on kirjutanud %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "liiga palju argumente" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Täiendava info saamiseks proovi `%s --help'.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Vigadest teata aadressile .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "vaja läheb täpselt kahte sisendfaili" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s ja %s on vastastikku välistavad" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "sisendfail on määramata" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Kasutamine: %s [VÕTI] def.po ref.po\n" +"Kasutamine: %s [VÕTI] [FAIL]...\n" "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" "lühikesetele.\n" -" -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" -" kui üks\n" -" -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" -" nimekirja\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" -" (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab programmi\n" -" töö\n" -" -i, --indent kirjutab .po faili, kasutades taandridu\n" -" -o, --output-file=FAIL määrab väljundfaili nime\n" -" --no-location keelab '#: failinimi:reanumber' ridade\n" -" kirjutamise\n" -" -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" -" (vaikimisi)\n" -" --strict rakendab ranget Uniforum meetodit\n" -" -v, --verbose suurendab väljastatava teabe hulka\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" +" -e, --no-escape keelab C erimärkide kasutamise tulemuses " +"(vaikimisi)\n" +" -E, --escape määrab C erimärkide kasutamise tulemuses\n" +" --force-po kirjutab PO faili ka siis, kui see on tühi\n" +" -h, --help väljastab käesoleva abiinfo ja lõpetab\n" +" programmi töö\n" +" -i, --indent joondab tulemuse\n" +" -o, --output-file=FAIL kirjutab tulemuse standardväljundi asemel FAIL'i\n" +" --strict kasutab tulemuses 'ranget' uniforum stiili\n" +" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" +" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "lubamatu valikukriteeriumi kirjeldus (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -479,118 +842,67 @@ msgstr "" "comments) jäetakse alles ainult esimesena kirjeldatud PO failist.\n" "Positsioonikirjeldused võetakse ja säilitatakse kõikidest PO failidest.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -" -<, --less-than=NUMBER trükib stringid, mida esineb vähem kui NUMBER\n" -" korda (vaikimisi piiramatult)\n" -" ->, --more-than=NUMBER trükib stringid, mida esineb rohkem kui NUMBER\n" -" korda (vaikimisi 1)\n" -"\n" -"Leiab stringid, mis esinevad kahes (või enamas) kirjeldatud PO failis.\n" -"Kasutades --more-than võtit, on võimalik saavutada ainult enimkattuvate\n" -"stringide väljastamine. Võtmega --less-than määratakse vähemkattuvate\n" -"stringide väljastamine (--less-than=2 väljastab ainult unikaalsed stringid).\n" -"Tõlked, kommentaarid ja stringi päritolu kirjeldavad kommentaarid (extract\n" -"comments) jäetakse alles ainult esimesena kirjeldatud PO failist.\n" -"Positsioonikirjeldused võetakse ja säilitatakse kõikidest PO failidest.\n" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Kasutamine: %s [VÕTI] def.po ref.po\n" -"Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" -"lühikesetele.\n" -" -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" -" kui üks\n" -" -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" -" nimekirja\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" -" (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab programmi\n" -" töö\n" -" -i, --indent kirjutab .po faili, kasutades taandridu\n" -" -o, --output-file=FAIL määrab väljundfaili nime\n" -" --no-location keelab '#: failinimi:reanumber' ridade\n" -" kirjutamise\n" -" -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" -" (vaikimisi)\n" -" --strict rakendab ranget Uniforum meetodit\n" -" -v, --verbose suurendab väljastatava teabe hulka\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "sisendfailid on määramata" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "vaja läheb täpselt kahte sisendfaili" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -616,51 +928,53 @@ msgstr "" "teated on tõlgitud. Kui täpseid vasteid ei suudeta leida, kasutatakse parema\n" "diagnoosi huvides määratlust 'kahtlane'.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "see teade on kasutusel, kuid kirjeldamata..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...kuid see kirjeldus on sarnane" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "see teade on kasutusel, kuid %s poolt kirjeldamata" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "hoiatus: see teade on kasutamata" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "leitud %d tõsine viga" msgstr[1] "leitud %d tõsist viga" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "vähemalt kaks faili peab olema ette antud" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -687,172 +1001,87 @@ msgstr "" "comments) jäetakse alles ainult esimesena kirjeldatud PO failist.\n" "Positsioonikirjeldused võetakse ja säilitatakse kõikidest PO failidest.\n" -#: src/msgcomm.c:351 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -" -<, --less-than=NUMBER trükib stringid, mida esineb vähem kui NUMBER\n" -" korda (vaikimisi piiramatult)\n" -" ->, --more-than=NUMBER trükib stringid, mida esineb rohkem kui NUMBER\n" -" korda (vaikimisi 1)\n" -"\n" -"Leiab stringid, mis esinevad kahes (või enamas) kirjeldatud PO failis.\n" -"Kasutades --more-than võtit, on võimalik saavutada ainult enimkattuvate\n" -"stringide väljastamine. Võtmega --less-than määratakse vähemkattuvate\n" -"stringide väljastamine (--less-than=2 väljastab ainult unikaalsed stringid).\n" -"Tõlked, kommentaarid ja stringi päritolu kirjeldavad kommentaarid (extract\n" -"comments) jäetakse alles ainult esimesena kirjeldatud PO failist.\n" -"Positsioonikirjeldused võetakse ja säilitatakse kõikidest PO failidest.\n" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Kasutamine: %s [VÕTI] def.po ref.po\n" -"Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" -"lühikesetele.\n" -" -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" -" kui üks\n" -" -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" -" nimekirja\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" -" (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab programmi\n" -" töö\n" -" -i, --indent kirjutab .po faili, kasutades taandridu\n" -" -o, --output-file=FAIL määrab väljundfaili nime\n" -" --no-location keelab '#: failinimi:reanumber' ridade\n" -" kirjutamise\n" -" -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" -" (vaikimisi)\n" -" --strict rakendab ranget Uniforum meetodit\n" -" -v, --verbose suurendab väljastatava teabe hulka\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Kasutamine: %s [VÕTI] def.po ref.po\n" -"Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" -"lühikesetele.\n" -" -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" -" kui üks\n" -" -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" -" nimekirja\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" -" (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab programmi\n" -" töö\n" -" -i, --indent kirjutab .po faili, kasutades taandridu\n" -" -o, --output-file=FAIL määrab väljundfaili nime\n" -" --no-location keelab '#: failinimi:reanumber' ridade\n" -" kirjutamise\n" -" -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" -" (vaikimisi)\n" -" --strict rakendab ranget Uniforum meetodit\n" -" -v, --verbose suurendab väljastatava teabe hulka\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "sisendfail on määramata" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "vaja läheb täpselt kahte sisendfaili" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "argumendid on puudu" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -862,126 +1091,106 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "argumendid on puudu" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "vähemalt kaks faili peab olema ette antud" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Kasutamine: %s [VÕTI] def.po ref.po\n" -"Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" -"lühikesetele.\n" -" -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" -" kui üks\n" -" -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" -" nimekirja\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" -" (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab programmi\n" -" töö\n" -" -i, --indent kirjutab .po faili, kasutades taandridu\n" -" -o, --output-file=FAIL määrab väljundfaili nime\n" -" --no-location keelab '#: failinimi:reanumber' ridade\n" -" kirjutamise\n" -" -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" -" (vaikimisi)\n" -" --strict rakendab ranget Uniforum meetodit\n" -" -v, --verbose suurendab väljastatava teabe hulka\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -991,18 +1200,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -1012,333 +1221,386 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d tõlgitud teade" msgstr[1] "%d tõlgitud teadet" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d kahtlane tõlge" msgstr[1] ", %d kahtlast tõlget" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d tõlkimata teade" msgstr[1] ", %d tõlkimata teadet" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "vigane juhtjada" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "vigane juhtjada" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "see teade on kasutusel, kuid %s poolt kirjeldamata" msgstr[1] "see teade on kasutusel, kuid %s poolt kirjeldamata" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "see teade on kasutusel, kuid %s poolt kirjeldamata" msgstr[1] "see teade on kasutusel, kuid %s poolt kirjeldamata" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "`msgid' ja `msgst_plural' kirjed ei alga sarnaselt märgiga '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "`msgid' ja `msgstr[%u]' kirjed ei alga sarnaselt märgiga '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "`msgid' ja `msgstr' kirjed ei alga sarnaselt märgiga '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "`msgid' ja `msgst_plural' kirjed ei lõppe sarnaselt märgiga '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "`msgid' ja `msgstr[%u]' kirjed ei lõppe sarnaselt märgiga '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "`msgid' ja `msgstr' kirjed ei lõppe sarnaselt märgiga '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "päise kirjest on puudu väli `%s'" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "päise kirjes peab väli `%s' algama rea algusest" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "mõned päise kirjes olevad väljad sisaldavad ikka veel algseid väärtusi" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "väli `%s' sisaldab ikka veel algset väärtust" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "" "%s: hoiatus: PO faili päis puudub, on kahtlane või vigane\n" "%*s hoiatus: charset conversion will not work" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "" "Kooditabel on päises kirjeldamata.\n" "Tõlgete teisendamine kasutaja kooditabelisse ei toimi.\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "" "%s: hoiatus: PO faili päis puudub, on kahtlane või vigane\n" "%*s hoiatus: charset conversion will not work" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domeeni nimi \"%s\" ei ole kasutatav failinimena" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domeeni nimi \"%s\" ei ole kasutatav failinimena: kasutan eesliidet" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "ignoreerin `domain %s' direktiivi" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "teade on kirjeldatud kaks korda" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...see on esimese kirjelduse asukoht" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "ignoreerin tühja `msgstr' kirjet" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "ignoreerin kahtlast `msgstr' kirjet" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: hoiatus: lähtefail sisaldab kahtlast tõlget" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1362,6 +1624,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1369,59 +1632,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Kasutamine: %s [VÕTI] def.po ref.po\n" -"Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" -"lühikesetele.\n" -" -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" -" kui üks\n" -" -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" -" nimekirja\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" -" (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab programmi\n" -" töö\n" -" -i, --indent kirjutab .po faili, kasutades taandridu\n" -" -o, --output-file=FAIL määrab väljundfaili nime\n" -" --no-location keelab '#: failinimi:reanumber' ridade\n" -" kirjutamise\n" -" -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" -" (vaikimisi)\n" -" --strict rakendab ranget Uniforum meetodit\n" -" -v, --verbose suurendab väljastatava teabe hulka\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1429,80 +1664,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1514,52 +1750,53 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 #, fuzzy msgid "warning: " msgstr "%s: hoiatus: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1607,15 +1844,15 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1624,7 +1861,7 @@ msgstr "" "Kooditabel \"%s\" ei ole toetatud. %s asendatakse,\n" "iconv() poolt ja iconv() ei toeta \"%s\".\n" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1633,11 +1870,11 @@ msgstr "" "Kooditabel \"%s\" ei ole toetatud. %s asendatakse,\n" "iconv() poolt. See versioon tehakse ilma iconv() kasutamata.\n" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1664,71 +1901,79 @@ msgstr "" "kahtlased. Kui väljundfaili ei ole kirjeldatud, saadetakse tulemus\n" "standardväljunisse.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap -msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" -"the VERSION_CONTROL environment variable. Here are the values:\n" -" none, off never make backups (even if --backup is given)\n" -" numbered, t make numbered backups\n" -" existing, nil numbered if numbered backups exist, simple otherwise\n" -" simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The version control method may be selected via the --backup option or " +"through\n" +"the VERSION_CONTROL environment variable. Here are the values:\n" +" none, off never make backups (even if --backup is given)\n" +" numbered, t make numbered backups\n" +" existing, nil numbered if numbered backups exist, simple otherwise\n" +" simple, never always make simple backups\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" +msgstr "" + +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "see teade on kasutusel, kuid %s poolt kirjeldamata" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "see teade on kasutusel, kuid %s poolt kirjeldamata" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1737,108 +1982,69 @@ msgstr "" "%sLoetud %ld vana + %ld viidet, ühendatud %ld, kahtlaseid %ld, puuduvaid %" "ld, vananenuid %ld.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " valmis.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s ja %s on vastastikku välistavad" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Kasutamine: %s [VÕTI] [FAIL]...\n" -"Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" -"lühikesetele.\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab\n" -" programmi töö\n" -" -i, --indent joondab tulemuse\n" -" -o, --output-file=FAIL kirjutab tulemuse standardväljundi asemel FAIL'i\n" -" --strict kasutab tulemuses 'ranget' uniforum stiili\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1851,15 +2057,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1926,75 +2134,75 @@ msgstr "" "Kooditabel on päises kirjeldamata.\n" "Tõlgete teisendamine kasutaja kooditabelisse ei toimi.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "vastuoluline #~ kasutamine" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "puudub `msgstr[]' sektsioon" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "puudub `msgid_plural' sektsioon" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "puudub `msgstr' sektsioon" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "esimene mitmuse vormi indeks erineb nullist" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "mitmuse vorm omab vale indeksit" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "liiga palju vigu, katkestan töö" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "vigane multibait jada" -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "vigane multibait jada" -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "vigane multibait jada" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "viga \"%s\" lugemisel" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "tundmatu võtmesõna: \"%s\"" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "vigane juhtjada" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "Ootamatu faili lõpp (fail lõppeb poole stringi pealt)" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "reavahetus asub stringi sees" @@ -2018,13 +2226,25 @@ msgstr "fail \"%s\" ei ole GNU .mo vormingus" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "fail \"%s\" sisaldab stringi, mis ei lõpe koodiga NUL" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "see fail ei tohi sisaldada domeeni direktiive" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "teade on kirjeldatud kaks korda" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...see on esimese kirjelduse asukoht" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "liiga palju argumente" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -2041,8 +2261,9 @@ msgid "error writing stdout" msgstr "viga faili \"%s\" kirjutamisel" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "ei suuda luua väljundfaili \"%s\"" #: src/write-java.c:1065 #, fuzzy, c-format @@ -2059,7 +2280,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2069,18 +2290,18 @@ msgstr "viga faili \"%s\" kirjutamisel" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "viga faili \"%s\" avamisel (kirjutamiseks)" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "tõlgitud teated peaksid mitte sisaldama `\\%c' erimärgijada" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2089,12 +2310,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "ei suuda luua väljundfaili \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standardväljund" @@ -2105,7 +2339,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: hoiatus: lõpetamata string" @@ -2139,11 +2373,7 @@ msgstr "" "Kooditabel \"%s\" ei ole toetatud. %s asendatakse,\n" "iconv() poolt. See versioon tehakse ilma iconv() kasutamata.\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "see fail ei tohi sisaldada domeeni direktiive" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: lõpetamata sümbolkonstant" @@ -2159,158 +2389,624 @@ msgid "%s:%d: missing number after #" msgstr "" #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: hoiatus: lõpetamata string" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "võtit `--join-existing' ei ole võimalik pruukida kui väljunit kirjutatakse " "standardväljundisse" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext ei tööta ilma vajalike võtmesõnadeta" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "hoiatus: faili `%s' laiend `%s' on tundmatu; proovin C vormingut" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "sisendfail on määramata" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" msgstr "" -"Kasutamine: %s [VÕTI] def.po ref.po\n" -"Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud ka\n" -"lühikesetele.\n" -" -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" -" kui üks\n" -" -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" -" nimekirja\n" -" -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" -" (vaikimisi)\n" -" -E, --escape määrab C erimärkide kasutamise tulemuses\n" -" --force-po kirjutab PO faili ka siis, kui see on tühi\n" -" -h, --help väljastab käesoleva abiinfo ja lõpetab programmi\n" -" töö\n" -" -i, --indent kirjutab .po faili, kasutades taandridu\n" -" -o, --output-file=FAIL määrab väljundfaili nime\n" -" --no-location keelab '#: failinimi:reanumber' ridade\n" -" kirjutamise\n" -" -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" -" (vaikimisi)\n" -" --strict rakendab ranget Uniforum meetodit\n" -" -v, --verbose suurendab väljastatava teabe hulka\n" -" -V, --version väljastab versiooniinfo ja lõpetab programmi töö\n" -" -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" -#: src/xgettext.c:879 +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standardsisend" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: hoiatus: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "tundmatu keel `%s'" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] def.po ref.po\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" +#~ " kui üks\n" +#~ " -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" +#~ " nimekirja\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" +#~ " (vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab " +#~ "programmi\n" +#~ " töö\n" +#~ " -i, --indent kirjutab .po faili, kasutades taandridu\n" +#~ " -o, --output-file=FAIL määrab väljundfaili nime\n" +#~ " --no-location keelab '#: failinimi:reanumber' ridade\n" +#~ " kirjutamise\n" +#~ " -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" +#~ " (vaikimisi)\n" +#~ " --strict rakendab ranget Uniforum meetodit\n" +#~ " -v, --verbose suurendab väljastatava teabe hulka\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version väljastab versiooniinfo ja lõpetab " +#~ "programmi töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" +#~ " -<, --less-than=NUMBER trükib stringid, mida esineb vähem kui " +#~ "NUMBER\n" +#~ " korda (vaikimisi piiramatult)\n" +#~ " ->, --more-than=NUMBER trükib stringid, mida esineb rohkem kui " +#~ "NUMBER\n" +#~ " korda (vaikimisi 1)\n" +#~ "\n" +#~ "Leiab stringid, mis esinevad kahes (või enamas) kirjeldatud PO failis.\n" +#~ "Kasutades --more-than võtit, on võimalik saavutada ainult enimkattuvate\n" +#~ "stringide väljastamine. Võtmega --less-than määratakse vähemkattuvate\n" +#~ "stringide väljastamine (--less-than=2 väljastab ainult unikaalsed " +#~ "stringid).\n" +#~ "Tõlked, kommentaarid ja stringi päritolu kirjeldavad kommentaarid " +#~ "(extract\n" +#~ "comments) jäetakse alles ainult esimesena kirjeldatud PO failist.\n" +#~ "Positsioonikirjeldused võetakse ja säilitatakse kõikidest PO failidest.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] def.po ref.po\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" +#~ " kui üks\n" +#~ " -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" +#~ " nimekirja\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" +#~ " (vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab " +#~ "programmi\n" +#~ " töö\n" +#~ " -i, --indent kirjutab .po faili, kasutades taandridu\n" +#~ " -o, --output-file=FAIL määrab väljundfaili nime\n" +#~ " --no-location keelab '#: failinimi:reanumber' ridade\n" +#~ " kirjutamise\n" +#~ " -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" +#~ " (vaikimisi)\n" +#~ " --strict rakendab ranget Uniforum meetodit\n" +#~ " -v, --verbose suurendab väljastatava teabe hulka\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version väljastab versiooniinfo ja lõpetab " +#~ "programmi töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" +#~ " -<, --less-than=NUMBER trükib stringid, mida esineb vähem kui " +#~ "NUMBER\n" +#~ " korda (vaikimisi piiramatult)\n" +#~ " ->, --more-than=NUMBER trükib stringid, mida esineb rohkem kui " +#~ "NUMBER\n" +#~ " korda (vaikimisi 1)\n" +#~ "\n" +#~ "Leiab stringid, mis esinevad kahes (või enamas) kirjeldatud PO failis.\n" +#~ "Kasutades --more-than võtit, on võimalik saavutada ainult enimkattuvate\n" +#~ "stringide väljastamine. Võtmega --less-than määratakse vähemkattuvate\n" +#~ "stringide väljastamine (--less-than=2 väljastab ainult unikaalsed " +#~ "stringid).\n" +#~ "Tõlked, kommentaarid ja stringi päritolu kirjeldavad kommentaarid " +#~ "(extract\n" +#~ "comments) jäetakse alles ainult esimesena kirjeldatud PO failist.\n" +#~ "Positsioonikirjeldused võetakse ja säilitatakse kõikidest PO failidest.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] def.po ref.po\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" +#~ " kui üks\n" +#~ " -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" +#~ " nimekirja\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" +#~ " (vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab " +#~ "programmi\n" +#~ " töö\n" +#~ " -i, --indent kirjutab .po faili, kasutades taandridu\n" +#~ " -o, --output-file=FAIL määrab väljundfaili nime\n" +#~ " --no-location keelab '#: failinimi:reanumber' ridade\n" +#~ " kirjutamise\n" +#~ " -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" +#~ " (vaikimisi)\n" +#~ " --strict rakendab ranget Uniforum meetodit\n" +#~ " -v, --verbose suurendab väljastatava teabe hulka\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] def.po ref.po\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" +#~ " kui üks\n" +#~ " -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" +#~ " nimekirja\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" +#~ " (vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab " +#~ "programmi\n" +#~ " töö\n" +#~ " -i, --indent kirjutab .po faili, kasutades taandridu\n" +#~ " -o, --output-file=FAIL määrab väljundfaili nime\n" +#~ " --no-location keelab '#: failinimi:reanumber' ridade\n" +#~ " kirjutamise\n" +#~ " -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" +#~ " (vaikimisi)\n" +#~ " --strict rakendab ranget Uniforum meetodit\n" +#~ " -v, --verbose suurendab väljastatava teabe hulka\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] def.po ref.po\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" +#~ " kui üks\n" +#~ " -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" +#~ " nimekirja\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" +#~ " (vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab " +#~ "programmi\n" +#~ " töö\n" +#~ " -i, --indent kirjutab .po faili, kasutades taandridu\n" +#~ " -o, --output-file=FAIL määrab väljundfaili nime\n" +#~ " --no-location keelab '#: failinimi:reanumber' ridade\n" +#~ " kirjutamise\n" +#~ " -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" +#~ " (vaikimisi)\n" +#~ " --strict rakendab ranget Uniforum meetodit\n" +#~ " -v, --verbose suurendab väljastatava teabe hulka\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] def.po ref.po\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" +#~ " kui üks\n" +#~ " -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" +#~ " nimekirja\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" +#~ " (vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab " +#~ "programmi\n" +#~ " töö\n" +#~ " -i, --indent kirjutab .po faili, kasutades taandridu\n" +#~ " -o, --output-file=FAIL määrab väljundfaili nime\n" +#~ " --no-location keelab '#: failinimi:reanumber' ridade\n" +#~ " kirjutamise\n" +#~ " -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" +#~ " (vaikimisi)\n" +#~ " --strict rakendab ranget Uniforum meetodit\n" +#~ " -v, --verbose suurendab väljastatava teabe hulka\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] [FAIL]...\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses " +#~ "(vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab\n" +#~ " programmi töö\n" +#~ " -i, --indent joondab tulemuse\n" +#~ " -o, --output-file=FAIL kirjutab tulemuse standardväljundi asemel " +#~ "FAIL'i\n" +#~ " --strict kasutab tulemuses 'ranget' uniforum stiili\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Kasutamine: %s [VÕTI] def.po ref.po\n" +#~ "Argumendid, mis on kohustuslikud pikkadele võtmetele, on kohustuslikud " +#~ "ka\n" +#~ "lühikesetele.\n" +#~ " -C, --compendium=FAIL lisatõlgete teek, neid võib esineda rohkem\n" +#~ " kui üks\n" +#~ " -D, --directory=KATALOOG lisab kataloogi sisendfailide otsinguteede\n" +#~ " nimekirja\n" +#~ " -e, --no-escape keelab C erimärkide kasutamise tulemuses\n" +#~ " (vaikimisi)\n" +#~ " -E, --escape määrab C erimärkide kasutamise tulemuses\n" +#~ " --force-po kirjutab PO faili ka siis, kui see on tühi\n" +#~ " -h, --help väljastab käesoleva abiinfo ja lõpetab " +#~ "programmi\n" +#~ " töö\n" +#~ " -i, --indent kirjutab .po faili, kasutades taandridu\n" +#~ " -o, --output-file=FAIL määrab väljundfaili nime\n" +#~ " --no-location keelab '#: failinimi:reanumber' ridade\n" +#~ " kirjutamise\n" +#~ " -n, --add-location kirjutab ka '#: failinimi:reanumber' read\n" +#~ " (vaikimisi)\n" +#~ " --strict rakendab ranget Uniforum meetodit\n" +#~ " -v, --verbose suurendab väljastatava teabe hulka\n" +#~ " -V, --version väljastab versiooniinfo ja lõpetab programmi " +#~ "töö\n" +#~ " -w, --width=NUMBER määrab väljastatava lehekülje laiuse\n" + #~ msgid "missing arguments" #~ msgstr "argumendid on puudu" diff --git a/gettext-tools/po/fi.po b/gettext-tools/po/fi.po index 5335a38f7..dd33e893d 100644 --- a/gettext-tools/po/fi.po +++ b/gettext-tools/po/fi.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.2\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2002-06-05 18:06+0200\n" "Last-Translator: Sami J. Laine \n" "Language-Team: Finnish \n" @@ -29,40 +30,41 @@ msgstr "moniselitteinen argumentti `%s' `%s':lle" msgid "Valid arguments are:" msgstr "Kelvolliset argumentit ovat:" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "virhe avattaessa \"%s\" lukemista varten" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "ei voida avata varmuuskopiotiedostoa \"%s\" kirjoittamista varten" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "virhe luettaessa \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "virhe kirjoitettaessa \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "virhe \"%s\" lukemisen jälkeen" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Tuntematon järjestelmän virhe" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s aliprosessi epäonnistui" @@ -122,7 +124,7 @@ msgstr "%s: valitsin `-W %s' on moniselitteinen\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: valitsin `-W %s' ei salli argumenttia\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "Java-kääntäjää ei löytynyt, yritä gcj:n asentamista tai aseta $JAVAC" @@ -131,86 +133,272 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" "Java virtuaalikonetta ei löytynyt, yritä gij:n asentamista tai aseta $JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "muisti loppu" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "ei voi luoda putkea" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s aliprosessi" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s aliprosessi vastaanotti fataalin signaalin %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "muotomäärittelyä argumentille %u ei ole olemassa 'msgid':lle '%s':ssä" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "muotomäärittely argumentille %u ei ole '%s':ssä" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "" "muotomäärittelyiden määrä 'msgid':ssä ja '%s':ssä argumentille %u ei ole sama" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "muotomäärittelyiden määrä 'msgid':ssä ja '%s':ssä ei täsmää" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "muotomäärittely argumentille {%u}, kuten '%s':ssä, ei ole 'msgid':ssä" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "muotomäärittely argumentille {%u} ei ole '%s':ssä" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "" "muotomäärittelyt 'msgid':ssä ja '%s':ssä argumentille {%u} eivät ole samat" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "muotomäärittelyt 'msgid' ja '%s' eivät ole yhdenmukaiset" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" "muotomäärittelyt '%s':ssä eivät ole 'msgid':n muotomäärittelyiden osajoukko" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -219,7 +407,7 @@ msgstr "" "muotomäärittelyt 'mdgid':ssä edellyttävät kartoitusta, määrittelyt '%s':ssä " "edellyttävät " -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -228,30 +416,44 @@ msgstr "" "muotomäärittelyt 'msgid':ss' edellyttävät järjestettyä joukkoa, määrittelyt " "'%s':ss' edellyttävät " -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "muotomäärittelyä argumentille '%s', kuten '%s':ssä, ei löydy " -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "muotomäärittelyä argumentille '%s' ei löyty '%s':stä" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "" "muotomäärittely 'msgid':ssä ja '%s':ssä argumentille '%s' eivät ole samat" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -263,46 +465,51 @@ msgstr "" "EI myönnetä takuuta; ei edes KAUPATTAVUUDELLE tai SOVELTUVUUDELLE TIETTYYN\n" "tarkoitukseen.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Kirjoittanut %s\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "liian monta argumenttia" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Yritä `%s --help' saadaksesi lisää tietoja.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Käyttö: %s [VALITSIN]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Tulosta laitteen isäntänimi.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Tulostuksen muoto:\n" " -s, --short lyhyt isäntänimi\n" @@ -310,142 +517,306 @@ msgstr "" " sen mahdolliset lisänimet\n" " -i, --ip-address osoitteet isäntänimelle\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Tietoja antavat tulosteet:\n" " -h, --help näyttää tämän ohjeen ja lopettaa suorituksen\n" " -V, --version näyttää ohjelmiston version ja lopettaa\n" " suorituksen\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Ilmoita ohjelmiston vioista osoitteeseen .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "ei saatu isäntänimeä" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "enintään yksi syötetiedosto on sallittu" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s ja %s ovat toisensa poissulkevia" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Käyttö: %s [VALITSIN] [SYÖTETIEDOSTO]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +msgid "Input file location:\n" +msgstr "" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, fuzzy, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" -msgstr "" +msgstr "Käyttö: %s [VALITSIN] [SYÖTETIEDOSTO]\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -459,81 +830,67 @@ msgid "" "File positions from all PO files will be cumulated.\n" msgstr "" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, fuzzy, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" -msgstr "" +msgstr "Käyttö: %s [VALITSIN]\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -544,51 +901,53 @@ msgid "" "match cannot be found, fuzzy matching is used to produce better diagnostics.\n" msgstr "" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "" -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "" msgstr[1] "" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -601,110 +960,86 @@ msgid "" "cumulated.\n" msgstr "" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -#: src/msgcomm.c:363 -#, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" - -#: src/msgconv.c:257 -#, no-wrap +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "" -#: src/msgen.c:198 +#: src/msgen.c:209 +#, fuzzy msgid "exactly one input file required" -msgstr "" +msgstr "enintään yksi syötetiedosto on sallittu" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, fuzzy, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" -msgstr "" +msgstr "Käyttö: %s [VALITSIN] [SYÖTETIEDOSTO]\n" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, fuzzy, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" -msgstr "" +msgstr "Käyttö: %s [VALITSIN] [SYÖTETIEDOSTO]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -714,101 +1049,105 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 -#, c-format +#: src/msgexec.c:332 src/msgfilter.c:615 +#, fuzzy, c-format msgid "write to %s subprocess failed" -msgstr "" +msgstr "%s aliprosessi epäonnistui" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 +#, fuzzy msgid "missing filter name" -msgstr "" +msgstr "ei riittävästi argumentteja" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, fuzzy, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" -msgstr "" +msgstr "Käyttö: %s [VALITSIN] [SYÖTETIEDOSTO]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 -#, c-format +#: src/msgfilter.c:595 +#, fuzzy, c-format msgid "communication with %s subprocess failed" -msgstr "" +msgstr "%s aliprosessi epäonnistui" -#: src/msgfilter.c:610 -#, c-format +#: src/msgfilter.c:646 +#, fuzzy, c-format msgid "read from %s subprocess failed" -msgstr "" +msgstr "%s aliprosessi epäonnistui" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -818,343 +1157,395 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" #: src/msgfmt.c:392 src/msgfmt.c:398 -#, c-format +#, fuzzy, c-format msgid "%s is only valid with %s or %s" -msgstr "" +msgstr "virheellinen argumentti `%s' `%s':lle" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:502 -#, c-format, no-wrap -msgid "Usage: %s [OPTION] filename.po ...\n" +#: src/msgfmt.c:500 +#, fuzzy, c-format +msgid "Usage: %s [OPTION] filename.po ...\n" +msgstr "Käyttö: %s [VALITSIN]\n" + +#: src/msgfmt.c:504 +msgid "Generate binary message catalog from textual translation description.\n" +msgstr "" + +#: src/msgfmt.c:509 src/xgettext.c:620 +#, no-wrap +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" +msgstr "" + +#: src/msgfmt.c:525 +msgid "" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" +msgstr "" + +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap -msgid "Generate binary message catalog from textual translation description.\n" +#: src/msgfmt.c:541 +msgid "Output file location in Java mode:\n" msgstr "" -#: src/msgfmt.c:517 -#, no-wrap -msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" msgstr "" -#: src/msgfmt.c:525 -#, no-wrap +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:547 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" -d DIRECTORY base directory of classes directory hierarchy\n" msgstr "" -#: src/msgfmt.c:541 -#, no-wrap +#: src/msgfmt.c:549 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1178,6 +1569,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1185,36 +1577,32 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -#: src/msggrep.c:545 -msgid "write to grep subprocess failed" +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" msgstr "" -#: src/msginit.c:258 +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 +#, fuzzy +msgid "write to grep subprocess failed" +msgstr "%s aliprosessi epäonnistui" + +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1222,80 +1610,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 -#, c-format +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 +#, fuzzy, c-format msgid "%s subprocess I/O error" -msgstr "" +msgstr "%s aliprosessi" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 -#, c-format +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 +#, fuzzy, c-format msgid "%s subprocess failed with exit code %d" -msgstr "" +msgstr "%s aliprosessi epäonnistui" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1307,51 +1696,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1399,33 +1789,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1439,164 +1829,146 @@ msgid "" "cannot be found, fuzzy matching is used to produce better results.\n" msgstr "" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " "obsolete %ld.\n" msgstr "" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr "" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 -#, c-format +#: src/msgunfmt.c:233 src/msgunfmt.c:242 +#, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" -msgstr "" +msgstr "%s ja %s ovat toisensa poissulkevia" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, fuzzy, c-format msgid "Usage: %s [OPTION] [FILE]...\n" -msgstr "" +msgstr "Käyttö: %s [VALITSIN] [SYÖTETIEDOSTO]\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1609,15 +1981,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1673,73 +2047,73 @@ msgid "" "Message conversion to user's charset will not work.\n" msgstr "" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 -#, c-format +#, fuzzy, c-format msgid "error while reading \"%s\"" -msgstr "" +msgstr "virhe luettaessa \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "" @@ -1763,14 +2137,27 @@ msgstr "" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "" -#: src/urlget.c:143 -msgid "expected two arguments" +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" msgstr "" +#: src/urlget.c:144 +#, fuzzy +msgid "expected two arguments" +msgstr "liian monta argumenttia" + #: src/urlget.c:161 -#, c-format, no-wrap +#, fuzzy, c-format msgid "Usage: %s [OPTION] URL FILE\n" -msgstr "" +msgstr "Käyttö: %s [VALITSIN] [SYÖTETIEDOSTO]\n" #: src/urlget.c:166 #, no-wrap @@ -1780,8 +2167,9 @@ msgid "" msgstr "" #: src/urlget.c:213 +#, fuzzy msgid "error writing stdout" -msgstr "" +msgstr "virhe kirjoitettaessa \"%s\"" #: src/write-java.c:1055 msgid "cannot find a temporary directory, try setting $TMPDIR" @@ -1802,28 +2190,28 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 -#, c-format +#, fuzzy, c-format msgid "error while writing \"%s\" file" -msgstr "" +msgstr "virhe kirjoitettaessa \"%s\"" #: src/write-java.c:1170 msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 -#, c-format +#: src/write-mo.c:693 src/write-tcl.c:192 +#, fuzzy, c-format msgid "error while opening \"%s\" for writing" -msgstr "" +msgstr "virhe avattaessa \"%s\" lukemista varten" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -1832,12 +2220,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 -#, c-format -msgid "cannot create output file \"%s\"" +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." msgstr "" -#: src/write-po.c:921 +#: src/write-po.c:1078 +#, fuzzy, c-format +msgid "cannot create output file \"%s\"" +msgstr "ei voi luoda putkea" + +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "" @@ -1848,7 +2249,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, c-format msgid "%s:%d: warning: unterminated string" msgstr "" @@ -1880,11 +2281,7 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "" @@ -1904,131 +2301,226 @@ msgstr "" msgid "%s:%d: invalid string expression" msgstr "" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +msgid "Choice of input file language:\n" +msgstr "" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 +msgid "" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" -msgstr "" - -#: src/xgettext.c:879 +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "" -#~ msgid "missing arguments" -#~ msgstr "ei riittävästi argumentteja" +#, fuzzy +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Tietoja antavat tulosteet:\n" +#~ " -h, --help näyttää tämän ohjeen ja lopettaa " +#~ "suorituksen\n" +#~ " -V, --version näyttää ohjelmiston version ja lopettaa\n" +#~ " suorituksen\n" + +#, fuzzy +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Tietoja antavat tulosteet:\n" +#~ " -h, --help näyttää tämän ohjeen ja lopettaa " +#~ "suorituksen\n" +#~ " -V, --version näyttää ohjelmiston version ja lopettaa\n" +#~ " suorituksen\n" + +#, fuzzy +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Tietoja antavat tulosteet:\n" +#~ " -h, --help näyttää tämän ohjeen ja lopettaa " +#~ "suorituksen\n" +#~ " -V, --version näyttää ohjelmiston version ja lopettaa\n" +#~ " suorituksen\n" + +#, fuzzy +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Tietoja antavat tulosteet:\n" +#~ " -h, --help näyttää tämän ohjeen ja lopettaa " +#~ "suorituksen\n" +#~ " -V, --version näyttää ohjelmiston version ja lopettaa\n" +#~ " suorituksen\n" #~ msgid "" #~ "Usage: %s [OPTION] [[TEXTDOMAIN] MSGID]\n" diff --git a/gettext-tools/po/fr.po b/gettext-tools/po/fr.po index a4ad984e5..9cfa03687 100644 --- a/gettext-tools/po/fr.po +++ b/gettext-tools/po/fr.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2002-08-08 08:00-0500\n" "Last-Translator: Michel Robitaille \n" "Language-Team: French \n" @@ -30,40 +31,41 @@ msgstr "argument ambigu msgid "Valid arguments are:" msgstr "Les arguments valides sont:" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "erreur lors de l'ouverture de « %s » en lecture" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "erreur d'ouverture du fichier d'archive « %s » en écriture" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "erreur de lecture « %s »" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "erreur d'écriture « %s »" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "erreur après la lecture de « %s »" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Erreur système non identifiée" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "échec du sous-processus %s" @@ -123,7 +125,7 @@ msgstr "%s: l'option msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: l'option « -W %s » ne tolère pas d'argument\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" "Compilateur Java n'a pas été repéré, essayer d'installer gcj ou défitni " @@ -135,29 +137,30 @@ msgstr "" "Machine virtuelle Java n'a pas été repérée, essayer d'installer gij ou " "définir $JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "Mémoire épuisée" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "incapable de créer le pipe" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "sous-processus %s" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "le sous-processus %s a reçu le signal fatal %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" @@ -165,16 +168,16 @@ msgstr "" "spécification de format de l'argument « %u », comme dans « %s », n'existe " "pas dans « msgid »" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "spécification de format de l'argument %u n'existe pas dans « %s »" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" @@ -182,13 +185,132 @@ msgstr "" "spécifications de format entre « msgid » et « %s » de l'argument %u ne sont " "pas identiques" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" "nombre de spécifications de format entre « msgid » et « %s » ne concorde pas" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " @@ -197,12 +319,12 @@ msgstr "" "spécification de format de l'argument {%u}, comme dans « %s », n'existe pas " "dans « msgid »" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "spécification de format de l'argument {%u} n'existe pas dans « %s »" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" @@ -210,20 +332,86 @@ msgstr "" "spécifications de format de « msgid » et « %s » de l'argument {%u} ne sont " "pas les mêmes" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" "spécifications de format de « msgid » et « %s » ne sont pas équivalentes" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" "spécifications de format dans « %s » ne sont pas un sous-ensemble de celles " "de « msgid »" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -232,7 +420,7 @@ msgstr "" "spécifications de format de « msgid » requièrent un mapping, celles de « %s " "» requièrent un tuple" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -241,7 +429,7 @@ msgstr "" "spécifications de format de « msgid » requièrent un tuple, celles de « %s » " "requièrent un mapping" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " @@ -250,12 +438,12 @@ msgstr "" "spécification de format de l'argument « %s », comme dans « %s », n'existe " "pas dans « msgid »" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "spécification de format de l'argument « %s » n'existe pas « %s »" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" @@ -263,11 +451,25 @@ msgstr "" "spécifications de format de « msgid » et de « %s » de l'argument « %s » ne " "sont pas les mêmes" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -279,100 +481,125 @@ msgstr "" "les permissions de copie. Il est distribué SANS AUCUNE GARANTIE\n" "de QUALITÉ LOYALE ET MARCHANDE ou d'ADÉQUATION POUR UN BUT PARTICULIER.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Écrit par %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "trop d'arguments" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Pour plus d'information, essayer « %s --help ».\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Usage: %s [OPTION]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Afficher le nom de la machine hôte.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Format de sortie:\n" " -s, --short nom court de l'hôte\n" -" -f, --fqdn, --long nom long de l'hôte, incluant le nom complet qualifié de domaine\n" +" -f, --fqdn, --long nom long de l'hôte, incluant le nom complet qualifié " +"de domaine\n" " et les aliases\n" " -i, --ip-address addresses IP de la machine hôte\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Sortie informative:\n" " -h, --help fournir ce message d'aide, puis terminer\n" " -V, --version identifier le programme, puis terminer\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Rapportez tout problème fonctionnel à .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "ne peut obtenir le nom de l'hôte" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "au plus un fichier d'entrée est permis" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s et %s s'excluent mutuellement" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Usage: %s [OPTION] [FICHIER-D-ENTRÉE]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -381,123 +608,257 @@ msgstr "" "Filtrer les messages d'un catalogue de traduction selon leurs attributs\n" "et manipuler leurs attributs.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" "Les arguments obligatoires pour la forme longue des options sont aussi\n" "obligatoires pour les formes courtes qui leur correspondent.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "aucun fichier d'entrée fourni" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "Localisation du fichier d'entrée:\n" -" FICHIER-D-ENTRÉE fichier PO d'entrée\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des fichiers d'entrée\n" +" FICHIER ... fichier .mo d'entrée\n" +" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des " +"fichiers d'entrée\n" "Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée standard.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "Localisation du fichier de sortie:\n" " -o, --output-file=FICHIER écrire la sortie dans le FICHIER spécifié\n" -"Les résultats sont écrits sur la sortie standard si aucun fichier n'est spécifié.\n" +"Les résultats sont écrits sur la sortie standard si aucun fichier n'est " +"spécifié.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Sélection de messages:\n" -" --translated conserver les messages traduits, \n" -" enlever ceux qui ne sont pas traduits\n" -" --untranslated conserver les non traduits, enlever ceux traduits\n" -" --no-fuzzy enlever les messages marqués « fuzzy »\n" -" --only-fuzzy conserver les messages marqués « fuzzy »\n" -" --no-obsolete enlever les messages obsolètes #~\n" -" --only-obsolete conserver les messages obsolètes #~\n" #: src/msgattrib.c:394 -#, fuzzy, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Manipulation des attributs:\n" -" --set-fuzzy marquer tous les messages comme « fuzzy »\n" -" --clear-fuzzy marquer tous les messages comme non-« fuzzy »\n" -" --set-obsolete marquer tous les messages comme obsolètes\n" -" --clear-obsolete marquer tous les messages comme non-obsolètes\n" -" --fuzzy identique à --only-fuzzy --clear-fuzzy\n" -" --obsolete identique à --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "Détails de sortie:\n" -" -e, --no-escape éviter les échappement C en sortie (implicite)\n" -" -E, --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" -i, --indent sortie en style indenté\n" -" --no-location ne pas produire les lignes « #: fichier:ligne »\n" -" -n, --add-location générer les lignes de format « #: fichier:ligne » (par défaut)\n" -" --strict générer un fichier .po avec conformité stricte Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" -s, --sort-output générer une sortie triée\n" -" -F, --sort-by-file trier la sortie selon la localisation des fichiers\n" - -#: src/msgcat.c:260 src/msgcomm.c:279 +" -l, --locale=LL_CC définir la locale cible\n" +" --no-translator assumer que le fichier PO est automatiquement " +"généré\n" +" -w, --width=NOMBRE initialiser la largeur de page\n" +" --no-wrap ne pas briser les lignes de longs messages " +"plus longues que\n" +" que la largeur des pages de sortie en " +"plusieurs lignes\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "Critère de sélection irréalisable (%d < N < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Usage: %s [OPTION] [FICHIER-D-ENTRÉE]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -519,113 +880,67 @@ msgstr "" "proviennent du premier fichier PO où elles ont été définies.\n" "Les positions de tous les fichiers PO seront cumulées.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" msgstr "" -"Localisation des fichiers d'entrée:\n" -" FICHIERS-D-ENTRÉE ... fichiers d'entrée\n" -" -f, --files-from=FICHIER obtenir la liste des fichiers d'entrée à partir du FICHIER\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour rechercher la liste des fichiers d'entrée\n" -"Si le fichier d'entrée est -, lire de l'entrée standard.\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Localisation du fichier de sortie:\n" -" -o, --output-file=FICHIER produire la sortie dans le FICHIER\n" -"Les résultats sont écrits sur la sortie standard si aucun fichier n'est\n" -"spécifié ou si -.\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Sélection de messages:\n" -" -<, --less-than=N montrer les messages définis moins de N fois\n" -" (sans limite par défaut)\n" -" ->, --more-than=N montrer les messages définis plus de N fois\n" -" (sans limite par défaut i.e. = à zéro)\n" -" -u, --unique identique à « -< 2 ou --less-than=2 »\n" -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"Détails de sortie:\n" -" -t, --to-code=NOM NOM de l'encodage de sortie\n" -" --use-first utiliser la première traduction disponible pour chaque\n" -" message, ne pas faire la fusion de plusieurs traductions\n" -" -e, --no-escape éviter les échappement C en sortie (implicite)\n" -" -E, --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" -i, --indent sortie en style indenté\n" -" --no-location ne pas produire les lignes « #: fichier:ligne »\n" -" -n, --add-location générer les lignes de format « #: fichier:ligne » (par défaut)\n" -" --strict générer un fichier .po avec conformité stricte Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" -s, --sort-output générer une sortie triée\n" -" -F, --sort-by-file trier la sortie selon la localisation des fichiers\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Sortie informative:\n" -" -h, --help fournir ce message d'aide, puis terminer\n" -" -V, --version identifier le programme, puis terminer\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 -msgid "no input files given" +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 +msgid "" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" +msgstr "" + +#: src/msgcmp.c:146 src/msgmerge.c:294 +msgid "no input files given" msgstr "aucun fichier en entrée" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "exactement deux fichiers sont requis en entrée" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Usage: %s [OPTION] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -643,57 +958,57 @@ msgstr "" "de votre programme. Lorsqu'un appariement exact n'est pas possible,\n" "un appariement flou est utilisé pour un meilleur diagnostic.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"Localisation des fichiers d'entrée:\n" -" def.po traductions\n" -" ref.pot références aux sources\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour rechercher la liste des fichiers d'entrée\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "Modificateurs d'opération:\n" -" -m, --multi-domain appliquer ref.pot à chaque domaine défini dans def.po\n" +" -m, --multi-domain appliquer ref.pot à chaque domaine défini dans " +"def.po\n" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "ce message, utilisé, n'est pas défini..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...mais cette définition lui est semblable" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "ce message, utilisé, n'est pas défini dans « %s »" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "attention: ce message n'est pas utilisé" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "%d erreur fatale trouvée" msgstr[1] "%d erreurs fatales trouvées" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "Il faut indiquer au moins deux fichiers" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -713,150 +1028,96 @@ msgstr "" "proviennent du premier fichier PO où elles ont été définies.\n" "Les positions de tous les fichiers PO seront cumulées.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" -msgstr "" -"Sélection des messages:\n" -" -<, --less-than=N montrer les messages définis moins de N fois\n" -" (sans limite par défaut)\n" -" ->, --more-than=N montrer les messages définis plus de N fois\n" -" (sans limite par défaut i.e. = à zéro)\n" -" -u, --unique identique à « -< 2 ou --less-than=2 »\n" - -#: src/msgcomm.c:363 -#, no-wrap +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" +msgstr "" + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Détails de sortie:\n" -" -e, --no-escape éviter les échappement C en sortie (implicite)\n" -" -E, --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" -i, --indent sortie en style indenté\n" -" --no-location ne pas produire les lignes « #: fichier:ligne »\n" -" -n, --add-location générer les lignes de format « #: fichier:ligne » (par défaut)\n" -" --strict générer un fichier .po avec conformité stricte Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" -s, --sort-output générer une sortie triée\n" -" -F, --sort-by-file trier la sortie selon la localisation des fichiers\n" -" --omit-header omettre les en-têtes pour « msgid \"\" »\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" -msgstr "Convertir un catalogue de traduction selon un encodage de caractères différent.\n" +msgstr "" +"Convertir un catalogue de traduction selon un encodage de caractères " +"différent.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "échec de conversion" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Cible de conversion:\n" " -t, --to-code=NOM NOM de l'encodage de sortie\n" "L'encodage par défaut se fait selon l'encodage locale.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Détails de sortie:\n" -" -e, --no-escape éviter les échappement C en sortie (implicite)\n" -" -E, --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" -i, --indent sortie en style indenté\n" -" --no-location ne pas produire les ligne « #: fichier:ligne »\n" -" --add-location produire les « #: fichier:ligne » (implicite)\n" -" --strict produire un fichier PO strictement Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" -s, --sort-output générer une sortie triée\n" -" -F, --sort-by-file trier la sortie selon la localisation des fichiers\n" - -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "aucun fichier d'entrée fourni" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "exactement un fichier d'entrée requis" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Usage: %s [OPTION] FICHIER-D-ENTRÉE\n" -#: src/msgen.c:242 -#, no-wrap +#: src/msgen.c:252 +#, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "Créer un catalogue anglais de traduction. Le fichier d'entrée est le dernier\n" "fichier PO anglais créé ou un fichier patron PO (généralement créé par\n" "xgettext). Les entrées non traduites ont alors une traduction contenant\n" "le texte du champ « msgid » et sont marqués fuzzy.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"Localisation du fichier d'entrée:\n" -" FICHIER-D-ENTRÉE ... fichier d'entrée PO ou POT\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour rechercher la liste des fichiers d'entrée\n" -"Si le fichier d'entrée est -, lire de l'entrée standard.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "nom de la commande manquant" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Usage: %s [OPTION] COMMANDE [OPTIONS-DE-COMMANDE]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -871,7 +1132,7 @@ msgstr "" "la sortie de msgexec. msgexec retourne un code qui correspond au maximum du code de\n" "retour pour toutes les invocations.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -880,121 +1141,103 @@ msgstr "" "Une commande spéciale interne appelée sorties « 0 » de traduction, suivi par un\n" "octet null. La sortie de \"msgexec 0\" est acceptable comme entrée pour \"xargs -0\".\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"Localisation du fichier d'entrée:\n" -" FICHIER-D-ENTRÉE fichier PO d'entrée\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des fichier d'entrée\n" -"Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée standard.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "échec d'écriture sur stdout" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "échec d'écriture au sous-processus %s" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "nom du filtre manquant" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "au moins un script sed doit être spécifié" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Usage: %s [OPTION] FILTRE [OPTIONS-DE-FILTRAGE]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" -msgstr "Appliquer un filtre à toutes les traductions d'un catalogue de traductions.\n" +msgstr "" +"Appliquer un filtre à toutes les traductions d'un catalogue de traductions.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -"Le FILTRE peut être n'importe quel programme qui lit une traduction à partir\n" +"Le FILTRE peut être n'importe quel programme qui lit une traduction à " +"partir\n" "de l'entrée standard et qui modifie la traduction sur la sortie standard.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"Options utiles de FILTRE lorsque le filtre est « sed »:\n" -" -e, --expression=SCRIPT ajouter le SCRIPT aux commandes à exécuter\n" -" -f, --file=FICHIER-SCRIPT ajouter le contenu du FICHIER-SCRIPT\n" -" aux commandes à exécuter\n" -" -n, --quiet, --silent supprimer l'affichage automatique d'espace\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Détails de sortie:\n" -" --no-escape éviter les échappement C en sortie (implicite)\n" -" -E, --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" --indent sortie en style indenté\n" -" --keep-header conserver l'en-tête sans la modifier, ne pas la filtrer\n" -" --no-location ne pas produire les « #: FICHIER:LIGNE »\n" -" --add-location produire les « #: FICHIER:LIGNE » (implicite)\n" -" --strict produire un fichier PO strictement Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" --no-wrap ne pas briser les lignes de longs messages plus longues que\n" -" que la largeur des pages de sortie en plusieurs lignes\n" -" -s, --sort-output générer une sortie triée\n" -" -F, --sort-by-file trier la sortie selon la localisation des fichiers\n" - -#: src/msgfilter.c:531 + +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" "ne peut opérer les Entrées/Sorties en mode non bloquant pour le sous-" "processus %s" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "échec de communication avec le sous-processus %s" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "échec de lecture du sous-processus %s" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "fin d'exécution du sous-processus %s avec le code de terminaison %d" @@ -1004,18 +1247,18 @@ msgstr "fin d'ex msgid "the argument to %s should be a single punctuation character" msgstr "l'argument de %s devrait être un simple caractère de ponctuation" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s requiert une spécification de type \"-d directory\"" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s requiert une spécification de type \"-l locale\"" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s est valable seulement avec %s" @@ -1025,180 +1268,228 @@ msgstr "%s est valable seulement avec %s" msgid "%s is only valid with %s or %s" msgstr "%s est valable seulement avec %s ou %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d message traduit" msgstr[1] "%d messages traduits" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d traduction approximative" msgstr[1] ", %d traductions approximatives" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d message non-traduit" msgstr[1] ", %d messages non-traduits" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Usage: %s [OPTION] nom-de-fichier.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" -msgstr "Générer un catalogue binaire de messages à partir de la description des traductions textuelles.\n" +msgstr "" +"Générer un catalogue binaire de messages à partir de la description des " +"traductions textuelles.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"Les arguments obligatoires pour la forme longue des options sont aussi\n" +"obligatoires pour les formes courtes qui leur correspondent.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"Localisation du fichier d'entrée:\n" -" nom-du-fichier.po ... fichier PO d'entrée\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des fichiers d'entrée\n" -"Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée standard.\n" #: src/msgfmt.c:525 -#, no-wrap +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" "Mode d'exécution:\n" -" -j, --java mode Java: générer une classe ResourceBundle en Java\n" -" --java2 identique à --java et assume Java2 (i.e. JDK 1.2 ou plus)\n" -" --tcl mode Tcl: générer un fichier .msg tcl/msgcat\n" +" -j, --java mode Java: générer une classe ResourceBundle " +"Java\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Localisation du fichier de sortie:\n" -" -o, --output-file=FICHIER écrire la sortie dans le FICHIER spécifié\n" -" --strict permettre le mode de conformité strict au mode Uniforum\n" -"Si le fichier de sortie est -, la sortie est produite sur la sortie standard.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" "Localisation du fichier de sortie en mode Java:\n" " -r, --resource=RESSOURCE nom de la ressource\n" -" -l, --locale=LOCALE nom de la locale, soit langage ou language_COUNTRY\n" -"Le nom de la classe est déterminé en ajoutant le nom de la locale au nom de la ressource,\n" +" -l, --locale=LOCALE nom de la locale, soit langage ou " +"language_COUNTRY\n" +"Le nom de la classe est déterminé en ajoutant le nom de la locale au nom de " +"la ressource,\n" "séparé par un souligné. L'option -d est obligatoire. La classe est produite\n" "dans le répertoire spécifié.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Localisation du fichier de sortie en mode Tcl:\n" -" -l, --locale=LOCALE nom de la locale, soit langage ou language_COUNTRY\n" -" -d RÉPERTOIRE répertoire de base des catalogues de messages .msg\n" -"Les options -l et -d sont obligatoires. Le fichier .msg est écrit dans\n" -"le répertoire spécifié.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"Interprétation du fichier d'entrée:\n" -" -c, --check faire toutes les vérifications équivalentes à \n" -" --check-format, --check-header, --check-domain\n" -" --check-format vérifier la dépendance du format des chaîne au langage\n" -" --check-header vérifier la présence et le contenu des en-têtes\n" -" --check-domain vérifier la présence de conflit entre les directives du domaine\n" -" et l'option --output-file\n" -" -C, --check-compatibility vérifier que GNU msgfmt se comporte comme X/Open msgfmt\n" -" -f, --use-fuzzy utiliser les entrées floues pour la sortie\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap +msgstr "" + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Détails de sortie:\n" -" -a, --alignment=NOMBRE aligner les chaînes selon le NOMBRE d'octets (%d par défaut)\n" -" --no-hash ne pas inclure la table de hachage dans le fichier binaire\n" +" -a, --alignment=NOMBRE aligner les chaînes selon le NOMBRE d'octets (%" +"d par défaut)\n" +" --no-hash ne pas inclure la table de hachage dans le " +"fichier binaire\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Détails de sortie:\n" +" -a, --alignment=NOMBRE aligner les chaînes selon le NOMBRE d'octets (%" +"d par défaut)\n" +" --no-hash ne pas inclure la table de hachage dans le " +"fichier binaire\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -"Sortie informative:\n" -" -h, --help fournir ce message d'aide, puis terminer\n" -" -V, --version identifier le programme, puis terminer\n" -" --statistics afficher les statistiques de traductions\n" -" -v, --verbose diagnostiquer toute anomalie dans chaque FICHIER\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "L'expression au pluriel peut produire des valeurs négatives." -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" "nplurals = %lu mais l'expression au pluriel peut produire des valeurs aussi " "grande que %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "L'expression au pluriel peut produire une division par zéro." -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "L'expression au pluriel peut produire un débordement d'entier" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" @@ -1206,52 +1497,52 @@ msgstr "" "L'expression au pluriel peut produire une exception arithmétique, " "possiblement une division par zéro" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" "le catalogue de messages contient des formes de traduction au pluriel..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...mais l'attribut « plural=EXPRESSION » est absente de l'en-tête" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...mais l'attribut « nplurals=ENTIER » est absent de l'en-tête" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "valeur nplurals invalide" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "expression au pluriel invalide" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...mais quelques messages n'ont seulement qu'une forme au pluriel" msgstr[1] "...mais quelques messages n'ont seulement que %lu formes au pluriel" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...mais quelques messages ont une forme au pluriel" msgstr[1] "...mais quelques messages ont %lu formes au pluriel" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Essayer d'utiliser ce qui suit, valide pour %s:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1259,136 +1550,128 @@ msgstr "" "le catalogue de messages contient des formes de traduction au pluriel, mais " "l'entrée \"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\" est manquante" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "les chaînes « msgid » et « msgid_plural » ne débutent pas par « \\n »" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "les chaînes « msgid » et « msgstr[%u] » ne débutent pas par « \\n »" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "les chaînes « msgid » et « msgstr » ne débutent pas par « \\n »" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "" "les chaînes « msgid » et « msgid_plural » ne se terminent pas par « \\n »" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "" "les chaînes « msgid » et « msgstr[%u] » ne se terminent pas par « \\n »" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "" "l'une des chaînes « msgid » ou « msgstr » se termine par « \\n », l'autre pas" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "le traitement des chaînes au pluriel est une extention de GNU gettext" -#: src/msgfmt.c:1159 -#, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +#: src/msgfmt.c:1178 +#, fuzzy, c-format +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" "« %s » n'a pas une chaîne de format %s valide, contrairement à « msgid »" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "« msgstr » n'a pas de raccourci clavier pour la marque « %c »" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "« msgstr » a trop de raccourcis clavier pour la marque « %c »" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "Le champ en-tête « %s » est absent de l'en-tête\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "Le champ en-tête « %s » devrait s'appuyer au début de la ligne\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "Quelques champs en-tête ont toujours leur valeur initiale par défaut\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "le champ « %s » a toujours sa valeur initiale par défaut\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "AVERTISSEMENT: l'en-tête du fichier PO est manquante ou invalide\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "AVERTISSEMENT: le conversion du charset ne fonctionnera pas\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "AVERTISSEMENT: l'en-tête du fichier PO est floue\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" "AVERTISSEMENT: les vieilles versions de msgfmt donneront une erreur là " "dessus\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "« %s » n'est pas approprié comme nom de domaine" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domaine « %s » inadéquat comme nom de fichier: utilisera un préfixe" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "la directive « domain %s » sera ignorée" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "message doublement défini" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...voici l'endroit de la première définition" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "chaîne « msgstr » vide, entrée ignorée" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "chaîne « msgstr » floue, entrée ignorée" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: AVERTISSEMENT: certaines traductions sont approximatives" -#: src/msggrep.c:383 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" "l'option « %c » ne peut être utilisée avant que « K » ou « T » ne soit " "spécifié" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1397,8 +1680,8 @@ msgstr "" "Extraire tous les messages du catalogue de traduction qui concordent avec\n" "un patron particulier ou qui appartiennent à un fichier source donné.\n" -#: src/msggrep.c:431 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1421,6 +1704,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1455,40 +1739,24 @@ msgstr "" " -f, --file=FICHIER obtenir le patron à partir du FICHIER\n" " -i, --ignore-case ignorer la distinction liée à la casse\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Détails de sortie:\n" -" --no-escape éviter les échappement C en sortie (implicite)\n" -" --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" --indent sortie en style indenté\n" -" --no-location ne pas produire les « #: fichier:ligne »\n" -" --add-location produire les « #: fichier:ligne » (implicite)\n" -" --strict produire un fichier PO strictement Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" --sort-output générer une sortie triée\n" -" --sort-by-file trier la sortie selon la localisation des fichiers\n" - -#: src/msggrep.c:545 + +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "écriture vers le sous-processus de grep a échoué" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1498,7 +1766,7 @@ msgstr "" "définir votre variable d'environnement LANG, tel que décrit dans\n" "le fichier ABOUT-NLS. Cela est nécessaire afin de tester votre traduction.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1509,12 +1777,12 @@ msgstr "" "SVP définir la locale à l'aide de l'option --locale ou\n" "du fichier de sortie .po à l'aide de l'option --output-file.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "%s créé.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1523,51 +1791,51 @@ msgstr "" "Créer un nouveau fichier PO en initialisant la méta-information avec des valeurs\n" "provenant de l'environnement de l'usager.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "Localisation du fichier d'entrée:\n" " -i, --input=FICHIER-D-ENTRÉE fichier POT d'entrée\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des fichiers d'entrée\n" +" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des " +"fichiers d'entrée\n" "Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée standard.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" "Localisation du fichier de sortie:\n" " -o, --output-file=FICHIER écrire la sortie dans le FICHIER spécifié\n" -"Si aucun fichier de sortie n'est spécifié, la sortie est produite selon l'option\n" -"--locale ou selon celle de l'usager. Si la sortie est -, les résultats sont écrits\n" +"Si aucun fichier de sortie n'est spécifié, la sortie est produite selon " +"l'option\n" +"--locale ou selon celle de l'usager. Si la sortie est -, les résultats sont " +"écrits\n" "sur la sortie standard.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Détails de sortie:\n" -" -l, --locale=LL_CC définir la locale cible\n" -" --no-translator assumer que le fichier PO est automatiquement généré\n" -" -w, --width=NOMBRE initialiser la largeur de page\n" -" --no-wrap ne pas briser les lignes de longs messages plus longues que\n" -" que la largeur des pages de sortie en plusieurs lignes\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1575,11 +1843,11 @@ msgstr "" "Plus d'un fichiers .pot repérés.\n" "SVP spécifier le fichier d'entrée .pot à l'aide de l'option --input.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "erreur de lecture du répertoire courant" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1587,23 +1855,23 @@ msgstr "" "Aucun fichier .pot dans le répertoire courant.\n" "SVP spécifier le fichier d'entrée .pot à l'aide de l'option --input.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "échec de fdopen()" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "Erreur d'E/S du sous-processus %s" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "échec du sous-processus %s avec le code de fin d'exécution %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1620,22 +1888,22 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Traduction anglaise du package %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "le présent charset « %s » n'a pas un nom d'encodage portable" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "deux charsets différents « %s » et « %s » dans le fichier d'entrée" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" @@ -1643,7 +1911,7 @@ msgstr "" "le fichier d'entrée « %s » ne contient pas d'en-tête ayant une spécification " "de charset" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1652,17 +1920,18 @@ msgstr "" "Le domaine « %s » dans le fichier d'entrée « %s » ne contient pas d'en-tête " "avec la spécification d'un charset" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "Le charset cible « %s » n'a pas un nom d'encodage portable." -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "AVERTISSEMENT: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1671,7 +1940,7 @@ msgstr "" "autres.\n" "Conversion de la sortie en UTF-8.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1738,17 +2007,17 @@ msgstr "" "La sortie de « %s » pourrait être incorrecte.\n" "Un ajustement nécessaire possible est de définir LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "échec de conversion" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" "Le fichier d'entrée ne contient pas d'en-tête avec la spécification d'un " "charset" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1757,7 +2026,7 @@ msgstr "" "Ne peut convertir de « %s » vers « %s ». %s s'appuie sur iconv() qui ne " "supporte pas cette conversion." -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1766,11 +2035,11 @@ msgstr "" "Ne peut convertir de « %s » vers « %s ». %s s'appuie sur iconv(). Cette " "version a été compilée sans iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "type d'archive" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1795,98 +2064,101 @@ msgstr "" "exact n'est pas possible, un appariement flou permet de produire de\n" "meilleurs résultats. \n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Localisation du fichier d'entrée:\n" -" def.po traductions se référant aux vieux sources\n" -" ref.pot références aux nouveaux sources\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des fichiers d'entrée\n" -" -C, --compendium=FICHIER librairie additionnelle de messages traduits,\n" -" peut-être spécifié plus d'une fois\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" "Mode d'exécution:\n" " -U, --update mettre à jour le fichier def.po,\n" -" ne rien faire si le fichier def.po est déjà à jour\n" +" ne rien faire si le fichier def.po est déjà à " +"jour\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "Localisation du fichier de sortie en mode mise-à-jour:\n" "Le résultat est réécrit dans le fichier def.po.\n" " --backup=CONTRÔLE produire une archive de def.po\n" " --suffix=SUFFIXE écraser le suffixe usuel d'archive\n" -"La méthdode de contrôle de version peut être sélectionné à l'aide de l'option --backup ou\n" -"par la variable d'environnement VERSION_CONTROL. En voici les valeurs possibles:\n" -" none, off ne jamais produire d'archive (même si --backup est spécifiée)\n" +"La méthdode de contrôle de version peut être sélectionné à l'aide de " +"l'option --backup ou\n" +"par la variable d'environnement VERSION_CONTROL. En voici les valeurs " +"possibles:\n" +" none, off ne jamais produire d'archive (même si --backup " +"est spécifiée)\n" " numbered, t produire des archives numérotées\n" -" existing, nil numéroter si des archives numérotées existent,\n" +" existing, nil numéroter si des archives numérotées " +"existent,\n" " simple autrement\n" " simple, never toujours produire des archives simples\n" -"Le suffixe d'archive est « ~ », à moins que défini à l'aide de --suffix ou par la variable\n" +"Le suffixe d'archive est « ~ », à moins que défini à l'aide de --suffix ou " +"par la variable\n" "d'environnement SIMPLE_BACKUP_SUFFIX\n" -#: src/msgmerge.c:454 -#, fuzzy, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Modificateurs d'opération:\n" -" -m, --multi-domain appliquer ref.pot à chaque domaine défini dans def.po\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -"Sortie informative:\n" -" -h, --help fournir ce message d'aide, puis terminer\n" -" -V, --version identifier le programme, puis terminer\n" -" -v, --verbose diagnostiquer toute anomalie dans chaque FICHIER\n" -" -q, --quiet, --silent supprimer les indicateurs de progression\n" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "ce message devrait définir les formes au pluriel" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "ce message ne devrait pas définir les formes au pluriel" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1895,129 +2167,89 @@ msgstr "" "%s lus %ld anciens + %ld références, %ld fusionnés, %ld approximatives, %ld " "manquants, %ld périmés.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " terminé.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s et les noms de fichiers explicites s'excluent mutuellement" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Usage: %s [OPTION] [FICHIER]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" -msgstr "Convertir le catalogue binaire de messages au style Uniforum de fichiers .po\n" +msgstr "" +"Convertir le catalogue binaire de messages au style Uniforum de fichiers ." +"po\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "Mode d'exécution:\n" -" -j, --java mode Java: l'entrée est une classe Java ResourceBundle\n" -" --tcl mode Tcl: l'entrée est un fichier .msg tcl/msgcat\n" +" -j, --java mode Java: générer une classe ResourceBundle " +"Java\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Localisation du fichier d'entrée:\n" -" FICHIER ... fichier .mo d'entrée\n" -" -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des fichiers d'entrée\n" -"Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée standard.\n" +"Mode d'exécution:\n" +" -j, --java mode Java: l'entrée est une classe Java " +"ResourceBundle\n" +" --tcl mode Tcl: l'entrée est un fichier .msg tcl/" +"msgcat\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "Localisation du fichier d'entrée en mode Java:\n" " -r, --resource=RESSOURCE nom de la ressource\n" -" -l, --locale=LOCALE nom de la locale, soit langage ou language_COUNTRY\n" -"Le nom de la classe est déterminé en ajoutant le nom de la locale au nom de la ressource,\n" +" -l, --locale=LOCALE nom de la locale, soit langage ou " +"language_COUNTRY\n" +"Le nom de la classe est déterminé en ajoutant le nom de la locale au nom de " +"la ressource,\n" "séparé par un souligné. La classe est localisée en utilisant CLASSPATH.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"Localisation du fichier d'entrée en mode Tcl:\n" -" -l, --locale=LOCALE nom de la locale, soit langage ou language_COUNTRY\n" -" -d RÉPERTOIRE répertoire de base des catalogues de messages .msg\n" -"Les options -l et -d sont obligatoires. Le fichier .msg est localisé dans\n" -"le répertoire spécifié.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"Localisation du fichier de sortie:\n" -" -o, --output-file=FICHIER écrire la sortie dans le FICHIER spécifié\n" -"Les résultats sont écrits sur la sortie standard si aucun fichier n'est spécifié.\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Détails de sortie:\n" -" -e, --no-escape éviter les échappement C en sortie (implicite)\n" -" -E, --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" -i, --indent sortie en style indenté\n" -" --strict produire un fichier .po strictement Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" -s, --sort-output générer une sortie triée\n" -" --no-wrap ne pas briser les lignes de longs messages plus longues que\n" -" que la largeur des pages de sortie en plusieurs lignes\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Sortie informative:\n" -" -h, --help fournir ce message d'aide, puis terminer\n" -" -V, --version identifier le programme, puis terminer\n" -" -v, --verbose diagnostiquer toute anomalie dans chaque FICHIER\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2040,19 +2272,22 @@ msgstr "" "Les positions dans les fichiers seront cumulées. Lorsque l'option --unique\n" "est utilisée les duplicatas sont écartés.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "Sélection de messages:\n" " -d, --repeated afficher seulement les duplicatas\n" " -u, --unique afficher seulement les messages unique,\n" " en écartant les duplicatas\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2118,73 +2353,73 @@ msgstr "" "Charset est manquant dans l'en-tête.\n" "La conversion de message dans le charset de l'usager ne fonctionnera pas.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "utilisation inconsistente de #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "section « msgstr[] » absente" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "section « msgstr_plural » absente" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "section « msgstr » absente" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "première forme au pluriel a un index qui n,est pas à zéro" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "forme plurielle a un index erronée" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "trop d'erreurs, j'abandonne" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "séquence multi-octets invalide" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "séquence multi-octets incomplète à la fin du fichier" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "séquence multi-octets incomplète à la fin de la ligne" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "échec de iconv()" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "erreur lors de la lecture de « %s »" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "mot-clé « %s » inconnu" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "séquence de contrôle invalide" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "fin de fichier intempestive" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "fin de ligne intempestive" @@ -2208,12 +2443,24 @@ msgstr "le fichier \"%s\" n'est pas en format .mo pour GNU" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "fichier \"%s\" contient une chaîne qui se termine pas par un NUL, à %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "ce fichier ne peut contenir des directives de domaine" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "message doublement défini" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...voici l'endroit de la première définition" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "deux arguments attendus" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Usage: %s [OPTION] URL FICHIER-D-ENTRÉE\n" @@ -2249,7 +2496,7 @@ msgstr "n'est pas un nom de classe Java valide: %s" msgid "failed to create \"%s\"" msgstr "échec de création de « %s »" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2260,19 +2507,19 @@ msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" "échec de compilation de la classe Java, essayer --verbose ou définir $JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "erreur lors de l'ouverture de « %s » en écriture" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "un message à traduire ne doit pas contenir la séquence d'échappement « \\%c »" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2287,12 +2534,25 @@ msgstr "" "ASCII à la place.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "incapable de fabriquer le fichier « %s »" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "sortie standard" @@ -2306,7 +2566,7 @@ msgstr "" "le catalogue de messages contient des formes de traduction au pluriel, mais " "l'entrée \"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\" est manquante" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: attention: constante chaîne sans terminateur" @@ -2340,11 +2600,7 @@ msgstr "" "Charset « %s » n'est pas supporté. %s utilise iconv(),\n" "Cette version a été générée sans iconv().\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "ce fichier ne peut contenir des directives de domaine" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: attention: constante caractère sans terminateur" @@ -2364,59 +2620,52 @@ msgstr "%s:%d: nombre manquant apr msgid "%s:%d: invalid string expression" msgstr "%s:%d: expression de chaîne invalide" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "--join-existing interdit si production sur sortie standard" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext ne peut fonctionner sans mots clés à rechercher" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" "attention: « %s » sans classification pour « %s », le langage C sera présumé" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Extraire les chaînes traduisibles de fichiers d'entrée donnés.\n" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Les arguments obligatoires pour la forme longue des options sont aussi\n" -"obligatoires pour les formes courtes qui leur correspondent.\n" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Localisation du fichier de sortie:\n" -" -d, --default-domain=NOM utiliser NOM.po pour la sortie (au lieu de messages.po)\n" -" -o, --output=FICHIER écrire la sortie dans le FICHIER spécifié\n" -" -p, --output-dir=RÉPERTOIRE placer les fichiers de sortie dans le RÉPERTOIRE\n" -"Si la sortie est -, la sortie est écrite sur la sortie standard.\n" -#: src/xgettext.c:632 -#, fuzzy, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "aucun fichier d'entrée fourni" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "Choix du langage du fichier d'entrée:\n" " -L, --language=NOM reconnaître le langage spécifié\n" @@ -2426,101 +2675,118 @@ msgstr "" " -C, --c++ identique à --language=C++\n" "Par défaut, le langage est deviné selon l'extension du nom du fichier.\n" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 +msgid "" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" +msgstr "" + +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "Mode d'exécution:\n" " -j, --join-existing ajouter les messages au fichier existant\n" " -x, --exclude-file=FICHIER ne pas extraire d'entrées de FICHIER\n" -" -c, --add-comments[=CLÉ] sauver le commentaire précédent possédant CLÉ,\n" -" ou celui qui précède immédiatement le mot-clef\n" +" -c, --add-comments[=CLÉ] sauver le commentaire précédent possédant " +"CLÉ,\n" +" ou celui qui précède immédiatement le mot-" +"clef\n" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Options spécifiques au language=C/C++:\n" -" -a, --extract-all extraire toutes les chaînes\n" -" -k, --keyword[=MOTS] mots clés additionnels à rechercher (sans\n" -" MOTS indique de ne pas utiliser les mots clés par défaut)\n" -" -T, --trigraphs traiter les trigraphes ANSI C à l'entrée\n" -" --debug fournir plus de détails sur la reconnaissance\n" -" des chaînes de format\n" - -#: src/xgettext.c:670 -#, no-wrap +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" --debug more detailed formatstring recognition result\n" msgstr "" -"Détails de sortie:\n" -" -e, --no-escape éviter les échappement C en sortie (implicite)\n" -" -E, --escape échappements C en sortie, éviter les 8-bits\n" -" --force-po produire un fichier PO, même vide\n" -" -i, --indent sortie en style indenté\n" -" --no-location ne pas produire les « #: FICHIER:LIGNE »\n" -" -n, --add-location générer les lignes de format '#: fichier:ligne' (par défaut)\n" -" --strict générer un fichier .po avec conformité stricte Uniforum\n" -" -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" -" --no-wrap ne pas briser les lignes de longs messages plus longues que\n" -" que la largeur des pages de sortie, en plusieurs lignes\n" -" -s, --sort-output générer une sortie triée\n" -" -F, --sort-by-file trier la sortie selon la localisation des fichiers\n" -" --omit-header omettre les en-têtes pour « msgid \"\" »\n" -" --copyright-holder=CHAÎNE identifier le champ des droits d'auteur dans la sortie\n" -" --foreign-user inhiber la production d'un copyright FSF\n" -" -m, --msgstr-prefix[=CHAÎNE] préfixer les msgstr's par CHAÎNE, sinon \\\"\\\"\n" -" -M, --msgstr-suffix[=CHAÎNE] suffixer les msgstr's par CHAÎNE, sinon \\« \\ »\n" - -#: src/xgettext.c:879 + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "entrée standard" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: AVERTISSEMENT: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2530,11 +2796,774 @@ msgstr "" "GNU gettext: gettext(\"\") retourne l'en-tête\n" "avec la méta information, pas une chaîne vide.\n" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "langage « %s » inconnu" +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Localisation du fichier d'entrée:\n" +#~ " FICHIER-D-ENTRÉE fichier PO d'entrée\n" +#~ " -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des " +#~ "fichiers d'entrée\n" +#~ "Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée " +#~ "standard.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Localisation du fichier de sortie:\n" +#~ " -o, --output-file=FICHIER écrire la sortie dans le FICHIER spécifié\n" +#~ "Les résultats sont écrits sur la sortie standard si aucun fichier n'est " +#~ "spécifié.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "Sélection de messages:\n" +#~ " --translated conserver les messages traduits, \n" +#~ " enlever ceux qui ne sont pas traduits\n" +#~ " --untranslated conserver les non traduits, enlever ceux " +#~ "traduits\n" +#~ " --no-fuzzy enlever les messages marqués « fuzzy »\n" +#~ " --only-fuzzy conserver les messages marqués « fuzzy »\n" +#~ " --no-obsolete enlever les messages obsolètes #~\n" +#~ " --only-obsolete conserver les messages obsolètes #~\n" + +#, fuzzy +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "Manipulation des attributs:\n" +#~ " --set-fuzzy marquer tous les messages comme « fuzzy »\n" +#~ " --clear-fuzzy marquer tous les messages comme non-« fuzzy " +#~ "»\n" +#~ " --set-obsolete marquer tous les messages comme obsolètes\n" +#~ " --clear-obsolete marquer tous les messages comme non-" +#~ "obsolètes\n" +#~ " --fuzzy identique à --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete identique à --only-obsolete --clear-" +#~ "obsolete\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " -e, --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " -E, --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " -i, --indent sortie en style indenté\n" +#~ " --no-location ne pas produire les lignes « #: fichier:" +#~ "ligne »\n" +#~ " -n, --add-location générer les lignes de format « #: fichier:" +#~ "ligne » (par défaut)\n" +#~ " --strict générer un fichier .po avec conformité " +#~ "stricte Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " -s, --sort-output générer une sortie triée\n" +#~ " -F, --sort-by-file trier la sortie selon la localisation des " +#~ "fichiers\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Localisation des fichiers d'entrée:\n" +#~ " FICHIERS-D-ENTRÉE ... fichiers d'entrée\n" +#~ " -f, --files-from=FICHIER obtenir la liste des fichiers d'entrée à " +#~ "partir du FICHIER\n" +#~ " -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour rechercher la " +#~ "liste des fichiers d'entrée\n" +#~ "Si le fichier d'entrée est -, lire de l'entrée standard.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Localisation du fichier de sortie:\n" +#~ " -o, --output-file=FICHIER produire la sortie dans le FICHIER\n" +#~ "Les résultats sont écrits sur la sortie standard si aucun fichier n'est\n" +#~ "spécifié ou si -.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Sélection de messages:\n" +#~ " -<, --less-than=N montrer les messages définis moins de N " +#~ "fois\n" +#~ " (sans limite par défaut)\n" +#~ " ->, --more-than=N montrer les messages définis plus de N " +#~ "fois\n" +#~ " (sans limite par défaut i.e. = à zéro)\n" +#~ " -u, --unique identique à « -< 2 ou --less-than=2 »\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " -t, --to-code=NOM NOM de l'encodage de sortie\n" +#~ " --use-first utiliser la première traduction disponible " +#~ "pour chaque\n" +#~ " message, ne pas faire la fusion de " +#~ "plusieurs traductions\n" +#~ " -e, --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " -E, --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " -i, --indent sortie en style indenté\n" +#~ " --no-location ne pas produire les lignes « #: fichier:" +#~ "ligne »\n" +#~ " -n, --add-location générer les lignes de format « #: fichier:" +#~ "ligne » (par défaut)\n" +#~ " --strict générer un fichier .po avec conformité " +#~ "stricte Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " -s, --sort-output générer une sortie triée\n" +#~ " -F, --sort-by-file trier la sortie selon la localisation des " +#~ "fichiers\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Sortie informative:\n" +#~ " -h, --help fournir ce message d'aide, puis terminer\n" +#~ " -V, --version identifier le programme, puis terminer\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "Localisation des fichiers d'entrée:\n" +#~ " def.po traductions\n" +#~ " ref.pot références aux sources\n" +#~ " -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour rechercher la " +#~ "liste des fichiers d'entrée\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Sélection des messages:\n" +#~ " -<, --less-than=N montrer les messages définis moins de N " +#~ "fois\n" +#~ " (sans limite par défaut)\n" +#~ " ->, --more-than=N montrer les messages définis plus de N " +#~ "fois\n" +#~ " (sans limite par défaut i.e. = à zéro)\n" +#~ " -u, --unique identique à « -< 2 ou --less-than=2 »\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " -e, --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " -E, --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " -i, --indent sortie en style indenté\n" +#~ " --no-location ne pas produire les lignes « #: fichier:" +#~ "ligne »\n" +#~ " -n, --add-location générer les lignes de format « #: fichier:" +#~ "ligne » (par défaut)\n" +#~ " --strict générer un fichier .po avec conformité " +#~ "stricte Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " -s, --sort-output générer une sortie triée\n" +#~ " -F, --sort-by-file trier la sortie selon la localisation des " +#~ "fichiers\n" +#~ " --omit-header omettre les en-têtes pour « msgid \"\" »\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " -e, --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " -E, --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " -i, --indent sortie en style indenté\n" +#~ " --no-location ne pas produire les ligne « #: fichier:" +#~ "ligne »\n" +#~ " --add-location produire les « #: fichier:ligne " +#~ "» (implicite)\n" +#~ " --strict produire un fichier PO strictement " +#~ "Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " -s, --sort-output générer une sortie triée\n" +#~ " -F, --sort-by-file trier la sortie selon la localisation des " +#~ "fichiers\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Localisation du fichier d'entrée:\n" +#~ " FICHIER-D-ENTRÉE ... fichier d'entrée PO ou POT\n" +#~ " -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour rechercher la " +#~ "liste des fichiers d'entrée\n" +#~ "Si le fichier d'entrée est -, lire de l'entrée standard.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Localisation du fichier d'entrée:\n" +#~ " FICHIER-D-ENTRÉE fichier PO d'entrée\n" +#~ " -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des " +#~ "fichier d'entrée\n" +#~ "Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée " +#~ "standard.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "Options utiles de FILTRE lorsque le filtre est « sed »:\n" +#~ " -e, --expression=SCRIPT ajouter le SCRIPT aux commandes à exécuter\n" +#~ " -f, --file=FICHIER-SCRIPT ajouter le contenu du FICHIER-SCRIPT\n" +#~ " aux commandes à exécuter\n" +#~ " -n, --quiet, --silent supprimer l'affichage automatique d'espace\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " -E, --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " --indent sortie en style indenté\n" +#~ " --keep-header conserver l'en-tête sans la modifier, ne " +#~ "pas la filtrer\n" +#~ " --no-location ne pas produire les « #: FICHIER:LIGNE »\n" +#~ " --add-location produire les « #: FICHIER:LIGNE " +#~ "» (implicite)\n" +#~ " --strict produire un fichier PO strictement " +#~ "Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " --no-wrap ne pas briser les lignes de longs messages " +#~ "plus longues que\n" +#~ " que la largeur des pages de sortie en " +#~ "plusieurs lignes\n" +#~ " -s, --sort-output générer une sortie triée\n" +#~ " -F, --sort-by-file trier la sortie selon la localisation des " +#~ "fichiers\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Localisation du fichier d'entrée:\n" +#~ " nom-du-fichier.po ... fichier PO d'entrée\n" +#~ " -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des " +#~ "fichiers d'entrée\n" +#~ "Si aucun fichier d'entrée n'est fourni ou si -, lire de l'entrée " +#~ "standard.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "Mode d'exécution:\n" +#~ " -j, --java mode Java: générer une classe " +#~ "ResourceBundle en Java\n" +#~ " --java2 identique à --java et assume Java2 (i.e. " +#~ "JDK 1.2 ou plus)\n" +#~ " --tcl mode Tcl: générer un fichier .msg tcl/" +#~ "msgcat\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Localisation du fichier de sortie:\n" +#~ " -o, --output-file=FICHIER écrire la sortie dans le FICHIER spécifié\n" +#~ " --strict permettre le mode de conformité strict au " +#~ "mode Uniforum\n" +#~ "Si le fichier de sortie est -, la sortie est produite sur la sortie " +#~ "standard.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Localisation du fichier de sortie en mode Tcl:\n" +#~ " -l, --locale=LOCALE nom de la locale, soit langage ou " +#~ "language_COUNTRY\n" +#~ " -d RÉPERTOIRE répertoire de base des catalogues de " +#~ "messages .msg\n" +#~ "Les options -l et -d sont obligatoires. Le fichier .msg est écrit dans\n" +#~ "le répertoire spécifié.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "Interprétation du fichier d'entrée:\n" +#~ " -c, --check faire toutes les vérifications équivalentes " +#~ "à \n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format vérifier la dépendance du format des chaîne " +#~ "au langage\n" +#~ " --check-header vérifier la présence et le contenu des en-" +#~ "têtes\n" +#~ " --check-domain vérifier la présence de conflit entre les " +#~ "directives du domaine\n" +#~ " et l'option --output-file\n" +#~ " -C, --check-compatibility vérifier que GNU msgfmt se comporte comme X/" +#~ "Open msgfmt\n" +#~ " -f, --use-fuzzy utiliser les entrées floues pour la sortie\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Sortie informative:\n" +#~ " -h, --help fournir ce message d'aide, puis terminer\n" +#~ " -V, --version identifier le programme, puis terminer\n" +#~ " --statistics afficher les statistiques de traductions\n" +#~ " -v, --verbose diagnostiquer toute anomalie dans chaque " +#~ "FICHIER\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " --indent sortie en style indenté\n" +#~ " --no-location ne pas produire les « #: fichier:ligne »\n" +#~ " --add-location produire les « #: fichier:ligne " +#~ "» (implicite)\n" +#~ " --strict produire un fichier PO strictement " +#~ "Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " --sort-output générer une sortie triée\n" +#~ " --sort-by-file trier la sortie selon la localisation des " +#~ "fichiers\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "Localisation du fichier d'entrée:\n" +#~ " def.po traductions se référant aux vieux sources\n" +#~ " ref.pot références aux nouveaux sources\n" +#~ " -D, --directory=RÉPERTOIRE ajouter le RÉPERTOIRE pour la recherche des " +#~ "fichiers d'entrée\n" +#~ " -C, --compendium=FICHIER librairie additionnelle de messages " +#~ "traduits,\n" +#~ " peut-être spécifié plus d'une fois\n" + +#, fuzzy +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "Modificateurs d'opération:\n" +#~ " -m, --multi-domain appliquer ref.pot à chaque domaine défini " +#~ "dans def.po\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Sortie informative:\n" +#~ " -h, --help fournir ce message d'aide, puis terminer\n" +#~ " -V, --version identifier le programme, puis terminer\n" +#~ " -v, --verbose diagnostiquer toute anomalie dans chaque " +#~ "FICHIER\n" +#~ " -q, --quiet, --silent supprimer les indicateurs de progression\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Localisation du fichier d'entrée en mode Tcl:\n" +#~ " -l, --locale=LOCALE nom de la locale, soit langage ou " +#~ "language_COUNTRY\n" +#~ " -d RÉPERTOIRE répertoire de base des catalogues de " +#~ "messages .msg\n" +#~ "Les options -l et -d sont obligatoires. Le fichier .msg est localisé " +#~ "dans\n" +#~ "le répertoire spécifié.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " -e, --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " -E, --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " -i, --indent sortie en style indenté\n" +#~ " --strict produire un fichier .po strictement " +#~ "Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " -s, --sort-output générer une sortie triée\n" +#~ " --no-wrap ne pas briser les lignes de longs messages " +#~ "plus longues que\n" +#~ " que la largeur des pages de sortie en " +#~ "plusieurs lignes\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Sortie informative:\n" +#~ " -h, --help fournir ce message d'aide, puis terminer\n" +#~ " -V, --version identifier le programme, puis terminer\n" +#~ " -v, --verbose diagnostiquer toute anomalie dans chaque " +#~ "FICHIER\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Localisation du fichier de sortie:\n" +#~ " -d, --default-domain=NOM utiliser NOM.po pour la sortie (au lieu " +#~ "de messages.po)\n" +#~ " -o, --output=FICHIER écrire la sortie dans le FICHIER " +#~ "spécifié\n" +#~ " -p, --output-dir=RÉPERTOIRE placer les fichiers de sortie dans le " +#~ "RÉPERTOIRE\n" +#~ "Si la sortie est -, la sortie est écrite sur la sortie standard.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Options spécifiques au language=C/C++:\n" +#~ " -a, --extract-all extraire toutes les chaînes\n" +#~ " -k, --keyword[=MOTS] mots clés additionnels à rechercher " +#~ "(sans\n" +#~ " MOTS indique de ne pas utiliser les mots " +#~ "clés par défaut)\n" +#~ " -T, --trigraphs traiter les trigraphes ANSI C à " +#~ "l'entrée\n" +#~ " --debug fournir plus de détails sur la " +#~ "reconnaissance\n" +#~ " des chaînes de format\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Détails de sortie:\n" +#~ " -e, --no-escape éviter les échappement C en sortie " +#~ "(implicite)\n" +#~ " -E, --escape échappements C en sortie, éviter les 8-" +#~ "bits\n" +#~ " --force-po produire un fichier PO, même vide\n" +#~ " -i, --indent sortie en style indenté\n" +#~ " --no-location ne pas produire les « #: FICHIER:LIGNE " +#~ "»\n" +#~ " -n, --add-location générer les lignes de format '#: fichier:" +#~ "ligne' (par défaut)\n" +#~ " --strict générer un fichier .po avec conformité " +#~ "stricte Uniforum\n" +#~ " -w, --width=COLONNES limiter le nombre de COLONNES en sortie\n" +#~ " --no-wrap ne pas briser les lignes de longs " +#~ "messages plus longues que\n" +#~ " que la largeur des pages de sortie, en " +#~ "plusieurs lignes\n" +#~ " -s, --sort-output générer une sortie triée\n" +#~ " -F, --sort-by-file trier la sortie selon la localisation " +#~ "des fichiers\n" +#~ " --omit-header omettre les en-têtes pour « msgid \"\" " +#~ "»\n" +#~ " --copyright-holder=CHAÎNE identifier le champ des droits d'auteur " +#~ "dans la sortie\n" +#~ " --foreign-user inhiber la production d'un copyright " +#~ "FSF\n" +#~ " -m, --msgstr-prefix[=CHAÎNE] préfixer les msgstr's par CHAÎNE, sinon " +#~ "\\\"\\\"\n" +#~ " -M, --msgstr-suffix[=CHAÎNE] suffixer les msgstr's par CHAÎNE, sinon " +#~ "\\« \\ »\n" + #~ msgid "missing arguments" #~ msgstr "arguments manquants" @@ -2665,15 +3694,6 @@ msgstr "langage #~ msgid "seek \"%s\" offset %ld failed" #~ msgstr "le repositionnement de « %s » à l'endroit %ld a échoué" -#~ msgid "" -#~ "Operation mode:\n" -#~ " -j, --java Java mode: generate a Java ResourceBundle " -#~ "class\n" -#~ msgstr "" -#~ "Mode d'exécution:\n" -#~ " -j, --java mode Java: générer une classe ResourceBundle " -#~ "Java\n" - #~ msgid "a format specification for argument {%u} doesn't exist in 'msgstr'" #~ msgstr "" #~ "les spécifications de format pour l'argument {%u} n'existent pas dans « " diff --git a/gettext-tools/po/gettext-tools.pot b/gettext-tools/po/gettext-tools.pot index 7a45e304d..262d53e21 100644 --- a/gettext-tools/po/gettext-tools.pot +++ b/gettext-tools/po/gettext-tools.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 19:40+0100\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,9 +31,9 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:64 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:896 src/xgettext.c:909 -#: src/xgettext.c:919 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "" @@ -58,13 +58,14 @@ msgstr "" msgid "error after reading \"%s\"" msgstr "" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -124,7 +125,7 @@ msgstr "" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -132,119 +133,319 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:404 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -252,180 +453,347 @@ msgid "" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:409 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:600 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:706 +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr "" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:419 -#: src/xgettext.c:423 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +msgid "Input file location:\n" +msgstr "" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:605 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -439,81 +807,67 @@ msgid "" "File positions from all PO files will be cumulated.\n" msgstr "" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:621 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:700 -#, no-wrap +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -524,51 +878,53 @@ msgid "" "match cannot be found, fuzzy matching is used to produce better diagnostics.\n" msgstr "" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:881 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "" -#: src/msgcmp.c:267 src/msgmerge.c:883 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "" -#: src/msgcmp.c:272 src/msgmerge.c:910 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "" msgstr[1] "" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -581,110 +937,85 @@ msgid "" "cumulated.\n" msgstr "" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -#: src/msgcomm.c:363 -#, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" - -#: src/msgconv.c:257 -#, no-wrap +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:440 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" - -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" + +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -694,101 +1025,104 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -798,18 +1132,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -819,322 +1153,374 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1158,6 +1544,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1165,36 +1552,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1202,80 +1584,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1287,52 +1670,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 -#: src/xgettext.c:1259 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1380,33 +1763,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:494 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:501 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1420,164 +1803,146 @@ msgid "" "cannot be found, fuzzy matching is used to produce better results.\n" msgstr "" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -#: src/msgmerge.c:963 +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr "" + +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "" -#: src/msgmerge.c:986 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "" -#: src/msgmerge.c:1148 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " "obsolete %ld.\n" msgstr "" -#: src/msgmerge.c:1156 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr "" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1590,15 +1955,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1654,73 +2021,73 @@ msgid "" "Message conversion to user's charset will not work.\n" msgstr "" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "" @@ -1744,12 +2111,24 @@ msgstr "" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -1783,7 +2162,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -1793,18 +2172,18 @@ msgstr "" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -1813,12 +2192,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "" @@ -1829,7 +2221,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, c-format msgid "%s:%d: warning: unterminated string" msgstr "" @@ -1861,11 +2253,7 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:718 -msgid "this file may not contain domain directives" -msgstr "" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "" @@ -1885,131 +2273,162 @@ msgstr "" msgid "%s:%d: invalid string expression" msgstr "" -#: src/xgettext.c:427 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" -#: src/xgettext.c:432 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" -#: src/xgettext.c:559 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" -#: src/xgettext.c:610 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:615 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:630 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:639 -#, no-wrap +#: src/xgettext.c:647 +msgid "Choice of input file language:\n" +msgstr "" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:650 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:658 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:667 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" #: src/xgettext.c:677 -#, no-wrap +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 +msgid "" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" msgstr "" -#: src/xgettext.c:887 +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "" -#: src/xgettext.c:980 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1035 +#: src/xgettext.c:1070 #, c-format msgid "%s%s: warning: " msgstr "" -#: src/xgettext.c:1037 +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1260 +#: src/xgettext.c:1303 msgid "" "The option --msgid-bugs-address was not specified.\n" "If you are using a `Makevars' file, please specify\n" @@ -2017,7 +2436,7 @@ msgid "" "specify an --msgid-bugs-address command line option.\n" msgstr "" -#: src/xgettext.c:1430 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "" diff --git a/gettext-tools/po/gl.po b/gettext-tools/po/gl.po index cbf62e958..3456409a6 100644 --- a/gettext-tools/po/gl.po +++ b/gettext-tools/po/gl.po @@ -10,7 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.10.39\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2001-07-28 17:00+0200\n" "Last-Translator: Jesús Bravo Álvarez \n" "Language-Team: Galician \n" @@ -33,40 +34,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "erro ao abrir \"%s\" para lectura" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "erro ao abrir \"%s\" para escribir" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "erro ao ler \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "erro ao escribi-lo ficheiro \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "erro ao ler \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Erro de sistema descoñecido" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -126,7 +128,7 @@ msgstr "%s: a opci msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: a opción `-W %s' non permite ningún argumento\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -134,86 +136,272 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "memoria esgotada" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "non se pode crea-lo ficheiro de saída \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" "o número de especificacións de formato en `msgid' e `msgstr' non coincide" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" "o número de especificacións de formato en `msgid' e `msgstr' non coincide" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -221,7 +409,7 @@ msgid "" msgstr "" "o número de especificacións de formato en `msgid' e `msgstr' non coincide" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -229,29 +417,43 @@ msgid "" msgstr "" "o número de especificacións de formato en `msgid' e `msgstr' non coincide" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "as especificacións de formato do argumento %lu non son as mesmas" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -263,202 +465,366 @@ msgstr "" "ningunha garantía; nin sequera de COMERCIABILIDADE ou IDONEIDADE PARA UN\n" "FIN DETERMINADO.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Escrito por %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "demasiados argumentos" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Use `%s --help' para máis información.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr "" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Comunique os erros a .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "precísanse exactamente dous ficheiros de entrada" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s e %s son mutuamente excluíntes" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "non se indicou ningún ficheiro de entrada" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPCIÓN] def.po ref.po\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" -"para as opcións curtas.\n" -" -C, --compendium=FICHEIRO biblioteca adicional de traduccións de mensaxes,\n" -" pode ser indicada máis dunha vez\n" -" -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de ficheiros\n" -" de entrada\n" -" -e, --no-escape non usar secuencias de escape de C na saída\n" -" (opción por defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro po aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" -" --no-location suprimi-las liñas '#: ficheiro:liña'\n" -" --add-location mante-las liñas '#: ficheiro:liña' (por omisión)\n" -" --strict estilo de saída Uniforum estricto\n" -" -v, --verbose incrementa-lo nivel de detalle\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" +"Uso: %s [OPCIÓN] [FICHEIRO]...\n" +"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios " +"para\n" +"as opcións curtas.\n" +" -e, --no-escape non usar secuencias de escape de C na saída (por\n" +" defecto)\n" +" -E, --escape usar secuencias de escape de C na saída, sen\n" +" caracteres estendidos\n" +" --force-po escribi-lo ficheiro PO aínda que estea baleiro\n" +" -h, --help amosar esta axuda e saír\n" +" -i, --indent escribi-la saída cun estilo indentado\n" +" -o, --output-file=FICH escribi-la saída en FICH en vez da saída " +"estándar\n" +" -V, --version amosa-la información da versión e saír\n" +" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "o criterio de selección indicado é imposible (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -488,118 +854,67 @@ msgstr "" "comentarios e comentarios de extracción mantéñense, pero só do primeiro\n" "ficheiro para definilos. Mantéñense as posicións de tódolos ficheiros PO.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -" -<, --less-than=NÚMERO escribi-las mensaxes que teñan menos\n" -" deste número de definicións. Se non se\n" -" indica, é infinito\n" -" ->, --more-than=NÚMERO escribi-las mensaxes que teñan máis\n" -" deste número de definicións. Se non se\n" -" indica, é 1\n" -"\n" -"Atopar mensaxes que son comúns a dous ou máis dos ficheiros PO indicados.\n" -"Usando a opción --more-than, pódese requiri-la concorrencia en máis ficheiros\n" -"antes de escribi-las mensaxes. Do mesmo xeito, coa opción --less-than pódese\n" -"requiri-la concorrencia en menos ficheiros antes de escribir-las mensaxes\n" -"(i.e. --less-than=2 só escribe as mensaxes únicas). As traduccións,\n" -"comentarios e comentarios de extracción mantéñense, pero só do primeiro\n" -"ficheiro para definilos. Mantéñense as posicións de tódolos ficheiros PO.\n" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Uso: %s [OPCIÓN] def.po ref.po\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" -"para as opcións curtas.\n" -" -C, --compendium=FICHEIRO biblioteca adicional de traduccións de mensaxes,\n" -" pode ser indicada máis dunha vez\n" -" -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de ficheiros\n" -" de entrada\n" -" -e, --no-escape non usar secuencias de escape de C na saída\n" -" (opción por defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro po aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" -" --no-location suprimi-las liñas '#: ficheiro:liña'\n" -" --add-location mante-las liñas '#: ficheiro:liña' (por omisión)\n" -" --strict estilo de saída Uniforum estricto\n" -" -v, --verbose incrementa-lo nivel de detalle\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "non se indicou ningún ficheiro de entrada" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "precísanse exactamente dous ficheiros de entrada" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -625,90 +940,63 @@ msgstr "" "un emparellamento exacto, úsase coincidencia difusa, de xeito que se produza\n" "un mellor diagnóstico.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "esta mensaxe úsase mais non está definida..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...mais esta definición é semellante" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "esta mensaxe úsase mais non está definida en %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "aviso: esta mensaxe non se usa" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" -msgstr[0] "atopouse %d erro grave" -msgstr[1] "atopáronse %d erros graves" - -#: src/msgcomm.c:268 -msgid "at least two files must be specified" -msgstr "téñense que indicar polo menos dous ficheiros" - -#: src/msgcomm.c:317 -#, fuzzy, no-wrap -msgid "" -"Find messages which are common to two or more of the specified PO files.\n" -"By using the --more-than option, greater commonality may be requested\n" -"before messages are printed. Conversely, the --less-than option may be\n" -"used to specify less commonality before messages are printed (i.e.\n" -"--less-than=2 will only print the unique messages). Translations,\n" -"comments and extract comments will be preserved, but only from the first\n" -"PO file to define them. File positions from all PO files will be\n" -"cumulated.\n" -msgstr "" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -" -<, --less-than=NÚMERO escribi-las mensaxes que teñan menos\n" -" deste número de definicións. Se non se\n" -" indica, é infinito\n" -" ->, --more-than=NÚMERO escribi-las mensaxes que teñan máis\n" -" deste número de definicións. Se non se\n" -" indica, é 1\n" -"\n" -"Atopar mensaxes que son comúns a dous ou máis dos ficheiros PO indicados.\n" -"Usando a opción --more-than, pódese requiri-la concorrencia en máis ficheiros\n" -"antes de escribi-las mensaxes. Do mesmo xeito, coa opción --less-than pódese\n" -"requiri-la concorrencia en menos ficheiros antes de escribir-las mensaxes\n" -"(i.e. --less-than=2 só escribe as mensaxes únicas). As traduccións,\n" -"comentarios e comentarios de extracción mantéñense, pero só do primeiro\n" -"ficheiro para definilos. Mantéñense as posicións de tódolos ficheiros PO.\n" +msgstr[0] "atopouse %d erro grave" +msgstr[1] "atopáronse %d erros graves" + +#: src/msgcomm.c:279 +msgid "at least two files must be specified" +msgstr "téñense que indicar polo menos dous ficheiros" -#: src/msgcomm.c:351 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +"Find messages which are common to two or more of the specified PO files.\n" +"By using the --more-than option, greater commonality may be requested\n" +"before messages are printed. Conversely, the --less-than option may be\n" +"used to specify less commonality before messages are printed (i.e.\n" +"--less-than=2 will only print the unique messages). Translations,\n" +"comments and extract comments will be preserved, but only from the first\n" +"PO file to define them. File positions from all PO files will be\n" +"cumulated.\n" msgstr "" " -V, --version amosa-la información da versión e saír\n" " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" @@ -727,141 +1015,87 @@ msgstr "" "comentarios e comentarios de extracción mantéñense, pero só do primeiro\n" "ficheiro para definilos. Mantéñense as posicións de tódolos ficheiros PO.\n" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"Uso: %s [OPCIÓN] def.po ref.po\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" -"para as opcións curtas.\n" -" -C, --compendium=FICHEIRO biblioteca adicional de traduccións de mensaxes,\n" -" pode ser indicada máis dunha vez\n" -" -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de ficheiros\n" -" de entrada\n" -" -e, --no-escape non usar secuencias de escape de C na saída\n" -" (opción por defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro po aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" -" --no-location suprimi-las liñas '#: ficheiro:liña'\n" -" --add-location mante-las liñas '#: ficheiro:liña' (por omisión)\n" -" --strict estilo de saída Uniforum estricto\n" -" -v, --verbose incrementa-lo nivel de detalle\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 +msgid "" +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPCIÓN] def.po ref.po\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" -"para as opcións curtas.\n" -" -C, --compendium=FICHEIRO biblioteca adicional de traduccións de mensaxes,\n" -" pode ser indicada máis dunha vez\n" -" -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de ficheiros\n" -" de entrada\n" -" -e, --no-escape non usar secuencias de escape de C na saída\n" -" (opción por defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro po aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" -" --no-location suprimi-las liñas '#: ficheiro:liña'\n" -" --add-location mante-las liñas '#: ficheiro:liña' (por omisión)\n" -" --strict estilo de saída Uniforum estricto\n" -" -v, --verbose incrementa-lo nivel de detalle\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "non se indicou ningún ficheiro de entrada" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "precísanse exactamente dous ficheiros de entrada" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "faltan argumentos" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -871,124 +1105,106 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "faltan argumentos" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "téñense que indicar polo menos dous ficheiros" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPCIÓN] def.po ref.po\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" -"para as opcións curtas.\n" -" -C, --compendium=FICHEIRO biblioteca adicional de traduccións de mensaxes,\n" -" pode ser indicada máis dunha vez\n" -" -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de ficheiros\n" -" de entrada\n" -" -e, --no-escape non usar secuencias de escape de C na saída\n" -" (opción por defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro po aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" -" --no-location suprimi-las liñas '#: ficheiro:liña'\n" -" --add-location mante-las liñas '#: ficheiro:liña' (por omisión)\n" -" --strict estilo de saída Uniforum estricto\n" -" -v, --verbose incrementa-lo nivel de detalle\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -998,18 +1214,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -1019,337 +1235,390 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d mensaxe traducida" msgstr[1] "%d mensaxes traducidas" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d traducción difusa" msgstr[1] ", %d traduccións difusas" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d mensaxe sen traducir" msgstr[1] ", %d mensaxes sen traducir" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "secuencia de control ilegal" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "secuencia de control ilegal" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "esta mensaxe úsase mais non está definida en %s" msgstr[1] "esta mensaxe úsase mais non está definida en %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "esta mensaxe úsase mais non está definida en %s" msgstr[1] "esta mensaxe úsase mais non está definida en %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "" "as entradas `msgid' e `msgid_plural' non comezan ámbalas dúas con '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "as entradas `msgid' e `msgstr[%u]' non comezan ámbalas dúas con '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "as entradas `msgid' e `msgstr' non comezan ámbalas dúas con '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "" "as entradas `msgid' e `msgid_plural' non rematan ámbalas dúas con '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "as entradas `msgid' e `msgstr[%u]' non rematan ámbalas dúas con '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "as entradas `msgid' e `msgstr' non rematan ámbalas dúas con '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "falta o campo `%s' na cabeceira" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "o campo `%s' da cabeceira tería que comezar ao principio da liña" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "algúns campos da cabeceira aínda teñen o valor inicial por defecto" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "o campo `%s' aínda ten o valor inicial por defecto" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "" "%s: aviso: a cabeceira do ficheiro PO non existe, é 'fuzzy' ou é inválida\n" "%*s aviso: a conversión de código de caracteres non vai funcionar" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "" "Falta o código de caracteres na cabeceira.\n" "A conversión da mensaxe ao código do usuario non vai funcionar.\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "" "%s: aviso: a cabeceira do ficheiro PO non existe, é 'fuzzy' ou é inválida\n" "%*s aviso: a conversión de código de caracteres non vai funcionar" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "o nome de dominio \"%s\" non é axeitado para nome de ficheiro" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "o nome de dominio \"%s\" non é axeitado como nome de ficheiro:\n" "empregarase un prefixo" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "directiva `domain %s' ignorada" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "definición de mensaxe duplicada" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...este é o lugar da primeira definición" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "entrada `msgstr' baleira ignorada" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "entrada `msgstr' difusa ignorada" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: aviso: o ficheiro fonte contén traduccións difusas" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1373,6 +1642,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1380,57 +1650,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPCIÓN] def.po ref.po\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" -"para as opcións curtas.\n" -" -C, --compendium=FICHEIRO biblioteca adicional de traduccións de mensaxes,\n" -" pode ser indicada máis dunha vez\n" -" -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de ficheiros\n" -" de entrada\n" -" -e, --no-escape non usar secuencias de escape de C na saída\n" -" (opción por defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro po aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" -" --no-location suprimi-las liñas '#: ficheiro:liña'\n" -" --add-location mante-las liñas '#: ficheiro:liña' (por omisión)\n" -" --strict estilo de saída Uniforum estricto\n" -" -v, --verbose incrementa-lo nivel de detalle\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1438,80 +1682,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1523,52 +1768,53 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 #, fuzzy msgid "warning: " msgstr "%s: aviso: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1616,15 +1862,15 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1633,7 +1879,7 @@ msgstr "" "O código de caracteres \"%s\" non está soportado. %s depende de\n" "iconv(), e iconv() non soporta \"%s\".\n" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1642,12 +1888,12 @@ msgstr "" "O código de caracteres \"%s\" non está soportado. %s depende de iconv().\n" "Esta versión foi compilada sen iconv().\n" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" # src/msgmerge.c:324 -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1672,71 +1918,79 @@ msgstr "" "para producir mellores resultados. Os resultados escríbense na saída\n" "estándar a menos que se indique un ficheiro de saída.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "esta mensaxe úsase mais non está definida en %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "esta mensaxe úsase mais non está definida en %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1745,108 +1999,69 @@ msgstr "" "%sLidas %ld antigas + %ld referencias, mesturadas %ld, difusas %ld, faltan %" "ld, obsoletas %ld.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " rematado.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s e %s son mutuamente excluíntes" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Uso: %s [OPCIÓN] [FICHEIRO]...\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios para\n" -"as opcións curtas.\n" -" -e, --no-escape non usar secuencias de escape de C na saída (por\n" -" defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro PO aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent escribi-la saída cun estilo indentado\n" -" -o, --output-file=FICH escribi-la saída en FICH en vez da saída estándar\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1859,15 +2074,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1933,75 +2150,75 @@ msgstr "" "Falta o código de caracteres na cabeceira.\n" "A conversión da mensaxe ao código do usuario non vai funcionar.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "uso inconsistente de #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "falta a sección `msgstr[]'" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "falta a sección `msgid_plural'" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "falta a sección `msgstr'" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "a primera forma do plural ten un índice distinto a cero" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "a forma do plural ten un índice erróneo" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "demasiados erros, interrompendo" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "secuencia multibyte non válida" -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "secuencia multibyte non válida" -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "secuencia multibyte non válida" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "erro ao ler \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "palabra chave \"%s\" descoñecida" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "secuencia de control ilegal" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "fin de ficheiro nunha cadea" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "fin de liña nunha cadea" @@ -2025,13 +2242,25 @@ msgstr "o ficheiro \"%s\" non est msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "o ficheiro \"%s\" contén unha cadea non rematada en NUL" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "este ficheiro non pode conter directivas de dominio" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "definición de mensaxe duplicada" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...este é o lugar da primeira definición" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "demasiados argumentos" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -2048,8 +2277,9 @@ msgid "error writing stdout" msgstr "erro ao escribi-lo ficheiro \"%s\"" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "non se pode crea-lo ficheiro de saída \"%s\"" #: src/write-java.c:1065 #, fuzzy, c-format @@ -2066,7 +2296,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2076,19 +2306,19 @@ msgstr "erro ao escribi-lo ficheiro \"%s\"" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "erro ao abrir \"%s\" para escribir" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "as mensaxes internacionalizadas non deben conte-la secuencia de escape `\\%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2097,12 +2327,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "non se pode crea-lo ficheiro de saída \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "saída estándar" @@ -2113,7 +2356,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: aviso: literal de cadea non rematada" @@ -2147,11 +2390,7 @@ msgstr "" "O código de caracteres \"%s\" non está soportado. %s depende de iconv().\n" "Esta versión foi compilada sen iconv().\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "este ficheiro non pode conter directivas de dominio" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: aviso: constante de tipo carácter non rematada" @@ -2167,154 +2406,633 @@ msgid "%s:%d: missing number after #" msgstr "" #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: aviso: literal de cadea non rematada" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "non se pode usar --join-existing cando a saída se escribe en stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext non funciona sen palabras chave polas que buscar" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "aviso: o ficheiro `%s' coa extensión `%s' é descoñecido; tentaráse C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "non se indicou ningún ficheiro de entrada" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" msgstr "" -"Uso: %s [OPCIÓN] def.po ref.po\n" -"Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" -"para as opcións curtas.\n" -" -C, --compendium=FICHEIRO biblioteca adicional de traduccións de mensaxes,\n" -" pode ser indicada máis dunha vez\n" -" -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de ficheiros\n" -" de entrada\n" -" -e, --no-escape non usar secuencias de escape de C na saída\n" -" (opción por defecto)\n" -" -E, --escape usar secuencias de escape de C na saída, sen\n" -" caracteres estendidos\n" -" --force-po escribi-lo ficheiro po aínda que estea baleiro\n" -" -h, --help amosar esta axuda e saír\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" -" --no-location suprimi-las liñas '#: ficheiro:liña'\n" -" --add-location mante-las liñas '#: ficheiro:liña' (por omisión)\n" -" --strict estilo de saída Uniforum estricto\n" -" -v, --verbose incrementa-lo nivel de detalle\n" -" -V, --version amosa-la información da versión e saír\n" -" -w, --width=NÚMERO establece-la anchura da páxina de saída\n" -#: src/xgettext.c:879 +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "entrada estándar" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: aviso: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "linguaxe `%s' descoñecida" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] def.po ref.po\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" +#~ "para as opcións curtas.\n" +#~ " -C, --compendium=FICHEIRO biblioteca adicional de traduccións de " +#~ "mensaxes,\n" +#~ " pode ser indicada máis dunha vez\n" +#~ " -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de " +#~ "ficheiros\n" +#~ " de entrada\n" +#~ " -e, --no-escape non usar secuencias de escape de C na " +#~ "saída\n" +#~ " (opción por defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, " +#~ "sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro po aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" +#~ " --no-location suprimi-las liñas '#: ficheiro:liña'\n" +#~ " --add-location mante-las liñas '#: ficheiro:liña' (por " +#~ "omisión)\n" +#~ " --strict estilo de saída Uniforum estricto\n" +#~ " -v, --verbose incrementa-lo nivel de detalle\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" +#~ " -<, --less-than=NÚMERO escribi-las mensaxes que teñan menos\n" +#~ " deste número de definicións. Se non se\n" +#~ " indica, é infinito\n" +#~ " ->, --more-than=NÚMERO escribi-las mensaxes que teñan máis\n" +#~ " deste número de definicións. Se non se\n" +#~ " indica, é 1\n" +#~ "\n" +#~ "Atopar mensaxes que son comúns a dous ou máis dos ficheiros PO " +#~ "indicados.\n" +#~ "Usando a opción --more-than, pódese requiri-la concorrencia en máis " +#~ "ficheiros\n" +#~ "antes de escribi-las mensaxes. Do mesmo xeito, coa opción --less-than " +#~ "pódese\n" +#~ "requiri-la concorrencia en menos ficheiros antes de escribir-las " +#~ "mensaxes\n" +#~ "(i.e. --less-than=2 só escribe as mensaxes únicas). As traduccións,\n" +#~ "comentarios e comentarios de extracción mantéñense, pero só do primeiro\n" +#~ "ficheiro para definilos. Mantéñense as posicións de tódolos ficheiros " +#~ "PO.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] def.po ref.po\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" +#~ "para as opcións curtas.\n" +#~ " -C, --compendium=FICHEIRO biblioteca adicional de traduccións de " +#~ "mensaxes,\n" +#~ " pode ser indicada máis dunha vez\n" +#~ " -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de " +#~ "ficheiros\n" +#~ " de entrada\n" +#~ " -e, --no-escape non usar secuencias de escape de C na " +#~ "saída\n" +#~ " (opción por defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, " +#~ "sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro po aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" +#~ " --no-location suprimi-las liñas '#: ficheiro:liña'\n" +#~ " --add-location mante-las liñas '#: ficheiro:liña' (por " +#~ "omisión)\n" +#~ " --strict estilo de saída Uniforum estricto\n" +#~ " -v, --verbose incrementa-lo nivel de detalle\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" +#~ " -<, --less-than=NÚMERO escribi-las mensaxes que teñan menos\n" +#~ " deste número de definicións. Se non se\n" +#~ " indica, é infinito\n" +#~ " ->, --more-than=NÚMERO escribi-las mensaxes que teñan máis\n" +#~ " deste número de definicións. Se non se\n" +#~ " indica, é 1\n" +#~ "\n" +#~ "Atopar mensaxes que son comúns a dous ou máis dos ficheiros PO " +#~ "indicados.\n" +#~ "Usando a opción --more-than, pódese requiri-la concorrencia en máis " +#~ "ficheiros\n" +#~ "antes de escribi-las mensaxes. Do mesmo xeito, coa opción --less-than " +#~ "pódese\n" +#~ "requiri-la concorrencia en menos ficheiros antes de escribir-las " +#~ "mensaxes\n" +#~ "(i.e. --less-than=2 só escribe as mensaxes únicas). As traduccións,\n" +#~ "comentarios e comentarios de extracción mantéñense, pero só do primeiro\n" +#~ "ficheiro para definilos. Mantéñense as posicións de tódolos ficheiros " +#~ "PO.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] def.po ref.po\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" +#~ "para as opcións curtas.\n" +#~ " -C, --compendium=FICHEIRO biblioteca adicional de traduccións de " +#~ "mensaxes,\n" +#~ " pode ser indicada máis dunha vez\n" +#~ " -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de " +#~ "ficheiros\n" +#~ " de entrada\n" +#~ " -e, --no-escape non usar secuencias de escape de C na " +#~ "saída\n" +#~ " (opción por defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, " +#~ "sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro po aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" +#~ " --no-location suprimi-las liñas '#: ficheiro:liña'\n" +#~ " --add-location mante-las liñas '#: ficheiro:liña' (por " +#~ "omisión)\n" +#~ " --strict estilo de saída Uniforum estricto\n" +#~ " -v, --verbose incrementa-lo nivel de detalle\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] def.po ref.po\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" +#~ "para as opcións curtas.\n" +#~ " -C, --compendium=FICHEIRO biblioteca adicional de traduccións de " +#~ "mensaxes,\n" +#~ " pode ser indicada máis dunha vez\n" +#~ " -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de " +#~ "ficheiros\n" +#~ " de entrada\n" +#~ " -e, --no-escape non usar secuencias de escape de C na " +#~ "saída\n" +#~ " (opción por defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, " +#~ "sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro po aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" +#~ " --no-location suprimi-las liñas '#: ficheiro:liña'\n" +#~ " --add-location mante-las liñas '#: ficheiro:liña' (por " +#~ "omisión)\n" +#~ " --strict estilo de saída Uniforum estricto\n" +#~ " -v, --verbose incrementa-lo nivel de detalle\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] def.po ref.po\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" +#~ "para as opcións curtas.\n" +#~ " -C, --compendium=FICHEIRO biblioteca adicional de traduccións de " +#~ "mensaxes,\n" +#~ " pode ser indicada máis dunha vez\n" +#~ " -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de " +#~ "ficheiros\n" +#~ " de entrada\n" +#~ " -e, --no-escape non usar secuencias de escape de C na " +#~ "saída\n" +#~ " (opción por defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, " +#~ "sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro po aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" +#~ " --no-location suprimi-las liñas '#: ficheiro:liña'\n" +#~ " --add-location mante-las liñas '#: ficheiro:liña' (por " +#~ "omisión)\n" +#~ " --strict estilo de saída Uniforum estricto\n" +#~ " -v, --verbose incrementa-lo nivel de detalle\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] def.po ref.po\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" +#~ "para as opcións curtas.\n" +#~ " -C, --compendium=FICHEIRO biblioteca adicional de traduccións de " +#~ "mensaxes,\n" +#~ " pode ser indicada máis dunha vez\n" +#~ " -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de " +#~ "ficheiros\n" +#~ " de entrada\n" +#~ " -e, --no-escape non usar secuencias de escape de C na " +#~ "saída\n" +#~ " (opción por defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, " +#~ "sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro po aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" +#~ " --no-location suprimi-las liñas '#: ficheiro:liña'\n" +#~ " --add-location mante-las liñas '#: ficheiro:liña' (por " +#~ "omisión)\n" +#~ " --strict estilo de saída Uniforum estricto\n" +#~ " -v, --verbose incrementa-lo nivel de detalle\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] [FICHEIRO]...\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios " +#~ "para\n" +#~ "as opcións curtas.\n" +#~ " -e, --no-escape non usar secuencias de escape de C na saída " +#~ "(por\n" +#~ " defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro PO aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent escribi-la saída cun estilo indentado\n" +#~ " -o, --output-file=FICH escribi-la saída en FICH en vez da saída " +#~ "estándar\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Uso: %s [OPCIÓN] def.po ref.po\n" +#~ "Os argumentos obrigatorios para as opcións longas son tamén obrigatorios\n" +#~ "para as opcións curtas.\n" +#~ " -C, --compendium=FICHEIRO biblioteca adicional de traduccións de " +#~ "mensaxes,\n" +#~ " pode ser indicada máis dunha vez\n" +#~ " -D, --directory=DIRECTORIO engadir DIRECTORIO á lista de busca de " +#~ "ficheiros\n" +#~ " de entrada\n" +#~ " -e, --no-escape non usar secuencias de escape de C na " +#~ "saída\n" +#~ " (opción por defecto)\n" +#~ " -E, --escape usar secuencias de escape de C na saída, " +#~ "sen\n" +#~ " caracteres estendidos\n" +#~ " --force-po escribi-lo ficheiro po aínda que estea " +#~ "baleiro\n" +#~ " -h, --help amosar esta axuda e saír\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=FICHEIRO escribi-lo resultado en FICHEIRO\n" +#~ " --no-location suprimi-las liñas '#: ficheiro:liña'\n" +#~ " --add-location mante-las liñas '#: ficheiro:liña' (por " +#~ "omisión)\n" +#~ " --strict estilo de saída Uniforum estricto\n" +#~ " -v, --verbose incrementa-lo nivel de detalle\n" +#~ " -V, --version amosa-la información da versión e saír\n" +#~ " -w, --width=NÚMERO establece-la anchura da páxina de saída\n" + #~ msgid "missing arguments" #~ msgstr "faltan argumentos" diff --git a/gettext-tools/po/id.po b/gettext-tools/po/id.po index ed607140f..04a8c472c 100644 --- a/gettext-tools/po/id.po +++ b/gettext-tools/po/id.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.35\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 1999-09-19 10:24+07:00\n" "Last-Translator: Tedi Heriyanto \n" "Language-Team: Indonesian \n" @@ -27,40 +28,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "kesalahan saat membuka \"%s\" untuk dibaca" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "kesalahan ketika membuka \"%s\" untuk ditulis" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "kesalahan ketika membaca \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "kesalahan saat menulis file \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "kesalahan ketika membaca \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Kesalahan sistem tak dikenal" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -120,7 +122,7 @@ msgstr "%s: pilihan `-W %s' rancu\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: pilihan `-W %s' tidak membolehkan sebuah argumen\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -128,122 +130,322 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 #, fuzzy msgid "memory exhausted" msgstr "Memori habis" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "tidak dapat membuat file output \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "jumlah spesifikasi format dalam `msgid' dan `msgstr' tidak sesuai" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "jumlah spesifikasi format dalam `msgid' dan `msgstr' tidak sesuai" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "jumlah spesifikasi format dalam `msgid' dan `msgstr' tidak sesuai" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "jumlah spesifikasi format dalam `msgid' dan `msgstr' tidak sesuai" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "spesifikasi format untuk argumen %u tidak sama" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "spesifikasi format untuk argumen %u tidak sama" +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + # ) -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -254,196 +456,363 @@ msgstr "" "Ini adalah free software; lihat source untuk kondisi penyalinan. Tidak ada\n" "jaminan; bahkan untuk PENJUALAN atau KESESUAIAN UNTUK TUJUAN TERTENTU.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Ditulis oleh %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "terlalu banyak argumen" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Coba `%s --help' untuk informasi lebih jauh.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr "" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Laporkan kesalahan ke .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "dibutuhkan tepat 2 file input" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s dan %s adalah mutually exclusive" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "tidak diberikan file input" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Pemakaian: %s [PILIHAN] def.po ref.po\n" -"Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan pendek.\n" -" -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input file\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. kar.\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent gaya output terindentasi\n" -" -o, --output-file=FILE hasil ditulis ke FILE\n" -" --no-location hapus baris '#: filename:line'\n" -" --add-location simpan baris '#: filename:line' (baku)\n" -" --strict gaya output strict Uniforum\n" -" -v, --verbose tingkatkan level verbositas\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" +"Pemakaian: %s [PILIHAN] [FILE]...\n" +"Argumen wajib untuk pilihan panjang juga wajib untuk pilihan pendek.\n" +" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +" -E, --escape gunakan escape C dalam output, tanpa ekst. " +"karakter\n" +" --force-po tulis file PO bahkan bila kosong\n" +" -h, --help tampilkan bantuan ini dan keluar\n" +" -i, --indent tulis output bergaya indentasi\n" +" -o, --output-file=FILE tulis output ke FILE\n" +" --strict tulis dalam gaya strict uniforum\n" +" -V, --version tampilkan informasi versi dan keluar\n" +" -w, --width=NUMBER set lebar halaman output\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "digunakan kriteria pemilihan yang tidak mungkin (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -471,110 +840,67 @@ msgstr "" "komentar ekstraksi akan dijaga, tetapi hanya dari file PO pertama yang\n" "mendefinisikan mereka. Posisi file dari seluruh file PO akan dijaga.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -" -V, --version tampilkan versi informasi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -" -<, --less-than=NUMBER cetak pesan dengan definisi kurang dari ini,\n" -" baku adalah infinit jika tidak diset\n" -" ->, --more-than=NUMBER cetak pesan dengan definisi lebih dari ini,\n" -" baku adalah 1 jika tidak diset\n" -"\n" -"Temukan pesan yang umum di antara dua/lebih file PO yang dispesifikasikan.\n" -"Dengan menggunakan pilihan --more-than, kesamaan umum dapat diminta sebelum\n" -"pesan dicetak. Sebaliknya, pilihan --less-than dapat digunakan untuk \n" -"menspesifikasikan kesamaan yang kurang sebelum pesan dicetak (misal \n" -"--less-than=2 akan mencetak pesan-pesan unik). Terjemahan, komentar dan\n" -"komentar ekstraksi akan dijaga, tetapi hanya dari file PO pertama yang\n" -"mendefinisikan mereka. Posisi file dari seluruh file PO akan dijaga.\n" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Pemakaian: %s [PILIHAN] def.po ref.po\n" -"Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan pendek.\n" -" -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input file\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. kar.\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent gaya output terindentasi\n" -" -o, --output-file=FILE hasil ditulis ke FILE\n" -" --no-location hapus baris '#: filename:line'\n" -" --add-location simpan baris '#: filename:line' (baku)\n" -" --strict gaya output strict Uniforum\n" -" -v, --verbose tingkatkan level verbositas\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "tidak diberikan file input" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "dibutuhkan tepat 2 file input" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -598,50 +924,52 @@ msgstr "" "program anda. Bilamana tidak ditemukan kecocokan yang tepat, digunakan fuzzy\n" "matching untuk menghasilkan diagnostik yang lebih baik.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "pesan ini digunakan tapi tidak didefinisikan..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...tetapi definisi ini serupa" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "pesan ini digunakan tapi tidak didefinisikan dalam %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "peringatan: pesan ini tidak digunakan" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, fuzzy, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "ditemukan %d kesalahan fatal" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "paling tidak dua file harus dispesifikasikan" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -668,156 +996,87 @@ msgstr "" "komentar ekstraksi akan dijaga, tetapi hanya dari file PO pertama yang\n" "mendefinisikan mereka. Posisi file dari seluruh file PO akan dijaga.\n" -#: src/msgcomm.c:351 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -" -V, --version tampilkan versi informasi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -" -<, --less-than=NUMBER cetak pesan dengan definisi kurang dari ini,\n" -" baku adalah infinit jika tidak diset\n" -" ->, --more-than=NUMBER cetak pesan dengan definisi lebih dari ini,\n" -" baku adalah 1 jika tidak diset\n" -"\n" -"Temukan pesan yang umum di antara dua/lebih file PO yang dispesifikasikan.\n" -"Dengan menggunakan pilihan --more-than, kesamaan umum dapat diminta sebelum\n" -"pesan dicetak. Sebaliknya, pilihan --less-than dapat digunakan untuk \n" -"menspesifikasikan kesamaan yang kurang sebelum pesan dicetak (misal \n" -"--less-than=2 akan mencetak pesan-pesan unik). Terjemahan, komentar dan\n" -"komentar ekstraksi akan dijaga, tetapi hanya dari file PO pertama yang\n" -"mendefinisikan mereka. Posisi file dari seluruh file PO akan dijaga.\n" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Pemakaian: %s [PILIHAN] def.po ref.po\n" -"Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan pendek.\n" -" -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input file\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. kar.\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent gaya output terindentasi\n" -" -o, --output-file=FILE hasil ditulis ke FILE\n" -" --no-location hapus baris '#: filename:line'\n" -" --add-location simpan baris '#: filename:line' (baku)\n" -" --strict gaya output strict Uniforum\n" -" -v, --verbose tingkatkan level verbositas\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Pemakaian: %s [PILIHAN] def.po ref.po\n" -"Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan pendek.\n" -" -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input file\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. kar.\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent gaya output terindentasi\n" -" -o, --output-file=FILE hasil ditulis ke FILE\n" -" --no-location hapus baris '#: filename:line'\n" -" --add-location simpan baris '#: filename:line' (baku)\n" -" --strict gaya output strict Uniforum\n" -" -v, --verbose tingkatkan level verbositas\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "tidak diberikan file input" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "dibutuhkan tepat 2 file input" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "Argumen hilang" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -827,118 +1086,106 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "Argumen hilang" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "paling tidak dua file harus dispesifikasikan" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Pemakaian: %s [PILIHAN] def.po ref.po\n" -"Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan pendek.\n" -" -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input file\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. kar.\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent gaya output terindentasi\n" -" -o, --output-file=FILE hasil ditulis ke FILE\n" -" --no-location hapus baris '#: filename:line'\n" -" --add-location simpan baris '#: filename:line' (baku)\n" -" --strict gaya output strict Uniforum\n" -" -v, --verbose tingkatkan level verbositas\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -948,18 +1195,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -969,324 +1216,377 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, fuzzy, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d pesan diterjemahkan" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, fuzzy, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d terjemahan fuzzy" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, fuzzy, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d pesan belum diterjemahkan" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "urutan kendali ilegal" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "urutan kendali ilegal" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "pesan ini digunakan tapi tidak didefinisikan dalam %s" msgstr[1] "pesan ini digunakan tapi tidak didefinisikan dalam %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "pesan ini digunakan tapi tidak didefinisikan dalam %s" msgstr[1] "pesan ini digunakan tapi tidak didefinisikan dalam %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "masukan `msgid' dan `msgstr' tidak dimulai dengan '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "masukan `msgid' dan `msgstr' tidak dimulai dengan '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "masukan `msgid' dan `msgstr' tidak dimulai dengan '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "masukan `msgid' dan `msgstr' tidak diakhiri dengan '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "masukan `msgid' dan `msgstr' tidak diakhiri dengan '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "masukan `msgid' dan `msgstr' tidak diakhiri dengan '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "headerfield `%s' tidak ada dalam header" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "header field `%s' harus dimulai di awal baris" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "beberapa field header masih memiliki nilai baku awal" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "field `%s' masih memiliki nilai baku awal" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "nama domain \"%s\" tidak sesuai dengan nama file" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "nama domain \"%s\" tidak sesuai dengan nama file: akan menggunakan prefix" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "direktiv `domain %s' diabaikan" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "definisi pesan ganda" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...ini adalah lokasi definisi pertama" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "masukan `msgstr' kosong diabaikan" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "masukan fuzzy `msgstr' diabaikan" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: peringatan: file source mengandung terjemahan fuzzy" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1310,6 +1610,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1317,51 +1618,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Pemakaian: %s [PILIHAN] def.po ref.po\n" -"Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan pendek.\n" -" -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input file\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. kar.\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent gaya output terindentasi\n" -" -o, --output-file=FILE hasil ditulis ke FILE\n" -" --no-location hapus baris '#: filename:line'\n" -" --add-location simpan baris '#: filename:line' (baku)\n" -" --strict gaya output strict Uniforum\n" -" -v, --verbose tingkatkan level verbositas\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1369,80 +1650,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1454,51 +1736,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1546,33 +1829,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1595,71 +1878,79 @@ msgstr "" "digunakan fuzzy matching untuk memberi hasil yang lebih baik. Hasilnya ditulis\n" "ke stdout kecuali diberikan sebuah output file.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "pesan ini digunakan tapi tidak didefinisikan dalam %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "pesan ini digunakan tapi tidak didefinisikan dalam %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, fuzzy, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1668,106 +1959,69 @@ msgstr "" "%sMembaca %d lama + %d referensi, digabung %d, fuzzy %d, hilang %d, kuno %" "d.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " selesai.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s dan %s adalah mutually exclusive" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Pemakaian: %s [PILIHAN] [FILE]...\n" -"Argumen wajib untuk pilihan panjang juga wajib untuk pilihan pendek.\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. karakter\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent tulis output bergaya indentasi\n" -" -o, --output-file=FILE tulis output ke FILE\n" -" --strict tulis dalam gaya strict uniforum\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -#: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +#: src/msgunfmt.c:388 +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1780,15 +2034,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1844,76 +2100,77 @@ msgid "" "Message conversion to user's charset will not work.\n" msgstr "" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 #, fuzzy msgid "missing `msgstr[]' section" msgstr "bagian `msgstr' hilang" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 #, fuzzy msgid "missing `msgid_plural' section" msgstr "bagian `msgstr' hilang" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "bagian `msgstr' hilang" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "terlalu banyak kesalahan, dibatalkan" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 +#, fuzzy msgid "invalid multibyte sequence" -msgstr "" +msgstr "urutan kendali ilegal" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "kesalahan ketika membaca \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "kata kunci \"%s\" tidak dikenal" -#: src/po-lex.c:856 +#: src/po-lex.c:817 #, fuzzy msgid "invalid control sequence" msgstr "urutan kendali ilegal" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "end-of-file dalam string" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "end-of-line dalam string" @@ -1937,13 +2194,25 @@ msgstr "file \"%s\" bukan dalam format GNU .mo" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "file \"%s\" bukan dalam format GNU .mo" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "file ini tidak boleh mengandung direktiv domain" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "definisi pesan ganda" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...ini adalah lokasi definisi pertama" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "terlalu banyak argumen" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -1960,8 +2229,9 @@ msgid "error writing stdout" msgstr "kesalahan saat menulis file \"%s\"" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "tidak dapat membuat file output \"%s\"" #: src/write-java.c:1065 #, fuzzy, c-format @@ -1978,7 +2248,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -1988,18 +2258,18 @@ msgstr "kesalahan saat menulis file \"%s\"" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "kesalahan ketika membuka \"%s\" untuk ditulis" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "Pesan internasionalisasi tidak boleh mengandung escape sequence `\\%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2008,12 +2278,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "tidak dapat membuat file output \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standard output" @@ -2024,7 +2307,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: peringatan: string literal yang unterminated" @@ -2056,11 +2339,7 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "file ini tidak boleh mengandung direktiv domain" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: peringatan: karakter konstan yang unterminated" @@ -2076,148 +2355,555 @@ msgid "%s:%d: missing number after #" msgstr "" #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: peringatan: string literal yang unterminated" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "--join-existing tidak dapat digunakan ketika output ditulis ke stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "peringatan: file `%s' ekstensi `%s' tidak dikenal; dicoba C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "tidak diberikan file input" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" msgstr "" -"Pemakaian: %s [PILIHAN] def.po ref.po\n" -"Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan pendek.\n" -" -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input file\n" -" -e, --no-escape jangan gunakan escape C dalam output (baku)\n" -" -E, --escape gunakan escape C dalam output, tanpa ekst. kar.\n" -" --force-po tulis file PO bahkan bila kosong\n" -" -h, --help tampilkan bantuan ini dan keluar\n" -" -i, --indent gaya output terindentasi\n" -" -o, --output-file=FILE hasil ditulis ke FILE\n" -" --no-location hapus baris '#: filename:line'\n" -" --add-location simpan baris '#: filename:line' (baku)\n" -" --strict gaya output strict Uniforum\n" -" -v, --verbose tingkatkan level verbositas\n" -" -V, --version tampilkan informasi versi dan keluar\n" -" -w, --width=NUMBER set lebar halaman output\n" -#: src/xgettext.c:879 +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standard input" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "bahasa `%s' tidak dikenal" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] def.po ref.po\n" +#~ "Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan " +#~ "pendek.\n" +#~ " -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input " +#~ "file\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "kar.\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent gaya output terindentasi\n" +#~ " -o, --output-file=FILE hasil ditulis ke FILE\n" +#~ " --no-location hapus baris '#: filename:line'\n" +#~ " --add-location simpan baris '#: filename:line' (baku)\n" +#~ " --strict gaya output strict Uniforum\n" +#~ " -v, --verbose tingkatkan level verbositas\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version tampilkan versi informasi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" +#~ " -<, --less-than=NUMBER cetak pesan dengan definisi kurang dari ini,\n" +#~ " baku adalah infinit jika tidak diset\n" +#~ " ->, --more-than=NUMBER cetak pesan dengan definisi lebih dari ini,\n" +#~ " baku adalah 1 jika tidak diset\n" +#~ "\n" +#~ "Temukan pesan yang umum di antara dua/lebih file PO yang " +#~ "dispesifikasikan.\n" +#~ "Dengan menggunakan pilihan --more-than, kesamaan umum dapat diminta " +#~ "sebelum\n" +#~ "pesan dicetak. Sebaliknya, pilihan --less-than dapat digunakan untuk \n" +#~ "menspesifikasikan kesamaan yang kurang sebelum pesan dicetak (misal \n" +#~ "--less-than=2 akan mencetak pesan-pesan unik). Terjemahan, komentar dan\n" +#~ "komentar ekstraksi akan dijaga, tetapi hanya dari file PO pertama yang\n" +#~ "mendefinisikan mereka. Posisi file dari seluruh file PO akan dijaga.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] def.po ref.po\n" +#~ "Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan " +#~ "pendek.\n" +#~ " -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input " +#~ "file\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "kar.\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent gaya output terindentasi\n" +#~ " -o, --output-file=FILE hasil ditulis ke FILE\n" +#~ " --no-location hapus baris '#: filename:line'\n" +#~ " --add-location simpan baris '#: filename:line' (baku)\n" +#~ " --strict gaya output strict Uniforum\n" +#~ " -v, --verbose tingkatkan level verbositas\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version tampilkan versi informasi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" +#~ " -<, --less-than=NUMBER cetak pesan dengan definisi kurang dari ini,\n" +#~ " baku adalah infinit jika tidak diset\n" +#~ " ->, --more-than=NUMBER cetak pesan dengan definisi lebih dari ini,\n" +#~ " baku adalah 1 jika tidak diset\n" +#~ "\n" +#~ "Temukan pesan yang umum di antara dua/lebih file PO yang " +#~ "dispesifikasikan.\n" +#~ "Dengan menggunakan pilihan --more-than, kesamaan umum dapat diminta " +#~ "sebelum\n" +#~ "pesan dicetak. Sebaliknya, pilihan --less-than dapat digunakan untuk \n" +#~ "menspesifikasikan kesamaan yang kurang sebelum pesan dicetak (misal \n" +#~ "--less-than=2 akan mencetak pesan-pesan unik). Terjemahan, komentar dan\n" +#~ "komentar ekstraksi akan dijaga, tetapi hanya dari file PO pertama yang\n" +#~ "mendefinisikan mereka. Posisi file dari seluruh file PO akan dijaga.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] def.po ref.po\n" +#~ "Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan " +#~ "pendek.\n" +#~ " -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input " +#~ "file\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "kar.\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent gaya output terindentasi\n" +#~ " -o, --output-file=FILE hasil ditulis ke FILE\n" +#~ " --no-location hapus baris '#: filename:line'\n" +#~ " --add-location simpan baris '#: filename:line' (baku)\n" +#~ " --strict gaya output strict Uniforum\n" +#~ " -v, --verbose tingkatkan level verbositas\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] def.po ref.po\n" +#~ "Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan " +#~ "pendek.\n" +#~ " -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input " +#~ "file\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "kar.\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent gaya output terindentasi\n" +#~ " -o, --output-file=FILE hasil ditulis ke FILE\n" +#~ " --no-location hapus baris '#: filename:line'\n" +#~ " --add-location simpan baris '#: filename:line' (baku)\n" +#~ " --strict gaya output strict Uniforum\n" +#~ " -v, --verbose tingkatkan level verbositas\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] def.po ref.po\n" +#~ "Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan " +#~ "pendek.\n" +#~ " -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input " +#~ "file\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "kar.\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent gaya output terindentasi\n" +#~ " -o, --output-file=FILE hasil ditulis ke FILE\n" +#~ " --no-location hapus baris '#: filename:line'\n" +#~ " --add-location simpan baris '#: filename:line' (baku)\n" +#~ " --strict gaya output strict Uniforum\n" +#~ " -v, --verbose tingkatkan level verbositas\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] def.po ref.po\n" +#~ "Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan " +#~ "pendek.\n" +#~ " -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input " +#~ "file\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "kar.\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent gaya output terindentasi\n" +#~ " -o, --output-file=FILE hasil ditulis ke FILE\n" +#~ " --no-location hapus baris '#: filename:line'\n" +#~ " --add-location simpan baris '#: filename:line' (baku)\n" +#~ " --strict gaya output strict Uniforum\n" +#~ " -v, --verbose tingkatkan level verbositas\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] [FILE]...\n" +#~ "Argumen wajib untuk pilihan panjang juga wajib untuk pilihan pendek.\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "karakter\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent tulis output bergaya indentasi\n" +#~ " -o, --output-file=FILE tulis output ke FILE\n" +#~ " --strict tulis dalam gaya strict uniforum\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Pemakaian: %s [PILIHAN] def.po ref.po\n" +#~ "Argumen yang perlu untuk pilihan panjang juga diperlukan untuk pilihan " +#~ "pendek.\n" +#~ " -D, --directory=DIRECTORY tambah DIRECTORY ke daftar untuk cari input " +#~ "file\n" +#~ " -e, --no-escape jangan gunakan escape C dalam output (baku)\n" +#~ " -E, --escape gunakan escape C dalam output, tanpa ekst. " +#~ "kar.\n" +#~ " --force-po tulis file PO bahkan bila kosong\n" +#~ " -h, --help tampilkan bantuan ini dan keluar\n" +#~ " -i, --indent gaya output terindentasi\n" +#~ " -o, --output-file=FILE hasil ditulis ke FILE\n" +#~ " --no-location hapus baris '#: filename:line'\n" +#~ " --add-location simpan baris '#: filename:line' (baku)\n" +#~ " --strict gaya output strict Uniforum\n" +#~ " -v, --verbose tingkatkan level verbositas\n" +#~ " -V, --version tampilkan informasi versi dan keluar\n" +#~ " -w, --width=NUMBER set lebar halaman output\n" + #~ msgid "missing arguments" #~ msgstr "Argumen hilang" diff --git a/gettext-tools/po/it.po b/gettext-tools/po/it.po index 72a8ae0b4..8b9963871 100644 --- a/gettext-tools/po/it.po +++ b/gettext-tools/po/it.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.35\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2000-02-17 15:30+01:00\n" "Last-Translator: Giovanni Bortolozzo \n" "Language-Team: Italian \n" @@ -28,40 +29,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "errore durante l'apertura in lettura di \"%s\"" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "errore durante l'apertura in scrittura di \"%s\"" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "errore durante la lettura di \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "errore durante la scrittura del file \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "errore durante la lettura di \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Errore di sistema sconosciuto" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -121,7 +123,7 @@ msgstr "%s: l'opzione `-W %s' msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: l'opzione `-W %s' non ammette un argomento\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -129,87 +131,273 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 #, fuzzy msgid "memory exhausted" msgstr "Memoria esaurita" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "impossibile creare il file d'uscita \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" "il numero di specifiche di formato in `msgid' e `msgstr' non corrispondono" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" "il numero di specifiche di formato in `msgid' e `msgstr' non corrispondono" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -217,7 +405,7 @@ msgid "" msgstr "" "il numero di specifiche di formato in `msgid' e `msgstr' non corrispondono" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -225,29 +413,43 @@ msgid "" msgstr "" "il numero di specifiche di formato in `msgid' e `msgstr' non corrispondono" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "le specifiche di formato per l'argomento %u non sono le stesse" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -259,200 +461,366 @@ msgstr "" "NON c'è nessuna garanzia; neppure di COMMERCIABILITÀ o di IDONEITÀ AD UN\n" "PARTICOLARE SCOPO.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Scritto da %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "troppi argomenti" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Usare `%s --help' per ulteriori informazioni.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr "" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Segnalare i bug a .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "sono richiesti esattamente 2 file d'ingresso" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s e %s sono mutuamente esclusive" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "non è specificato nessun file d'ingresso" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPZIONE] def.po ref.po\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la ricerca\n" -" dei file d'ingresso\n" -" -e, --no-escape non usa le sequenze di escape del C nell'output\n" -" (predefinito)\n" -" -E, --escape usa le le sequenze di escape del C nell'output,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent stile di uscita indentato\n" -" -o, --output-file=FILE il risultato sarà scritto su FILE\n" -" --no-location sopprime le righe '#: nomefile:riga'\n" -" --add-location conserva le righe '#: nomefile:riga'\n" -" (predefinito)\n" -" --strict stile d'uscita Uniforum rigoroso\n" -" -v, --verbose incrementa il livello di verbosità\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" +"Uso: %s [OPZIONE] [FILE]...\n" +"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +"corte.\n" +" -e, --no-escape non usa le sequenze di escape del C nell'uscita\n" +" (predefinito)\n" +" -E, --escape usa le sequenze di escape del C nell'uscita,\n" +" niente caratteri estesi\n" +" --force-po scrive il file PO anche se vuoto\n" +" -h, --help mostra questo aiuto ed esce\n" +" -i, --indent scrive nello stile d'uscita indentato\n" +" -o, --output-file=FILE scrive l'uscita in FILE invece che nello \n" +" standard output\n" +" --strict scrive in stile Uniforum rigoroso\n" +" -V, --version mostra informazioni sulla versione ed esce\n" +" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "il criterio di selezione specificato è impossibile (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -482,116 +850,67 @@ msgstr "" "solamente dal primo file PO che li definisce. Saranno conservate le posizioni\n" "nei file di tutti i file PO.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap -msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" msgstr "" -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" +msgstr "" + +#: src/msgcat.c:359 +msgid "" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina di output\n" -" -<, --less-than=NUMERO mostra i messaggi con meno di questo NUMERO di\n" -" definizioni, per default infinito se non\n" -" specificato\n" -" ->, --more-than=NUMERO mostra i messaggi con più di questo NUMERO di\n" -" definizioni, per default 1 se non specificato\n" -"\n" -"Trova i messaggi comuni a due o più dei file PO specificati. Usando l'opzione\n" -"--more-than potrebbe essere necessaria una elevata similitudine prima che\n" -"possa essere mostrato qualche messaggio. Viceversa, l'opzione --less-than\n" -"può essere usata per specificare la minima similitudine necessaria prima che\n" -"venga stampato un messaggio (i.e. --less-than=2 mostrerà solo i messaggi\n" -"unici). Saranno conservate traduzioni, commenti e commenti di estrazione ma\n" -"solamente dal primo file PO che li definisce. Saranno conservate le posizioni\n" -"nei file di tutti i file PO.\n" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"Uso: %s [OPZIONE] def.po ref.po\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la ricerca\n" -" dei file d'ingresso\n" -" -e, --no-escape non usa le sequenze di escape del C nell'output\n" -" (predefinito)\n" -" -E, --escape usa le le sequenze di escape del C nell'output,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent stile di uscita indentato\n" -" -o, --output-file=FILE il risultato sarà scritto su FILE\n" -" --no-location sopprime le righe '#: nomefile:riga'\n" -" --add-location conserva le righe '#: nomefile:riga'\n" -" (predefinito)\n" -" --strict stile d'uscita Uniforum rigoroso\n" -" -v, --verbose incrementa il livello di verbosità\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 +msgid "" +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "non sono specificati file d'ingresso" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "sono richiesti esattamente 2 file d'ingresso" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -616,50 +935,52 @@ msgstr "" "non è possibile trovare una corrispondenza esatta, sono usate le\n" "corrispondenze approssimative (fuzzy) per produrre diagnostiche migliori.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "questo messaggio è usato ma non definito..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...ma questa definizione è simile" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "questo messaggio è usato ma non è definito in %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "attenzione: questo messaggio non è usato" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, fuzzy, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "trovati %d errori fatali" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "devono essere specificati almeno due file" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -688,166 +1009,87 @@ msgstr "" "solamente dal primo file PO che li definisce. Saranno conservate le posizioni\n" "nei file di tutti i file PO.\n" -#: src/msgcomm.c:351 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina di output\n" -" -<, --less-than=NUMERO mostra i messaggi con meno di questo NUMERO di\n" -" definizioni, per default infinito se non\n" -" specificato\n" -" ->, --more-than=NUMERO mostra i messaggi con più di questo NUMERO di\n" -" definizioni, per default 1 se non specificato\n" -"\n" -"Trova i messaggi comuni a due o più dei file PO specificati. Usando l'opzione\n" -"--more-than potrebbe essere necessaria una elevata similitudine prima che\n" -"possa essere mostrato qualche messaggio. Viceversa, l'opzione --less-than\n" -"può essere usata per specificare la minima similitudine necessaria prima che\n" -"venga stampato un messaggio (i.e. --less-than=2 mostrerà solo i messaggi\n" -"unici). Saranno conservate traduzioni, commenti e commenti di estrazione ma\n" -"solamente dal primo file PO che li definisce. Saranno conservate le posizioni\n" -"nei file di tutti i file PO.\n" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Uso: %s [OPZIONE] def.po ref.po\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la ricerca\n" -" dei file d'ingresso\n" -" -e, --no-escape non usa le sequenze di escape del C nell'output\n" -" (predefinito)\n" -" -E, --escape usa le le sequenze di escape del C nell'output,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent stile di uscita indentato\n" -" -o, --output-file=FILE il risultato sarà scritto su FILE\n" -" --no-location sopprime le righe '#: nomefile:riga'\n" -" --add-location conserva le righe '#: nomefile:riga'\n" -" (predefinito)\n" -" --strict stile d'uscita Uniforum rigoroso\n" -" -v, --verbose incrementa il livello di verbosità\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPZIONE] def.po ref.po\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la ricerca\n" -" dei file d'ingresso\n" -" -e, --no-escape non usa le sequenze di escape del C nell'output\n" -" (predefinito)\n" -" -E, --escape usa le le sequenze di escape del C nell'output,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent stile di uscita indentato\n" -" -o, --output-file=FILE il risultato sarà scritto su FILE\n" -" --no-location sopprime le righe '#: nomefile:riga'\n" -" --add-location conserva le righe '#: nomefile:riga'\n" -" (predefinito)\n" -" --strict stile d'uscita Uniforum rigoroso\n" -" -v, --verbose incrementa il livello di verbosità\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "non è specificato nessun file d'ingresso" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "sono richiesti esattamente 2 file d'ingresso" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "mancano degli argomenti" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -857,122 +1099,106 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "mancano degli argomenti" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "devono essere specificati almeno due file" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPZIONE] def.po ref.po\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la ricerca\n" -" dei file d'ingresso\n" -" -e, --no-escape non usa le sequenze di escape del C nell'output\n" -" (predefinito)\n" -" -E, --escape usa le le sequenze di escape del C nell'output,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent stile di uscita indentato\n" -" -o, --output-file=FILE il risultato sarà scritto su FILE\n" -" --no-location sopprime le righe '#: nomefile:riga'\n" -" --add-location conserva le righe '#: nomefile:riga'\n" -" (predefinito)\n" -" --strict stile d'uscita Uniforum rigoroso\n" -" -v, --verbose incrementa il livello di verbosità\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -982,18 +1208,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -1003,327 +1229,380 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, fuzzy, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d messaggi tradotti" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, fuzzy, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d traduzioni approssimative" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, fuzzy, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d messaggi non tradotti" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "sequenza di controllo illegale" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "sequenza di controllo illegale" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "questo messaggio è usato ma non è definito in %s" msgstr[1] "questo messaggio è usato ma non è definito in %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "questo messaggio è usato ma non è definito in %s" msgstr[1] "questo messaggio è usato ma non è definito in %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "le voci `msgid' e `msgstr' non cominciano entrambe con `\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "le voci `msgid' e `msgstr' non cominciano entrambe con `\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "le voci `msgid' e `msgstr' non cominciano entrambe con `\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "le voci `msgid' e `msgstr' non finiscono entrambe con `\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "le voci `msgid' e `msgstr' non finiscono entrambe con `\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "le voci `msgid' e `msgstr' non finiscono entrambe con `\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "nell'intestazione manca il campo `%s'" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "" "il campo `%s' dell'intestazione dovrebbe cominciare all'inizio della riga" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "" "alcuni campi dell'intestazione sono ancora al valore iniziale predefinito" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "il campo `%s' ha ancora il valore iniziale predefinito" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "il nome di dominio \"%s\" non è adatto come nome di file" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "il nome di dominio \"%s\" non è adatto come nome di file: sarà usato\n" "un prefisso" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "`domain %s' direttiva ignorata" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "definizione del messaggio duplicata" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...questa è la posizione della prima definizione" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "ignorata la voce `msgstr' vuota" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "ignorata la voce `msgstr' approssimativa" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: attenzione: il file sorgente contiene traduzioni approssimative" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1347,6 +1626,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1354,55 +1634,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPZIONE] def.po ref.po\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la ricerca\n" -" dei file d'ingresso\n" -" -e, --no-escape non usa le sequenze di escape del C nell'output\n" -" (predefinito)\n" -" -E, --escape usa le le sequenze di escape del C nell'output,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent stile di uscita indentato\n" -" -o, --output-file=FILE il risultato sarà scritto su FILE\n" -" --no-location sopprime le righe '#: nomefile:riga'\n" -" --add-location conserva le righe '#: nomefile:riga'\n" -" (predefinito)\n" -" --strict stile d'uscita Uniforum rigoroso\n" -" -v, --verbose incrementa il livello di verbosità\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1410,80 +1666,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1495,51 +1752,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1587,33 +1845,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1638,71 +1896,79 @@ msgstr "" "approssimativa (fuzzy) per ottenere risultati migliori. I risultati sono\n" "scritti su stdout a meno che non sia specificato un file d'uscita.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "questo messaggio è usato ma non è definito in %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "questo messaggio è usato ma non è definito in %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, fuzzy, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1711,109 +1977,69 @@ msgstr "" "%sLetti %d vecchi + %d riferimenti, fusi %d, fuzzy %d, persi %d, obsoleti %" "d.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " fatto.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s e %s sono mutuamente esclusive" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Uso: %s [OPZIONE] [FILE]...\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -e, --no-escape non usa le sequenze di escape del C nell'uscita\n" -" (predefinito)\n" -" -E, --escape usa le sequenze di escape del C nell'uscita,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent scrive nello stile d'uscita indentato\n" -" -o, --output-file=FILE scrive l'uscita in FILE invece che nello \n" -" standard output\n" -" --strict scrive in stile Uniforum rigoroso\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1826,15 +2052,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1890,76 +2118,77 @@ msgid "" "Message conversion to user's charset will not work.\n" msgstr "" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 #, fuzzy msgid "missing `msgstr[]' section" msgstr "manca la sezione `msgstr'" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 #, fuzzy msgid "missing `msgid_plural' section" msgstr "manca la sezione `msgstr'" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "manca la sezione `msgstr'" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "troppi errori, annullato" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 +#, fuzzy msgid "invalid multibyte sequence" -msgstr "" +msgstr "sequenza di controllo illegale" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "errore durante la lettura di \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "la parola chiave \"%s\" è sconoscita" -#: src/po-lex.c:856 +#: src/po-lex.c:817 #, fuzzy msgid "invalid control sequence" msgstr "sequenza di controllo illegale" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "end-of-file all'interno di una stringa" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "end-of-line all'interno di una stringa" @@ -1983,13 +2212,25 @@ msgstr "il file \"%s\" non msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "il file \"%s\" non è nel formato GNU .mo" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "questo file potrebbe non contenere direttive di dominio" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "definizione del messaggio duplicata" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...questa è la posizione della prima definizione" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "troppi argomenti" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -2006,8 +2247,9 @@ msgid "error writing stdout" msgstr "errore durante la scrittura del file \"%s\"" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "impossibile creare il file d'uscita \"%s\"" #: src/write-java.c:1065 #, fuzzy, c-format @@ -2024,7 +2266,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2034,12 +2276,12 @@ msgstr "errore durante la scrittura del file \"%s\"" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "errore durante l'apertura in scrittura di \"%s\"" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" @@ -2047,7 +2289,7 @@ msgstr "" "i messaggi internazionalizzati non devono contenere la sequenza di escape `\\" "%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2056,12 +2298,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "impossibile creare il file d'uscita \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standard output" @@ -2072,7 +2327,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: attenzione: letterale stringa non terminato" @@ -2104,11 +2359,7 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "questo file potrebbe non contenere direttive di dominio" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: attenzione: costante carattere non terminata" @@ -2124,153 +2375,619 @@ msgid "%s:%d: missing number after #" msgstr "" #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: attenzione: letterale stringa non terminato" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing non può essere usato quando l'output è scritto su stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "attenzione: il file `%s' ha estensione `%s' sconosciuta: proverò con C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "non è specificato nessun file d'ingresso" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" msgstr "" -"Uso: %s [OPZIONE] def.po ref.po\n" -"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle corte.\n" -" -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la ricerca\n" -" dei file d'ingresso\n" -" -e, --no-escape non usa le sequenze di escape del C nell'output\n" -" (predefinito)\n" -" -E, --escape usa le le sequenze di escape del C nell'output,\n" -" niente caratteri estesi\n" -" --force-po scrive il file PO anche se vuoto\n" -" -h, --help mostra questo aiuto ed esce\n" -" -i, --indent stile di uscita indentato\n" -" -o, --output-file=FILE il risultato sarà scritto su FILE\n" -" --no-location sopprime le righe '#: nomefile:riga'\n" -" --add-location conserva le righe '#: nomefile:riga'\n" -" (predefinito)\n" -" --strict stile d'uscita Uniforum rigoroso\n" -" -v, --verbose incrementa il livello di verbosità\n" -" -V, --version mostra informazioni sulla versione ed esce\n" -" -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" -#: src/xgettext.c:879 +#: src/xgettext.c:922 msgid "standard input" msgstr "standard input" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "linguaggio `%s' sconosciuto" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] def.po ref.po\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la " +#~ "ricerca\n" +#~ " dei file d'ingresso\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'output\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le le sequenze di escape del C " +#~ "nell'output,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent stile di uscita indentato\n" +#~ " -o, --output-file=FILE il risultato sarà scritto su FILE\n" +#~ " --no-location sopprime le righe '#: nomefile:riga'\n" +#~ " --add-location conserva le righe '#: nomefile:riga'\n" +#~ " (predefinito)\n" +#~ " --strict stile d'uscita Uniforum rigoroso\n" +#~ " -v, --verbose incrementa il livello di verbosità\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version mostra informazioni sulla versione ed " +#~ "esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina di " +#~ "output\n" +#~ " -<, --less-than=NUMERO mostra i messaggi con meno di questo " +#~ "NUMERO di\n" +#~ " definizioni, per default infinito se " +#~ "non\n" +#~ " specificato\n" +#~ " ->, --more-than=NUMERO mostra i messaggi con più di questo " +#~ "NUMERO di\n" +#~ " definizioni, per default 1 se non " +#~ "specificato\n" +#~ "\n" +#~ "Trova i messaggi comuni a due o più dei file PO specificati. Usando " +#~ "l'opzione\n" +#~ "--more-than potrebbe essere necessaria una elevata similitudine prima " +#~ "che\n" +#~ "possa essere mostrato qualche messaggio. Viceversa, l'opzione --less-" +#~ "than\n" +#~ "può essere usata per specificare la minima similitudine necessaria prima " +#~ "che\n" +#~ "venga stampato un messaggio (i.e. --less-than=2 mostrerà solo i messaggi\n" +#~ "unici). Saranno conservate traduzioni, commenti e commenti di estrazione " +#~ "ma\n" +#~ "solamente dal primo file PO che li definisce. Saranno conservate le " +#~ "posizioni\n" +#~ "nei file di tutti i file PO.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] def.po ref.po\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la " +#~ "ricerca\n" +#~ " dei file d'ingresso\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'output\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le le sequenze di escape del C " +#~ "nell'output,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent stile di uscita indentato\n" +#~ " -o, --output-file=FILE il risultato sarà scritto su FILE\n" +#~ " --no-location sopprime le righe '#: nomefile:riga'\n" +#~ " --add-location conserva le righe '#: nomefile:riga'\n" +#~ " (predefinito)\n" +#~ " --strict stile d'uscita Uniforum rigoroso\n" +#~ " -v, --verbose incrementa il livello di verbosità\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version mostra informazioni sulla versione ed " +#~ "esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina di " +#~ "output\n" +#~ " -<, --less-than=NUMERO mostra i messaggi con meno di questo " +#~ "NUMERO di\n" +#~ " definizioni, per default infinito se " +#~ "non\n" +#~ " specificato\n" +#~ " ->, --more-than=NUMERO mostra i messaggi con più di questo " +#~ "NUMERO di\n" +#~ " definizioni, per default 1 se non " +#~ "specificato\n" +#~ "\n" +#~ "Trova i messaggi comuni a due o più dei file PO specificati. Usando " +#~ "l'opzione\n" +#~ "--more-than potrebbe essere necessaria una elevata similitudine prima " +#~ "che\n" +#~ "possa essere mostrato qualche messaggio. Viceversa, l'opzione --less-" +#~ "than\n" +#~ "può essere usata per specificare la minima similitudine necessaria prima " +#~ "che\n" +#~ "venga stampato un messaggio (i.e. --less-than=2 mostrerà solo i messaggi\n" +#~ "unici). Saranno conservate traduzioni, commenti e commenti di estrazione " +#~ "ma\n" +#~ "solamente dal primo file PO che li definisce. Saranno conservate le " +#~ "posizioni\n" +#~ "nei file di tutti i file PO.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] def.po ref.po\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la " +#~ "ricerca\n" +#~ " dei file d'ingresso\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'output\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le le sequenze di escape del C " +#~ "nell'output,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent stile di uscita indentato\n" +#~ " -o, --output-file=FILE il risultato sarà scritto su FILE\n" +#~ " --no-location sopprime le righe '#: nomefile:riga'\n" +#~ " --add-location conserva le righe '#: nomefile:riga'\n" +#~ " (predefinito)\n" +#~ " --strict stile d'uscita Uniforum rigoroso\n" +#~ " -v, --verbose incrementa il livello di verbosità\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] def.po ref.po\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la " +#~ "ricerca\n" +#~ " dei file d'ingresso\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'output\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le le sequenze di escape del C " +#~ "nell'output,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent stile di uscita indentato\n" +#~ " -o, --output-file=FILE il risultato sarà scritto su FILE\n" +#~ " --no-location sopprime le righe '#: nomefile:riga'\n" +#~ " --add-location conserva le righe '#: nomefile:riga'\n" +#~ " (predefinito)\n" +#~ " --strict stile d'uscita Uniforum rigoroso\n" +#~ " -v, --verbose incrementa il livello di verbosità\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] def.po ref.po\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la " +#~ "ricerca\n" +#~ " dei file d'ingresso\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'output\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le le sequenze di escape del C " +#~ "nell'output,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent stile di uscita indentato\n" +#~ " -o, --output-file=FILE il risultato sarà scritto su FILE\n" +#~ " --no-location sopprime le righe '#: nomefile:riga'\n" +#~ " --add-location conserva le righe '#: nomefile:riga'\n" +#~ " (predefinito)\n" +#~ " --strict stile d'uscita Uniforum rigoroso\n" +#~ " -v, --verbose incrementa il livello di verbosità\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] def.po ref.po\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la " +#~ "ricerca\n" +#~ " dei file d'ingresso\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'output\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le le sequenze di escape del C " +#~ "nell'output,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent stile di uscita indentato\n" +#~ " -o, --output-file=FILE il risultato sarà scritto su FILE\n" +#~ " --no-location sopprime le righe '#: nomefile:riga'\n" +#~ " --add-location conserva le righe '#: nomefile:riga'\n" +#~ " (predefinito)\n" +#~ " --strict stile d'uscita Uniforum rigoroso\n" +#~ " -v, --verbose incrementa il livello di verbosità\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] [FILE]...\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'uscita\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le sequenze di escape del C nell'uscita,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent scrive nello stile d'uscita indentato\n" +#~ " -o, --output-file=FILE scrive l'uscita in FILE invece che nello \n" +#~ " standard output\n" +#~ " --strict scrive in stile Uniforum rigoroso\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Uso: %s [OPZIONE] def.po ref.po\n" +#~ "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle " +#~ "corte.\n" +#~ " -D, --directory=DIRECTORY aggiunge DIRECTORY alla lista per la " +#~ "ricerca\n" +#~ " dei file d'ingresso\n" +#~ " -e, --no-escape non usa le sequenze di escape del C " +#~ "nell'output\n" +#~ " (predefinito)\n" +#~ " -E, --escape usa le le sequenze di escape del C " +#~ "nell'output,\n" +#~ " niente caratteri estesi\n" +#~ " --force-po scrive il file PO anche se vuoto\n" +#~ " -h, --help mostra questo aiuto ed esce\n" +#~ " -i, --indent stile di uscita indentato\n" +#~ " -o, --output-file=FILE il risultato sarà scritto su FILE\n" +#~ " --no-location sopprime le righe '#: nomefile:riga'\n" +#~ " --add-location conserva le righe '#: nomefile:riga'\n" +#~ " (predefinito)\n" +#~ " --strict stile d'uscita Uniforum rigoroso\n" +#~ " -v, --verbose incrementa il livello di verbosità\n" +#~ " -V, --version mostra informazioni sulla versione ed esce\n" +#~ " -w, --width=NUMERO imposta la larghezza della pagina d'uscita\n" + #~ msgid "missing arguments" #~ msgstr "mancano degli argomenti" diff --git a/gettext-tools/po/ja.po b/gettext-tools/po/ja.po index 5acf30d5c..5fdfdf902 100644 --- a/gettext-tools/po/ja.po +++ b/gettext-tools/po/ja.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-tools 0.12-pre4\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-05-06 14:06+0200\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-05-07 22:51+0900\n" "Last-Translator: Masahito Yamaga \n" "Language-Team: Japanese \n" @@ -56,11 +56,11 @@ msgstr "\"%s\" msgid "error after reading \"%s\"" msgstr "\"%s\" ¤òÆÉ¤ß¹þ¤ó¤À¸å¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "̤ÃΤΥ·¥¹¥Æ¥à¥¨¥é¡¼" -#: lib/execute.c:176 lib/execute.c:227 lib/execute.c:262 lib/pipe-bidi.c:174 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 #: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 #: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 #: lib/wait-process.c:147 @@ -460,7 +460,7 @@ msgstr "Ì¿ #: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 #: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 -#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:245 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 #: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 #: src/xgettext.c:411 #, c-format, no-wrap @@ -480,27 +480,27 @@ msgstr "" #: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 #: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 -#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:250 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 #: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 #: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "ºî¼Ô %s.\n" -#: src/hostname.c:187 src/msginit.c:260 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "°ú¿ô¤¬Â¿¤¹¤®¤Þ¤¹" #: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 #: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 -#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:335 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 #: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 #: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "¤è¤ê¿¤¯¤Î¾ðÊó¤òÆÀ¤ë¤¿¤á¤Ë¤Ï `%s --help' ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤.\n" -#: src/hostname.c:204 src/msginit.c:339 +#: src/hostname.c:204 src/msginit.c:344 #, c-format msgid "Usage: %s [OPTION]\n" msgstr "»ÈÍÑË¡: %s [¥ª¥×¥·¥ç¥ó]\n" @@ -533,7 +533,7 @@ msgstr " -i, --ip-address #: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 #: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 -#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:387 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 #: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 #: src/xgettext.c:729 msgid "Informative output:\n" @@ -541,7 +541,7 @@ msgstr " #: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 #: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 -#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:389 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 #: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 #: src/xgettext.c:731 msgid " -h, --help display this help and exit\n" @@ -549,7 +549,7 @@ msgstr " -h, --help #: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 #: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 -#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:391 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 #: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 #: src/xgettext.c:733 msgid " -V, --version output version information and exit\n" @@ -557,7 +557,7 @@ msgstr " -V, --version #: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 #: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 -#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:394 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 #: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 #: src/xgettext.c:736 msgid "Report bugs to .\n" @@ -568,7 +568,7 @@ msgid "could not get host name" msgstr "¥Û¥¹¥È̾¤ò¼èÆÀ¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿" #: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 -#: src/msggrep.c:316 src/msginit.c:191 src/msguniq.c:244 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "ºÇÂç 1¤Ä¤ÎÆþÎÏ¥Õ¥¡¥¤¥ë¤¬µö¤µ¤ì¤Þ¤¹" @@ -597,7 +597,7 @@ msgstr "° #: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 #: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 -#: src/msggrep.c:429 src/msginit.c:349 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 #: src/msguniq.c:305 msgid "" "Mandatory arguments to long options are mandatory for short options too.\n" @@ -605,7 +605,7 @@ msgstr "Ĺ #: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 #: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 -#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:352 src/msgmerge.c:423 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 #: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 msgid "Input file location:\n" msgstr "ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î»ØÄê:\n" @@ -631,7 +631,7 @@ msgstr "" #: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 #: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 -#: src/msginit.c:360 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 #: src/xgettext.c:636 msgid "Output file location:\n" msgstr "½ÐÎÏ¥Õ¥¡¥¤¥ë¤Î»ØÄê:\n" @@ -728,20 +728,20 @@ msgstr "" #: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 #: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 -#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:368 src/msgmerge.c:476 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 #: src/msguniq.c:332 msgid "Input file syntax:\n" msgstr "ÆþÎÏ¥Õ¥¡¥¤¥ë¤Îʸˡ:\n" #: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 -#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:370 src/msguniq.c:334 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 msgid "" " -P, --properties-input input file is in Java .properties syntax\n" msgstr " -P, --properties-input ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ï Java .properties ¤Îʸˡ\n" #: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 #: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 -#: src/msginit.c:373 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 #: src/xgettext.c:689 msgid "Output details:\n" msgstr "½ÐÎϤξܺÙ:\n" @@ -795,19 +795,19 @@ msgstr "" " --strict ¸·Ì©¤Ê Uniforum ·Á¼°¤Î .po ¥Õ¥¡¥¤¥ë¤ò½ÐÎÏ\n" #: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 -#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:379 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 #: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 msgid " -p, --properties-output write out a Java .properties file\n" msgstr " -p, --properties-output Java .properties ¥Õ¥¡¥¤¥ë¤ò½ÐÎÏ\n" #: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 -#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:381 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 #: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 msgid " -w, --width=NUMBER set output page width\n" msgstr " -w, --width=NUMBER ½ÐÎÏ¥Ú¡¼¥¸¤ÎÉý¤òÀßÄê\n" #: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 -#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:383 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 #: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 msgid "" " --no-wrap do not break long message lines, longer than\n" @@ -1727,7 +1727,7 @@ msgstr " --sort-by-file msgid "write to grep subprocess failed" msgstr "grep ¥µ¥Ö¥×¥í¥»¥¹¤Ø¤Î½ñ¤­½Ð¤·¤Ë¼ºÇÔ" -#: src/msginit.c:273 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1736,7 +1736,7 @@ msgstr "" "¤¢¤Ê¤¿¤Ï¸À¸ì¤Ë´Ø¤ï¤ê¤Î¤Ê¤¤´Ä¶­¤Ë¤¤¤Þ¤¹. ABOUT-NLS ¤Ëµ­½Ò¤µ¤ì¤¿¤è¤¦¤Ë\n" "´Ä¶­ÊÑ¿ô LANG ¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤. ¤³¤ì¤ÇËÝÌõ¤ò¥Æ¥¹¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹.\n" -#: src/msginit.c:301 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1747,23 +1747,23 @@ msgstr "" "--locale ¥ª¥×¥·¥ç¥ó¤Ç¥í¥«¡¼¥ë¤ò»ØÄꤹ¤ë¤«, --output-file ¥ª¥×¥·¥ç¥ó¤Ç\n" "½ÐÎϤ¹¤ë .po ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤.\n" -#: src/msginit.c:324 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "%s ¤òÀ¸À®.\n" -#: src/msginit.c:344 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "¿·¤·¤¤ PO ¥Õ¥¡¥¤¥ë¤òºîÀ®. ¥æ¡¼¥¶´Ä¶­¤«¤é¤ÎÃͤǥ᥿¾ðÊó¤ò½é´ü²½¤·¤Þ¤¹.\n" -#: src/msginit.c:354 +#: src/msginit.c:359 msgid " -i, --input=INPUTFILE input POT file\n" msgstr " -i, --input=INPUTFILE ÆþÎϤ¹¤ë POT ¥Õ¥¡¥¤¥ë\n" -#: src/msginit.c:356 +#: src/msginit.c:361 msgid "" "If no input file is given, the current directory is searched for the POT " "file.\n" @@ -1772,11 +1772,11 @@ msgstr "" "ÆþÎÏ¥Õ¥¡¥¤¥ë¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ç POT ¥Õ¥¡¥¤¥ë¤¬¸¡º÷\n" "¤µ¤ì¤Þ¤¹. ¤â¤·ÆþÎÏ¥Õ¥¡¥¤¥ë¤¬ - ¤Ê¤é¤Ðɸ½àÆþÎϤ¬ÆÉ¤ß¹þ¤Þ¤ì¤Þ¤¹.\n" -#: src/msginit.c:362 +#: src/msginit.c:367 msgid " -o, --output-file=FILE write output to specified PO file\n" msgstr " -o, --output-file=FILE »ØÄꤵ¤ì¤¿ PO ¥Õ¥¡¥¤¥ë¤Ë½ÐÎÏ\n" -#: src/msginit.c:364 +#: src/msginit.c:369 msgid "" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" @@ -1785,18 +1785,18 @@ msgstr "" "¤Î\n" "¥í¥«¡¼¥ëÀßÄê¤Ë°Í¸¤·¤Þ¤¹. ¤â¤· - ¤Ê¤é¤Ð·ë²Ì¤Ïɸ½à½ÐÎϤ˽ÐÎϤµ¤ì¤Þ¤¹.\n" -#: src/msginit.c:375 +#: src/msginit.c:380 msgid " -l, --locale=LL_CC set target locale\n" msgstr "" " -l, --locale=LL_CC ÂоݤȤʤë¥í¥«¡¼¥ë¤òÀßÄê\n" "\n" -#: src/msginit.c:377 +#: src/msginit.c:382 msgid "" " --no-translator assume the PO file is automatically generated\n" msgstr " --no-translator PO ¥Õ¥¡¥¤¥ë¤¬¼«Æ°À¸À®¤µ¤ì¤ë¤È²¾Äê\n" -#: src/msginit.c:431 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1804,11 +1804,11 @@ msgstr "" "1¤Ä°Ê¾å¤Î .pot ¥Õ¥¡¥¤¥ë¤ò¸«¤Ä¤±¤Þ¤·¤¿.\n" "--input ¥ª¥×¥·¥ç¥ó¤ÇÆþÎϤ¹¤ë .pot ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤.\n" -#: src/msginit.c:439 src/msginit.c:444 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆÉ¤ß¹þ¤ß¥¨¥é¡¼" -#: src/msginit.c:452 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1816,23 +1816,23 @@ msgstr "" "¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë .pot ¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿.\n" "--input ¥ª¥×¥·¥ç¥ó¤ÇÆþÎϤ¹¤ë .pot ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤.\n" -#: src/msginit.c:900 src/msginit.c:952 src/msginit.c:1095 src/msginit.c:1162 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 #: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() ¼ºÇÔ" -#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "%s ¥µ¥Ö¥×¥í¥»¥¹Æþ½ÐÎÏ¥¨¥é¡¼" -#: src/msginit.c:914 src/msginit.c:966 src/msginit.c:1109 src/msginit.c:1176 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 #: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s ¥µ¥Ö¥×¥í¥»¥¹¼ºÇÔ, ½ªÎ»¥³¡¼¥É %d" -#: src/msginit.c:1085 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1849,17 +1849,17 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1444 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "%s ¥Ñ¥Ã¥±¡¼¥¸¤ËÂФ¹¤ë±ÑÌõ" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "¸½ºß¤Îʸ»ú¥»¥Ã¥È \"%s\" ¤Ï²ÄÈÂÀ­¤Î¤¢¤ë¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°Ì¾¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "2¤Ä¤Î°Û¤Ê¤Ã¤¿Ê¸»ú¥»¥Ã¥È \"%s\" ¤È \"%s\" ¤¬ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ë¤¢¤ê¤Þ¤¹" @@ -1879,7 +1879,7 @@ msgstr "" "ÆþÎÏ¥Õ¥¡¥¤¥ë `%2$s' Æâ¤Î¥É¥á¥¤¥ó \"%1$s\" ¤Ë¤Ïʸ»ú¥»¥Ã¥È¤ò»ØÄꤹ¤ë¥Ø¥Ã¥À¹àÌÜ" "¤¬¤¢¤ê¤Þ¤»¤ó" -#: src/msgl-cat.c:380 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" @@ -1966,15 +1966,15 @@ msgstr "" "'%s' ¤Î½ÐÎϤÏÉÔÀµ³Î¤Ç¤¢¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹.\n" "²Äǽ¤Ê²óÈòºö¤È¤·¤Æ¤Ï LC_ALL=C ¤ÈÀßÄꤷ¤Þ¤¹.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "ÊÑ´¹¼ºÇÔ" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ëʸ»ú¥»¥Ã¥È¤ò»ØÄꤹ¤ë¥Ø¥Ã¥À¹àÌܤ¬¤¢¤ê¤Þ¤»¤ó" -#: src/msgl-iconv.c:353 src/xgettext.c:501 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1983,7 +1983,7 @@ msgstr "" "\"%s\" ¤«¤é \"%s\" ¤ËÊÑ´¹¤Ç¤­¤Þ¤»¤ó. %s ¤Ï iconv() ¤Ë°Í¸¤·¤Æ¤¤¤Þ¤¹¤¬,iconv" "() ¤Ï¤³¤ÎÊÑ´¹¤ò¼ÂÁõ¤·¤Æ¤¤¤Þ¤»¤ó." -#: src/msgl-iconv.c:370 src/xgettext.c:508 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " diff --git a/gettext-tools/po/ko.po b/gettext-tools/po/ko.po index 16b4f5fb8..99d9494e7 100644 --- a/gettext-tools/po/ko.po +++ b/gettext-tools/po/ko.po @@ -6,7 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2002-08-08 12:26+0900\n" "Last-Translator: Changwoo Ryu \n" "Language-Team: Korean \n" @@ -29,40 +30,41 @@ msgstr "`%2$s' msgid "Valid arguments are:" msgstr "¿Ã¹Ù¸¥ ÀÎÀÚ´Â ´ÙÀ½°ú °°½À´Ï´Ù:" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "Àбâ À§ÇØ \"%s\"À»(¸¦) ¿©´Â µ¿¾È ¿À·ù ¹ß»ý" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "¹é¾÷ ÆÄÀÏ \"%s\"À»(¸¦) ¾²±â À§ÇØ ¿­Áö ¸øÇß½À´Ï´Ù" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "\"%s\" ÆÄÀÏÀ» Àд µ¿¾È ¿À·ù ¹ß»ý" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "\"%s\" ÆÄÀÏÀ» ¾²´Â µ¿¾È ¿À·ù ¹ß»ý" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "\"%s\" ÆÄÀÏÀ» ÀÐÀº ÈÄ¿¡ ¿À·ù ¹ß»ý" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "¾Ë ¼ö ¾ø´Â ½Ã½ºÅÛ ¿À·ù" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s ¼­ºêÇÁ·Î¼¼½º°¡ ½ÇÆÐÇß½À´Ï´Ù" @@ -122,7 +124,7 @@ msgstr "%s: `-W %s' msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: `-W %s' ¿É¼ÇÀº Àμö¸¦ Çã¿ëÇÏÁö ¾Ê½À´Ï´Ù\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" "ÀÚ¹Ù ÄÄÆÄÀÏ·¯°¡ ¾ø½À´Ï´Ù. gcj¸¦ ¼³Ä¡Çϰųª $JAVAC ȯ°æº¯¼ö¸¦ ¼¼ÆÃÇϽʽÿÀ" @@ -132,122 +134,322 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" "ÀÚ¹Ù °¡»ó±â°è°¡ ¾ø½À´Ï´Ù. gij¸¦ ¼³Ä¡Çϰųª $JAVAC ȯ°æº¯¼ö¸¦ ¼¼ÆÃÇϽʽÿÀ" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "¸Þ¸ð¸®°¡ ¹Ù´Ú³µ½À´Ï´Ù" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "ÆÄÀÌÇÁ¸¦ ¸¸µé ¼ö ¾ø½À´Ï´Ù" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s ¼­ºêÇÁ·Î¼¼½º" # fatal signal ¹ø¿ª °³¼± -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s ¼­ºêÇÁ·Î¼¼½º°¡ Ä¡¸íÀûÀÎ ½Ã±×³Î %dÀ»(¸¦) ¹Þ¾Ò½À´Ï´Ù" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "'%2$s' ¾È¿¡ ÀÖ´Â, ÀÎÀÚ %1$u¿¡ ´ëÇÑ ¼­½Ä ÁöÁ¤ÀÌ 'msgid'¿¡ ¾ø½À´Ï´Ù" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "ÀÎÀÚ %u¿¡ ´ëÇÑ ¼­½Ä ÁöÁ¤ÀÌ '%s'¿¡ ¾ø½À´Ï´Ù" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "'msgid'¿Í '%s'¿¡ ¾²ÀÎ ÀÎÀÚ %u¿¡ ´ëÇÑ ¼­½Ä ÁöÁ¤ÀÌ °°Áö ¾Ê½À´Ï´Ù" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "'msgid'¿Í '%s'¿¡ ¾²ÀÎ ¼­½Ä ÁöÁ¤ÀÚÀÇ °³¼ö°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "'%2$s' ¾È¿¡ ÀÖ´Â, ÀÎÀÚ {%1$u}¿¡ ´ëÇÑ ¼­½Ä ÁöÁ¤ÀÌ 'msgid'¿¡ ¾ø½À´Ï´Ù" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "ÀÎÀÚ {%u}¿¡ ´ëÇÑ ¼­½Ä ÁöÁ¤ÀÌ '%s'¿¡ ¾ø½À´Ï´Ù" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "ÀÎÀÚ {%2$u}¿¡ ´ëÇÑ 'msgid'¿Í '%1$s'ÀÇ ¼­½Ä ÁöÁ¤ÀÌ °°Áö ¾Ê½À´Ï´Ù" +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + # ¿©±â¼­ equivalent¿¡ ´ëÇÑ ÇØ¼®Àº? -#: src/format-lisp.c:3212 +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "'msgid'¿Í '%s'ÀÇ ¼­½Ä ÁöÁ¤ÀÌ µ¿µîÇÏÁö ¾Ê½À´Ï´Ù" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "'%s' ¾È¿¡ ÀÖ´Â ¼­½Ä ÁöÁ¤ÀÌ 'msgid'¿¡ ¾ø½À´Ï´Ù" +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + # mapping°ú tuple: python µ¥ÀÌŸ ±¸Á¶ -#: src/format-python.c:375 +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "'msgid'ÀÇ ¼­½Ä ÁöÁ¤ÀÚ´Â ¸ÅÇÎÀÌ ÇÊ¿äÇѵ¥, '%s'¿¡´Â ÅÍÇÃÀÌ ÇÊ¿äÇÕ´Ï´Ù" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "'msgid'ÀÇ ¼­½Ä ÁöÁ¤ÀÚ´Â ÅÍÇÃÀÌ ÇÊ¿äÇѵ¥, '%s'¿¡´Â ¸ÅÇÎÀÌ ÇÊ¿äÇÕ´Ï´Ù" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "'%2$s' ¾È¿¡ ÀÖ´Â, ÀÎÀÚ '%1$s'¿¡ ´ëÇÑ ¼­½Ä ÁöÁ¤ÀÌ 'msgid'¿¡ ¾ø½À´Ï´Ù" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "ÀÎÀÚ '%s'¿¡ ´ëÇÑ ¼­½Ä ÁöÁ¤ÀÌ '%s'¿¡ ¾ø½À´Ï´Ù" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "ÀÎÀÚ '%s'¿¡ ´ëÇÑ 'msgid'¿Í '%s'ÀÇ ¼­½Ä ÁöÁ¤ÀÌ °°Áö ¾Ê½À´Ï´Ù" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -258,46 +460,51 @@ msgstr "" "ÀÌ ÇÁ·Î±×·¥Àº ÀÚÀ¯ ¼ÒÇÁÆ®¿þ¾îÀÔ´Ï´Ù. º¹»ç Á¶°ÇÀº ¼Ò½º¸¦ ÂüÁ¶ÇϽʽÿÀ. »óǰ¼º\n" "À̳ª ƯÁ¤ ¸ñÀû¿¡ ´ëÇÑ ÀûÇÕ¼ºÀ» ºñ·ÔÇÏ¿©, ¾î¶°ÇÑ º¸Áõµµ ÇÏÁö ¾Ê½À´Ï´Ù.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "%sÀÌ(°¡) ¸¸µé¾ú½À´Ï´Ù.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "Àμö°¡ ³Ê¹« ¸¹À½" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "´õ ¸¹Àº Á¤º¸¸¦ º¸·Á¸é `%s --help' ÇϽʽÿÀ\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "ÀÌ ±â°èÀÇ È£½ºÆ®À̸§À» Ç¥½ÃÇÕ´Ï´Ù.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Ãâ·Â Çü½Ä:\n" " -s, --short ªÀº È£½ºÆ®À̸§\n" @@ -305,53 +512,72 @@ msgstr "" " Domain Name) ¹× º°¸í(alias)µéÀ» ¸ðµÎ Æ÷ÇÔ\n" " -i, --ip-address È£½ºÆ®À̸§¿¡ ´ëÇÑ ÁÖ¼Ò\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Á¤º¸ Ãâ·Â:\n" " -h, --help ÀÌ µµ¿ò¸»À» Ç¥½ÃÇÏ°í ³¡³³´Ï´Ù\n" " -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇÏ°í ³¡³³´Ï´Ù\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "·Î ¹®Á¦Á¡À» ¾Ë·Á ÁֽʽÿÀ.\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "È£½ºÆ®À̸§À» ¾Ë¾Æ³¾ ¼ö ¾ø½À´Ï´Ù" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "ÃÖ´ë ÇÑ °³ÀÇ ÀÔ·ÂÆÄÀϸ¸ÀÌ Çã¿ëµË´Ï´Ù" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s°ú(¿Í) %sÀº(´Â) ¼­·Î ¹èŸÀûÀÔ´Ï´Ù" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "»ç¿ë¹ý: %s [¿É¼Ç] [ÀÔ·ÂÆÄÀÏ]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -360,123 +586,250 @@ msgstr "" "¹ø¿ª ¸Þ¼¼ÁöµéÀ» ±× ¼Ó¼º¿¡ µû¶ó °É·¯³»°í, ±× ¼Ó¼ºÀ» Á¶ÀÛÇÕ´Ï´Ù.\n" "\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "±ä ¿É¼Ç¿¡¼­ ²À ÇÊ¿äÇÑ Àμö´Â ªÀº ¿É¼Ç¿¡µµ ²À ÇÊ¿äÇÕ´Ï´Ù.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò½À´Ï´Ù" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" <ÀÔ·ÂÆÄÀÏ> ÀÔ·Â PO ÆÄÀÏ\n" -" -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï´Ù\n" -"¸¸¾à ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" +" ÆÄÀÏ ... ÀÔ·Â .mo ÆÄÀÏ\n" +"ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê°Å³ª \"-\"À̸é, Ç¥ÁØ ÀԷ¿¡¼­ ÀнÀ´Ï´Ù.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "Ãâ·Â ÆÄÀÏ À§Ä¡:\n" -" -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" -"¸¸¾à Ãâ·Â ÆÄÀÏÀÌ ÁöÁ¤µÇÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·ÂÀ¸·Î \n" -"Ãâ·ÂÇÕ´Ï´Ù.\n" +" -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" +"Ãâ·Â ÆÄÀÏÀÌ ÁöÁ¤µÇÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·Â¿¡\n" +"¾¹´Ï´Ù.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"¸Þ¼¼Áö ¼±ÅÃ:\n" -" --translated ¹ø¿ªµÇ¾úÀ¸¸é ³ö µÎ°í, ¹ø¿ªµÇÁö ¾Ê¾ÒÀ¸¸é Áö¿ó´Ï´Ù\n" -" --untranslated ¹ø¿ªµÇÁö ¾Ê¾ÒÀ¸¸é ³ö µÎ°í, ¹ø¿ªµÇ¾úÀ¸¸é Áö¿ó´Ï´Ù\n" -" --no-fuzzy 'fuzzy'·Î Ç¥½ÃµÈ ¸Þ¼¼Áö¸¦ Áö¿ó´Ï´Ù\n" -" --only-fuzzy 'fuzzy'·Î Ç¥½ÃµÈ ¸Þ¼¼Áö¸¦ ³ö µÓ´Ï´Ù\n" -" --no-obsolete ¾ø¾îÁø #~ ¸Þ¼¼Áö¸¦ Áö¿ó´Ï´Ù\n" -" --only-obsolete ¾ø¾îÁø #~ ¸Þ¼¼Áö¸¦ ³ö µÓ´Ï´Ù\n" #: src/msgattrib.c:394 -#, fuzzy, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"¼Ó¼º Á¶ÀÛ:\n" -" --set-fuzzy ¸ðµç ¸Þ¼¼Áö¸¦ 'fuzzy'·Î ¸¸µì´Ï´Ù\n" -" --clear-fuzzy ¸ðµç ¸Þ¼¼Áö¸¦ 'fuzzy'°¡ ¾Æ´Ïµµ·Ï ¸¸µì´Ï´Ù\n" -" --set-obsolete ¸ðµç ¸Þ¼¼Áö¸¦ ¾ø´Â ¸Þ¼¼Áö·Î ¸¸µì´Ï´Ù\n" -" --clear-obsolete ¸ðµç ¸Þ¼¼Áö¸¦ ¾ø´Â ¸Þ¼¼Áö°¡ ¾Æ´Ïµµ·Ï ¸¸µì´Ï´Ù\n" -" --fuzzy \"--only-fuzzy --clear-fuzzy\"¿Í µ¿ÀÏÇÕ´Ï´Ù\n" -" --obsolete \"--only-obsolete --clear-obsolete\"¿Í µ¿ÀÏÇÕ´Ï´Ù\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "Ãâ·Â ÁöÁ¤:\n" -" -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +" -l, --locale=LL_CC ¸ñÇ¥ ·ÎÄÉÀÏÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" +" --no-translator PO ÆÄÀÏÀÌ ÀÚµ¿À¸·Î ¸¸µé¾î Áø´Ù°í °¡Á¤ÇÕ´Ï´Ù\n" " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" -" -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "ºÒ°¡´ÉÇÑ ¼±Åà Á¶°ÇÀ» ÁöÁ¤ÇÏ¿´½À´Ï´Ù (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] [<ÀÔ·ÂÆÄÀÏ>]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -499,116 +852,67 @@ msgstr "" "³ªÅ¸³ª´Â °¡Àå ù ¹øÂ° PO ÆÄÀÏ¿¡ µé¾î ÀÖ´Â ¸ðµç PO ÆÄÀÏ¿¡¼­ ÆÄÀÏ \n" "À§Ä¡´Â ±×´ë·Î À¯ÁöµÉ °ÍÀÔ´Ï´Ù.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" <ÀÔ·ÂÆÄÀÏ> ... ÀÔ·Â ÆÄÀÏ(µé)\n" -" -f, --files-from=<ÆÄÀÏ> <ÆÄÀÏ>¿¡¼­ ÀÔ·Â ÆÄÀÏÀÇ ¸í´ÜÀ» ÀнÀ´Ï´Ù\n" -" -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï´Ù\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Ãâ·Â ÆÄÀÏ À§Ä¡:\n" -" -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" -"¸¸¾à Ãâ·Â ÆÄÀÏÀÌ ÁöÁ¤µÇÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·ÂÀ¸·Î\n" -"\"Ãâ·ÂÇÕ´Ï´Ù.\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"¸Þ¼¼Áö ¼±ÅÃ:\n" -" -<, --less-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ÀûÀº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù.\n" -" ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº \n" -" ¹«ÇÑ´ëÀÔ´Ï´Ù.\n" -" ->, --more-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ¸¹Àº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù.\n" -" ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº 0ÀÔ´Ï´Ù.\n" -" -u, --unique \"--less-than=2\"¸¦ ª°Ô ¾´ °ÍÀÔ´Ï´Ù, ÇÑ ¹ø¸¸\n" -" ³ª¿À´Â ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" -t, --to-code=<À̸§> Ãâ·ÂÀÇ ÀÎÄÚµù\n" -" --use-first °¢ ¸Þ¼¼ÁöÁß¿¡¼­ ù¹øÂ°·Î ³ªÅ¸³ª´Â ¹ø¿ª¹®¸¸\n" -" »ç¿ëÇϰí, ¿©·¯ ¹ø¿ª¹®À» ÇÕÄ¡Áö ¾Ê½À´Ï´Ù\n" -" -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" -" -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Á¤º¸ Ãâ·Â:\n" -" -h, --help ÀÌ µµ¿ò¸»À» Ç¥½ÃÇÏ°í ³¡³³´Ï´Ù\n" -" -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇÏ°í ³¡³³´Ï´Ù\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò½À´Ï´Ù" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "Á¤È®È÷ 2°³ÀÇ ÀÔ·Â ÆÄÀÏÀÌ ÇÊ¿äÇÕ´Ï´Ù" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -625,57 +929,56 @@ msgstr "" "ÇÁ·Î±×·¥ ³»¿¡ ÀÖ´Â °¢°¢ÀÇ ¸Þ½ÃÁöµéÀÌ ¹ø¿ªµÇ¾ú´ÂÁö È®ÀÎÇÒ ¶§ À¯¿ëÇÕ´Ï´Ù.\n" "Á¤È®ÇÑ Â¦À» ãÁö ¸øÇÒ °æ¿ì, º¸´Ù ³ªÀº °á°ú¸¦ ¾ò±â À§ÇØ ÆÛÁö ¸ÅĪÀÌ »ç¿ëµË´Ï´Ù.\n" -# references to sources ¹ø¿ª Àç°í -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" def.po ¹ø¿ª¹®\n" -" ref.pot ¼Ò½º¿¡ ´ëÇÑ ÂüÁ¶\n" -" -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï´Ù\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "µ¿ÀÛ º¯È­:\n" -" -m, --multi-domain ref.pot ÆÄÀÏÀ» def.poÀÇ °¢ µµ¸ÞÀο¡ Àû¿ëÇÕ´Ï´Ù\n" +" -m, --multi-domain ref.pot ÆÄÀÏÀ» def.poÀÇ °¢ µµ¸ÞÀο¡ Àû¿ëÇÕ´Ï" +"´Ù\n" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "ÀÌ ¸Þ½ÃÁö´Â »ç¿ëµÇÁö¸¸ Á¤ÀǵÇÁö ¾Ê¾Ò½À´Ï´Ù..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...ÇÏÁö¸¸ ÀÌ Á¤ÀÇ´Â À¯»çÇÕ´Ï´Ù" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "ÀÌ ¸Þ½ÃÁö´Â »ç¿ëµÇÁö¸¸ %s¿¡¼­ Á¤ÀǵÇÁö ¾Ê¾Ò½À´Ï´Ù" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "°æ°í: ÀÌ ¸Þ½ÃÁö´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "%d°³ÀÇ Ä¡¸íÀûÀÎ ¿À·ù¸¦ ã¾Ò½À´Ï´Ù" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "ÃÖ¼ÒÇÑ µÎ °³ÀÇ ÆÄÀÏÀ» ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -696,156 +999,94 @@ msgstr "" "³ªÅ¸³ª´Â °¡Àå ù ¹øÂ° PO ÆÄÀÏ¿¡ µé¾î ÀÖ´Â ¸ðµç PO ÆÄÀÏ¿¡¼­ ÆÄÀÏ \n" "À§Ä¡´Â ±×´ë·Î À¯ÁöµÉ °ÍÀÔ´Ï´Ù.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"¸Þ¼¼Áö ¼±ÅÃ:\n" -" -<, --less-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ÀûÀº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù.\n" -" ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº \n" -" ¹«ÇÑ´ëÀÔ´Ï´Ù.\n" -" ->, --more-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ¸¹Àº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù.\n" -" ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº 1ÀÔ´Ï´Ù.\n" -" -u, --unique \"--less-than=2\"¸¦ ª°Ô ¾´ °ÍÀÔ´Ï´Ù, ÇÑ ¹ø¸¸\n" -" ³ª¿À´Â ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù\n" - -#: src/msgcomm.c:363 -#, no-wrap + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" -" -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" -" --omit-header Çì´õ¿¡ `msgid \"\"' Ç׸ñÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "¹ø¿ª ¸ñ·ÏÀ» ´Ù¸¥ ¹®ÀÚ ÀÎÄÚµùÀ¸·Î º¯È¯ÇÕ´Ï´Ù.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "º¯È¯ ½ÇÆÐ" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "º¯È¯ ¸ñÇ¥:\n" " -t, --to-code=<À̸§> Ãâ·ÂÀÇ ÀÎÄÚµù\n" "±âº» ÀÎÄÚµùÀº ÇöÀç ·ÎÄÉÀÏÀÇ ÀÎÄÚµùÀÔ´Ï´Ù.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" -" -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò½À´Ï´Ù" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "Á¤È®È÷ ÇÑ °³ÀÇ ÀÔ·Â ÆÄÀÏÀÌ ÇÊ¿äÇÕ´Ï´Ù" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] <ÀÔ·ÂÆÄÀÏ>\n" -#: src/msgen.c:242 -#, no-wrap +#: src/msgen.c:252 +#, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "Çѱ¹¾î ¹ø¿ª ¸ñ·ÏÀ» ¸¸µì´Ï´Ù. ÀÔ·Â ÆÄÀÏÀº ÃÖ±Ù¿¡ ¸¸µé¾îÁø ¿µ¾î\n" "PO ÆÄÀÏÀ̰ųª, PO Ʋ ÆÄÀÏÀÔ´Ï´Ù (ÀϹÝÀûÀ¸·Î xgettext·Î ¸¸µì´Ï´Ù).\n" "¹ø¿ªµÇÁö ¾ÊÀº Ç׸ñÀº msgid¿Í µ¿ÀÏÇÑ ¹ø¿ª¹®ÀÌ ÇÒ´çµÉ °ÍÀ̰í,\n" "ÆÛÁö·Î Ç¥½ÃµÉ °ÍÀÔ´Ï´Ù.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" <ÀÔ·ÂÆÄÀÏ> ÀÔ·Â PO ÆÄÀÏ\n" -" -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï´Ù\n" -"¸¸¾à ÀÔ·Â ÆÄÀÏÀÌ \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "¸í·É¾î À̸§ÀÌ ºüÁ³½À´Ï´Ù" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] <¸í·É¾î> [<¸í·É¾î-¿É¼Ç>]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -860,7 +1101,7 @@ msgstr "" "Ãâ·ÂÀº msgexecÀÇ Ãâ·ÂÀÌ µË´Ï´Ù. ÇÁ·Î±×·¥À» ¹ø¿ª¹®¸¶´Ù ½ÇÇàÇßÀ» ¶§ °¡Àå \n" "Å« ¸®ÅÏ Äڵ尡 msgexecÀÇ ¸®ÅÏ Äڵ尡 µË´Ï´Ù.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -869,48 +1110,37 @@ msgstr "" "Ưº°È÷ ³»ºÎ ¸í·É¾î '0'Àº ¹ø¿ª¹®À» ±×´ë·Î Ãâ·ÂÇϰí, ¸Ç ³¡¿¡ 0 ³Î ¹ÙÀÌÆ®¸¦ \n" "Ãâ·ÂÇÕ´Ï´Ù. \"msgexec 0\"ÀÇ Ãâ·Â¹°Àº \"xargs -0\"ÀÇ ÀÔ·ÂÀ¸·Î »ç¿ëÇϱ⿡ ÀûÇÕÇÕ´Ï´Ù\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" <ÀÔ·ÂÆÄÀÏ> ÀÔ·Â PO ÆÄÀÏ\n" -" -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï´Ù\n" -"¸¸¾à ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "Ç¥ÁØ Ãâ·Â¿¡ ¾²±â°¡ ½ÇÆÐÇß½À´Ï´Ù" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "%s ¼­ºêÇÁ·Î¼¼½º¿¡ ¾²±â°¡ ½ÇÆÐÇß½À´Ï´Ù" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "ÇÊÅÍ À̸§ÀÌ ºüÁ³½À´Ï´Ù" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "ÃÖ¼ÒÇÑ ÇÑ °³ÀÇ sed ½ºÅ©¸³Æ®¸¦ ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] <ÇÊÅÍ> [<ÇÊÅÍ-¿É¼Ç>]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "¹ø¿ª ¸ñ·ÏÀÇ ¸ðµç ¹ø¿ª¹®¿¡ ´ëÇÏ¿© ÇÊÅ͸¦ Àû¿ëÇÕ´Ï´Ù.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -918,71 +1148,61 @@ msgstr "" "\"ÇÊÅÍ\"´Â Ç¥ÁØ ÀԷ¿¡¼­ ¹ø¿ª¹®À» Àо ¼öÁ¤µÈ ¹ø¿ª¹®À» Ç¥ÁØ Ãâ·ÂÀ¸·Î\n" "Ãâ·ÂÇÏ´Â ÇÁ·Î±×·¥ÀÌ¸é ¾î¶² ÇÁ·Î±×·¥ÀÌµç °¡´ÉÇÕ´Ï´Ù.\n" -# pattern space? -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"\"ÇÊÅÍ\"°¡ 'sed'ÀÏ °æ¿ì À¯¿ëÇÑ \"ÇÊÅÍ-¿É¼Ç\":\n" -" -e, --expression=<½ºÅ©¸³Æ®> <½ºÅ©¸³Æ®> ¸í·ÉÀ» ½ÇÇàÇÒ ¸í·É¾î·Î Ãß°¡ÇÕ´Ï´Ù\n" -" -f, --file=<½ºÅ©¸³Æ®ÆÄÀÏ> <½ºÅ©¸³Æ®ÆÄÀÏ>ÀÇ ³»¿ëÀ» ½ÇÇàÇÒ ¸í·É¾î·Î\n" -" Ãß°¡ÇÕ´Ï´Ù\n" -" -n, --quiet, --silent ÆÐÅÏ °ø¹éÀ» ÀÚµ¿À¸·Î Ãâ·ÂÇÏÁö ¾Êµµ·Ï ÇÕ´Ï´Ù\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --keep-header Çì´õ Ç׸ñ¿¡´Â ÇÊÅÍ ¾øÀÌ, ¼öÁ¤ÇÏÁö ¾Ê½À´Ï´Ù\n" -" --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" --add-location '#: filename:line' ÁÙÀ» ¸¸µì´Ï´Ù (±âº»°ª)\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" -" -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "%s ¼­ºêÇÁ·Î¼¼½º¿¡ ºñÂ÷´Ü ÀÔÃâ·ÂÀ» ¼³Á¤ÇÒ ¼ö ¾ø½À´Ï´Ù" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "%s ¼­ºêÇÁ·Î¼¼½º¿ÍÀÇ Åë½Å¿¡ ½ÇÆÐÇß½À´Ï´Ù" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "%s ¼­ºêÇÁ·Î¼¼½º¿¡¼­ ÀбⰡ ½ÇÆÐÇß½À´Ï´Ù" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "%s ¼­ºêÇÁ·Î¼¼½º°¡ Á¾·áÄÚµå %d·Î(À¸·Î) ³¡³µ½À´Ï´Ù" @@ -992,18 +1212,18 @@ msgstr "%s msgid "the argument to %s should be a single punctuation character" msgstr "%sÀÇ ÀÎÀÚ´Â ÇÑ °³ÀÇ ±¸µÎÁ¡ ¹®ÀÚ¿©¾ß ÇÕ´Ï´Ù" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%sÀº(´Â) \"-d µð·ºÅ丮\" ÁöÁ¤ÀÌ ÇÊ¿äÇÕ´Ï´Ù" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%sÀº(´Â) \"-d ·ÎÄÉÀÏ\" ÁöÁ¤ÀÌ ÇÊ¿äÇÕ´Ï´Ù" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%sÀº(´Â) %s°ú(¿Í) ÇÔ²² ½á¾ß¸¸ È¿°ú°¡ ÀÖ½À´Ï´Ù" @@ -1013,80 +1233,99 @@ msgstr "%s msgid "%s is only valid with %s or %s" msgstr "%sÀº(´Â) %s ȤÀº %s°ú(¿Í) ÇÔ²² ½á¾ß¸¸ È¿°ú°¡ ÀÖ½À´Ï´Ù" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "¹ø¿ªµÈ ¸Þ½ÃÁö %d°³" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", ÆÛÁö ¹ø¿ª¹® %d°³" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", ¹ø¿ªµÇÁö ¾ÊÀº ¸Þ½ÃÁö %d°³" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] ÆÄÀÏÀ̸§.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "ÁÖ¾îÁø ¹ø¿ª¹®¿¡¼­ ÀÌÁø ¸Þ¼¼Áö ¸ñ·Ï ÆÄÀÏÀ» ¸¸µé¾î ³À´Ï´Ù.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"±ä ¿É¼Ç¿¡¼­ ²À ÇÊ¿äÇÑ Àμö´Â ªÀº ¿É¼Ç¿¡µµ ²À ÇÊ¿äÇÕ´Ï´Ù.\n" +"¾ø¾îµµ µÇ´Â ÀÎÀÚµµ ¸¶Âù°¡ÁöÀÔ´Ï´Ù.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" ÆÄÀÏÀ̸§.po ... ÀÔ·Â ÆÄÀÏ\n" -" -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï´Ù\n" -"ÀÔ·Â ÆÄÀÏÀÌ \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -"µ¿ÀÛ ¸ðµå:\n" -" -j, --java ÀÚ¹Ù ¸ðµå: ÀÚ¹Ù ResourceBundle Ŭ·¡½º¸¦ ¸¸µì´Ï´Ù\n" -" --java2 --java¿Í °°Áö¸¸, Java2¸¦ °¡Á¤ÇÕ´Ï´Ù(JDK 1.2 ÀÌ»ó)\n" -" --tcl Tcl ¸ðµå: tcl/msgcat .msg ÆÄÀÏÀ» ¸¸µì´Ï´Ù\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Ãâ·Â ÆÄÀÏ À§Ä¡:\n" -" -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" -"¸¸¾à Ãâ·Â ÆÄÀÏÀÌ \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·ÂÀ¸·Î Ãâ·ÂÇÕ´Ï´Ù.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" @@ -1098,93 +1337,110 @@ msgstr "" "À̸§À¸·Î °áÁ¤µË´Ï´Ù. -d ¿É¼ÇÀº ²À ÇÊ¿äÇÕ´Ï´Ù. Ŭ·¡½º´Â ÁöÁ¤ÇÑ µð·ºÅ丮\n" "¾Æ·¡¿¡ Ãâ·ÂµË´Ï´Ù.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"ÀÚ¹Ù ¸ðµå¿¡¼­ Ãâ·Â ÆÄÀÏ ÁöÁ¤:\n" -" -l, --locale=<·ÎÄÉÀÏ> ·ÎÄÉÀÏ À̸§, ¾ð¾î ȤÀº ¾ð¾î_±¹°¡\n" -" -d <µð·ºÅ丮> Ŭ·¡½º µð·ºÅ丮¿¡¼­ º£À̽º µð·ºÅ丮\n" -"-l ¿É¼Ç°ú -d ¿É¼ÇÀº ²À ÇÊ¿äÇÕ´Ï´Ù. Ŭ·¡½º´Â ÁöÁ¤ÇÑ µð·ºÅ丮\n" -"¾Æ·¡¿¡ Ãâ·ÂµË´Ï´Ù.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"ÀÔ·Â ÆÄÀÏ ÇØ¼®:\n" -" -c, --check --check-format, --check-header, --check-domain¿¡\n" -" Æ÷ÇÔµÈ ¸ðµç °Ë»ç¸¦ ¼öÇàÇÕ´Ï´Ù\n" -" --check-format ¾ð¾î¿¡ µû¸¥ Çü½Ä ¹®ÀÚ¿­ °Ë»ç¸¦ ÇÕ´Ï´Ù\n" -" --check-header Çì´õ Ç׸ñÀÌ Á¸ÀçÇÏ°í ³»¿ëÀÌ ¿Ã¹Ù¸¥Áö °Ë»çÇÕ´Ï´Ù\n" -" --check-domain µµ¸ÞÀÎ ÁöÁ¤°ú --output-file ¿É¼ÇÀÇ µµ¸ÞÀÎÀÌ\n" -" Ãæµ¹ÇÏÁö ¾Ê´ÂÁö °Ë»çÇÕ´Ï´Ù\n" -" and the --output-file option\n" -" -C, --check-compatibility GNU msgfmtÀÌ X/OpenÀÇ msgfmtó·³ °Ë»çÇÕ´Ï´Ù.\n" -" --check-accelerators[=<¹®ÀÚ>] ¸Þ´º ¾ÆÀÌÅÛÀÇ Å°º¸µå ´ÜÃà۰¡ Á¸ÀçÇÏ´ÂÁö\n" -" °Ë»çÇÕ´Ï´Ù\n" -" -f, --use-fuzzy Ãâ·Â¿¡ ÆÛÁö Ç׸ñÀ» »ç¿ëÇÕ´Ï´Ù\n" +msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Ãâ·Â ÁöÁ¤:\n" -" -a, --alignment=<Å©±â> ¹®ÀÚ¿­À» <Å©±â> ¹ÙÀÌÆ®¿¡ Á¤·ÄÇÕ´Ï´Ù(±âº»°ª: %d)\n" +" -a, --alignment=<Å©±â> ¹®ÀÚ¿­À» <Å©±â> ¹ÙÀÌÆ®¿¡ Á¤·ÄÇÕ´Ï´Ù(±âº»°ª: %" +"d)\n" " --no-hash ÀÌÁø ÆÄÀÏ¿¡ ÇØ½¬ Å×À̺íÀ» ³ÖÁö ¾Ê½À´Ï´Ù\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Ãâ·Â ÁöÁ¤:\n" +" -a, --alignment=<Å©±â> ¹®ÀÚ¿­À» <Å©±â> ¹ÙÀÌÆ®¿¡ Á¤·ÄÇÕ´Ï´Ù(±âº»°ª: %" +"d)\n" +" --no-hash ÀÌÁø ÆÄÀÏ¿¡ ÇØ½¬ Å×À̺íÀ» ³ÖÁö ¾Ê½À´Ï´Ù\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -"Á¤º¸ Ãâ·Â:\n" -" -h, --help ÀÌ µµ¿ò¸»À» º¸¿©ÁÖ°í Á¾·áÇÕ´Ï´Ù\\n\"\n" -" -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇϰí Á¾·áÇÕ´Ï´Ù\\n\"\n" -" --statistics ¹ø¿ª¿¡ ´ëÇÑ Åë°è¸¦ Ç¥½ÃÇÕ´Ï´Ù\n" -" -v, --verbose ´õ ÀÚ¼¼È÷ Ãâ·ÂÇÕ´Ï´Ù\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "º¹¼ö Ç¥Çö½ÄÀÌ À½¼ö °ªÀ» ¸¸µé ¼öµµ ÀÖ½À´Ï´Ù" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "nplurals = %lu ÇÏÁö¸¸ º¹¼ö Ç¥Çö½ÄÀÌ %lu¸¸Å­ Å« °ªÀ» ¸¸µé ¼öµµ ÀÖ½À´Ï´Ù" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "º¹¼ö Ç¥Çö½ÄÀÌ 0À¸·Î ³ª´©´Â ¿¬»êÀ» ÇÒ ¼öµµ ÀÖ½À´Ï´Ù" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "º¹¼ö Ç¥Çö½ÄÀÌ Á¤¼ö ¿À¹öÇ÷ο츦 ¹ß»ý½Ãų ¼ö ÀÖ½À´Ï´Ù" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" @@ -1192,49 +1448,49 @@ msgstr "" "º¹¼ö Ç¥Çö½ÄÀÌ ¿¬»ê ¿¹¿Ü¸¦ ¹ß»ý½Ãų ¼ö ÀÖ½À´Ï´Ù. 0À¸·Î ³ª´©´Â ¿¬»êÀ» ÇÒ ¼ö ÀÖ" "½À´Ï´Ù" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "¸Þ¼¼Áö ¸ñ·ÏÀº º¹¼öÇü ¹ø¿ªÀÌ µé¾î ÀÖ½À´Ï´Ù..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...ÇÏÁö¸¸ Çì´õ Ç׸ñ¿¡´Â \"plural=Ç¥Çö½Ä\" ¼Ó¼ºÀÌ µé¾î ÀÖÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...ÇÏÁö¸¸ Çì´õ Ç׸ñ¿¡´Â \"nplurals=Á¤¼ö\" ¼Ó¼ºÀÌ µé¾î ÀÖÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "nplurals °ªÀÌ À߸øµÇ¾ú½À´Ï´Ù" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "À߸øµÈ º¹¼ö Ç¥Çö½Ä" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...ÇÏÁö¸¸ ¾î¶² ¸Þ¼¼Áö´Â %lu°³ÀÇ º¹¼ö Çü¹Û¿¡ ¾ø½À´Ï´Ù" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...ÇÏÁö¸¸ ¾î¶² ¸Þ¼¼Áö´Â %lu°³ÀÇ º¹¼ö ÇüÀÌ ÀÖ½À´Ï´Ù" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "´ÙÀ½À» »ç¿ëÇØ º¸½Ê½Ã¿À. %s¿¡ ´ëÇØ¼­ ¿Ã¹Ù¸§:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1242,130 +1498,122 @@ msgstr "" "¸Þ¼¼Áö ¸ñ·Ï¿¡ º¹¼öÇü ¹ø¿ªÀÌ µé¾î ÀÖÁö¸¸, Çì´õ Ç׸ñ¿¡ \"Plural-Forms: " "nplurals=Á¤¼ö; plural=Ç¥Çö½Ä;\"ÀÌ ¾ø½À´Ï´Ù" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "`msgid'¿Í `msgstr_plural' Ç׸ñÀÌ ¸ðµÎ '\\n'À¸·Î ½ÃÀÛÇÏÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "`msgid'¿Í `msgstr[%u]' Ç׸ñÀÌ ¸ðµÎ '\\n'À¸·Î ½ÃÀÛÇÏÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "`msgid'¿Í `msgstr' Ç׸ñÀÌ ¸ðµÎ '\\n'À¸·Î ½ÃÀÛÇÏÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "`msgid'¿Í `msgid_plural' Ç׸ñÀÌ ¸ðµÎ '\\n'À¸·Î ³¡³ªÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "`msgid'¿Í `msgstr[%u]' Ç׸ñÀÌ ¸ðµÎ '\\n'À¸·Î ³¡³ªÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "`msgid'¿Í `msgstr' Ç׸ñÀÌ ¸ðµÎ '\\n'À¸·Î ³¡³ªÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "º¹¼ö 󸮴 GNU gettext È®Àå ±â´ÉÀÔ´Ï´Ù" -#: src/msgfmt.c:1159 -#, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +#: src/msgfmt.c:1178 +#, fuzzy, c-format +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "'msgid'¿Í´Â ´Þ¸®, '%s'Àº(´Â) ¿Ã¹Ù¸¥ %s Çü½Ä ¹®ÀÚ¿­ÀÌ ¾Æ´Õ´Ï´Ù" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "msgstr¿¡ Űº¸µå ´ÜÃàŰ '%c'¿¡ ´ëÇÑ Ç¥½Ã°¡ ¾ø½À´Ï´Ù" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "msgstr¿¡ Űº¸µå ´ÜÃàŰ '%c' Ç¥½Ã°¡ ³Ê¹« ¸¹½À´Ï´Ù" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "Çì´õ¿¡ Çì´õ Çʵå `%s'ÀÌ(°¡) ºüÁ³À½\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "Çì´õ Çʵå `%s'Àº(´Â) ÇàÀÇ Ã³À½ºÎÅÍ ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "¸î¸î Çì´õ Çʵ尡 ¾ÆÁ÷µµ ÃʱâÀÇ ³»Á¤°ªÀ» °¡Áö°í ÀÖ½À´Ï´Ù\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "`%s' Çʵ尡 ¾ÆÁ÷µµ ÃʱâÀÇ ³»Á¤°ªÀ» °¡Áö°í ÀÖ½À´Ï´Ù\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "°æ°í: PO ÆÄÀÏ Çì´õ°¡ ºüÁ³°Å³ª À߸øµÇ¾ú½À´Ï´Ù\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "°æ°í: ¹®Àڼ º¯È¯ÀÌ µ¿ÀÛÇÏÁö ¾ÊÀ» °ÍÀÔ´Ï´Ù\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "°æ°í: PO ÆÄÀÏ Çì´õ°¡ ÆÛÁöÀÔ´Ï´Ù\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "°æ°í: °ú°Å ¹öÀüÀÇ msgfmtÀº ¿©±â¿¡ ¿À·ù¸¦ ³¾ °ÍÀÔ´Ï´Ù\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "µµ¸ÞÀÎÀ̸§ \"%s\"Àº(´Â) ÆÄÀÏ À̸§À¸·Î ¾Ë¸ÂÁö ¾Ê½À´Ï´Ù" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "µµ¸ÞÀÎÀ̸§ \"%s\"Àº(´Â) ÆÄÀÏ À̸§À¸·Î ¾Ë¸ÂÁö ¾Ê½À´Ï´Ù. ±×·¯¹Ç·Î Á¢µÎ»ç¸¦\n" "»ç¿ëÇÒ °ÍÀÔ´Ï´Ù" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "`domain %s' Áö½ÃÀÚ´Â ¹«½ÃµÊ" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "Áߺ¹µÈ ¸Þ½ÃÁö Á¤ÀÇ" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...¿©±â´Â ù¹øÂ° Á¤ÀÇÀÇ À§Ä¡ÀÔ´Ï´Ù" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "ºó `msgstr' Ç׸ñÀº ¹«½ÃµÊ" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "ÆÛÁö `msgstr' Ç׸ñÀº ¹«½ÃµÊ" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: °æ°í: ¼Ò½º ÆÄÀÏÀÌ ÆÛÁö ¹ø¿ª¹®À» Æ÷ÇÔÇϰí ÀÖ½À´Ï´Ù" -#: src/msggrep.c:383 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "'%c' ¿É¼ÇÀº 'K'³ª 'T'°¡ ÁöÁ¤µÇ±â Àü¿¡´Â ¾µ ¼ö ¾ø½À´Ï´Ù" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1374,8 +1622,8 @@ msgstr "" "¹ø¿ª ¸ñ·Ï¿¡¼­ ÁÖ¾îÁø ÆÐÅÏ¿¡ ¸Â´Â ¸Þ¼¼Áö ȤÀº ÁÖ¾îÁø ¼Ò½º ÆÄÀÏ¿¡ µé¾î ÀÖ´Â\n" "¸Þ¼¼Áö¸¸À» »Ì¾Æ ³À´Ï´Ù.\n" -#: src/msggrep.c:431 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1398,6 +1646,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1431,42 +1680,24 @@ msgstr "" " -f, --file=<ÆÄÀÏ> \"ÆÐÅÏ\"À» <ÆÄÀÏ>¿¡¼­ °¡Á®¿É´Ï´Ù\n" " -i, --ignore-case ´ë¼Ò¹®ÀÚ ±¸º°À» ÇÏÁö ¾Ê½À´Ï´Ù\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" --add-location '#: filename:line' ÁÙÀ» ¸¸µì´Ï´Ù (±âº»°ª)\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" -" --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "grep ¼­ºê ÇÁ·Î¼¼½º¿¡ ¾²±â°¡ ½ÇÆÐÇß½À´Ï´Ù" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1476,7 +1707,7 @@ msgstr "" "¿©·¯ºÐÀÇ LANG ȯ°æº¯¼ö¸¦ ¼¼ÆÃÇϽʽÿÀ. ¼¼ÆÃÇØ¾ß¸¸ÀÌ ¿©·¯ºÐÀÇ\n" "¹ø¿ª¹®À» Å×½ºÆ®ÇÒ ¼ö ÀÖ½À´Ï´Ù.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1487,12 +1718,12 @@ msgstr "" "--locale ¿É¼ÇÀ¸·Î ·ÎÄÉÀÏÀ» ÁöÁ¤Çϰųª --output-file ¿É¼ÇÀ¸·Î\n" "Ãâ·Â .po ÆÄÀÏÀ» ÁöÁ¤ÇϽʽÿÀ.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "%sÀ»(¸¦) ¸¸µé¾ú½À´Ï´Ù.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1501,12 +1732,15 @@ msgstr "" "»õ·Î¿î PO ÆÄÀÏÀ» ¸¸µé°í, »ç¿ëÀÚÀÇ È¯°æ¿¡¼­ ¸ÞŸ Á¤º¸µéÀ»\n" "ÃʱâÈ­ÇÕ´Ï´Ù\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" @@ -1514,11 +1748,13 @@ msgstr "" "¸¸¾à ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾ÊÀ¸¸é, ÇöÀç µð·ºÅ丮¿¡¼­ POT ÆÄÀÏÀ» ã½À´Ï´Ù.\n" "ÀÔ·Â ÆÄÀÏÀÌ \"-\"À̸é, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" @@ -1527,24 +1763,16 @@ msgstr "" "¸¸¾à Ãâ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾ÊÀ¸¸é, --locale ¿É¼ÇÀ̳ª »ç¿ëÀÚÀÇ ·ÎÄÉÀÏ ¼¼ÆÃ¿¡\n" "µû¶ó °áÁ¤µË´Ï´Ù. Ãâ·Â ÆÄÀÏÀÌ \"-\"À̸é, Ç¥ÁØ Ãâ·Â¿¡ ¾¹´Ï´Ù.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" -l, --locale=LL_CC ¸ñÇ¥ ·ÎÄÉÀÏÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" -" --no-translator PO ÆÄÀÏÀÌ ÀÚµ¿À¸·Î ¸¸µé¾î Áø´Ù°í °¡Á¤ÇÕ´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1552,11 +1780,11 @@ msgstr "" "µÎ °³ ÀÌ»óÀÇ .pot ÆÄÀÏÀ» ã¾Ò½À´Ï´Ù.\n" "ÀÔ·Â .pot ÆÄÀÏÀ» --input ¿É¼ÇÀ¸·Î ÁöÁ¤ÇϽʽÿÀ.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "ÇöÀç µð·ºÅ丮¸¦ Àд µ¥ ¿À·ù°¡ ¹ß»ýÇß½À´Ï´Ù" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1564,23 +1792,23 @@ msgstr "" "ÇöÀç µð·ºÅ丮¿¡¼­ .pot ÆÄÀÏÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù.\n" "--input ¿É¼ÇÀ¸·Î ÀÔ·Â .pot ÆÄÀÏÀ» ÁöÁ¤ÇϽʽÿÀ.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen()ÀÌ ½ÇÆÐÇß½À´Ï´Ù" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "%s ¼­ºêÇÁ·Î¼¼½º ÀÔÃâ·Â ¿À·ù" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s ¼­ºêÇÁ·Î¼¼½º°¡ Á¾·áÄÚµå %d·Î(À¸·Î) ½ÇÆÐÇß½À´Ï´Ù" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1596,28 +1824,28 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "%s ÆÐŰÁö¿¡ ´ëÇÑ Çѱ¹¾î ¹ø¿ª¹®" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "ÇöÀç ¹®Àڼ \"%s\"Àº(´Â) ³Î¸® ¾µ ¼ö ÀÖ´Â ÀÎÄÚµù À̸§ÀÌ ¾Æ´Õ´Ï´Ù" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "ÀÔ·Â ÆÄÀÏ¿¡ µÎ °³ÀÇ ¹®Àڼ \"%s\"°ú(¿Í) \"%s\"ÀÌ(°¡) Á¸ÀçÇÕ´Ï´Ù" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "ÀÔ·Â ÆÄÀÏ `%s'¿¡´Â ¹®ÀÚ¼ÂÀ» ÁöÁ¤ÇÏ´Â Çì´õ Ç׸ñÀÌ µé¾î ÀÖÁö ¾Ê½À´Ï´Ù" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1626,17 +1854,18 @@ msgstr "" "ÀÔ·Â ÆÄÀÏ `%2$s'ÀÇ µµ¸ÞÀÎ \"%1$s\"¿¡´Â ¹®ÀÚ¼ÂÀ» ÁöÁ¤ÇÏ´Â Çì´õ Ç׸ñÀÌ µé¾î ÀÖ" "Áö ¾Ê½À´Ï´Ù" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "¸ñÇ¥ ¹®Àڼ \"%s\"Àº(´Â) ³Î¸® ¾µ ¼ö ÀÖ´Â ÀÎÄÚµù À̸§ÀÌ ¾Æ´Õ´Ï´Ù" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "°æ°í: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1644,7 +1873,7 @@ msgstr "" "ÀÔ·Â ÆÄÀÏÀº ¿©·¯ °³ÀÇ ÀÎÄÚµùÀ¸·Î µÈ ¸Þ¼¼Áö°¡ µé¾î ÀÖ°í, ±× ÁßÀÇ Çϳª°¡ \n" "UTF-8ÀÔ´Ï´Ù. Ãâ·ÂÀ» UTF-8À¸·Î º¯È¯ÇÕ´Ï´Ù.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1709,15 +1938,15 @@ msgstr "" "'%s'·Î(À¸·Î) Ãâ·ÂÇÏ´Â °ÍÀÌ Æ²·ÈÀ» ¼ö ÀÖ½À´Ï´Ù.\n" "°¡´ÉÇÑ ÇØ°áÃ¥Àº \"LC_ALL=C\"·Î ¼¼ÆÃÇÏ´Â °ÍÀÔ´Ï´Ù.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "º¯È¯ ½ÇÆÐ" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "ÀÔ·Â ÆÄÀÏÀº ¹®ÀÚ¼ÂÀ» ÁöÁ¤ÇÏ´Â Çì´õ Ç׸ñÀÌ µé¾î ÀÖÁö ¾Ê½À´Ï´Ù" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1726,7 +1955,7 @@ msgstr "" "\"%s\"¿¡¼­ \"%s\"·Î(À¸·Î) º¯È¯ÇÒ ¼ö ¾ø½À´Ï´Ù. %sÀº(´Â) iconv()¿¡ ÀÇÁ¸ÇÏÁö" "¸¸, iconv()°¡ À̰°Àº º¯È¯À» Áö¿øÇÏÁö ¾Ê½À´Ï´Ù." -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1736,11 +1965,11 @@ msgstr "" "¸¸,\n" "ÀÌ ¹öÀüÀº iconv()¸¦ Áö¿øµÇÁö ¾Ê´Â »óÅ·ΠºôµåµÇ¾ú½À´Ï´Ù." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "¹é¾÷ Á¾·ù" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1763,49 +1992,57 @@ msgstr "" "º¸Á¸µË´Ï´Ù. Á¤È®ÇÑ Â¦À» ãÁö ¸øÇÒ °æ¿ì, º¸´Ù ³ªÀº °á°ú¸¦ ¾ò±â À§ÇØ ÆÛÁö \n" "¸ÅĪÀÌ »ç¿ëµË´Ï´Ù.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" def.po °ú°Å ¼Ò½º¸¦ ÂüÁ¶ÇÏ´Â ¹ø¿ª¹®\n" -" ref.pot »õ·Î¿î ¼Ò½º¸¦ ÂüÁ¶\n" -" -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï´Ù\n" -" -C, --compendium=<ÆÄÀÏ> ¸Þ¼¼Áö ¹ø¿ª ¶óÀ̺귯¸® Ãß°¡,\n" -" µÎ °³ ÀÌ»ó ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" "µ¿ÀÛ ¸ðµå:\n" " -U, --update def.po¸¦ °»½ÅÇÕ´Ï´Ù,\n" -" ÀÌ¹Ì def.po°¡ °»½ÅµÇ¾î ÀÖ´Ù¸é ¾Æ¹« °Íµµ ¾È ÇÕ´Ï´Ù\n" +" ÀÌ¹Ì def.po°¡ °»½ÅµÇ¾î ÀÖ´Ù¸é ¾Æ¹« °Íµµ ¾È ÇÕ´Ï" +"´Ù\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "°»½Å ¸ðµå¿¡¼­ Ãâ·Â ÆÄÀÏ À§Ä¡:\n" "°á°ú¹°Àº ´Ù½Ã def.po¿¡ ¾¹´Ï´Ù.\n" @@ -1815,45 +2052,36 @@ msgstr "" "¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù. ´ÙÀ½ÀÇ °ªÀ» ¾µ ¼ö ÀÖ½À´Ï´Ù:\n" " none, off ¹é¾÷À» ¸¸µéÁö ¾Ê½À´Ï´Ù (--backup ¿É¼ÇÀÌ ÀÖÀ»Áö¶óµµ)\n" " nummbered, t ¹øÈ£¸¦ ºÙÀÎ ¹é¾÷À» ¸¸µì´Ï´Ù\n" -" existing, nil ¹øÈ£¸¦ ºÙÀÎ ¹é¾÷ÀÌ ÀÖÀ¸¸é ¹øÈ£¸¦ ºÙ¿©¼­, ±×·¸Áö ¾ÊÀ¸¸é °£´ÜÈ÷\n" +" existing, nil ¹øÈ£¸¦ ºÙÀÎ ¹é¾÷ÀÌ ÀÖÀ¸¸é ¹øÈ£¸¦ ºÙ¿©¼­, ±×·¸Áö ¾ÊÀ¸¸é °£´Ü" +"È÷\n" " simple, never °£´ÜÇÑ ¹é¾÷¸¸À» ¸¸µì´Ï´Ù\n" "--suffix³ª SIMPLE_BACKUP_SUFFIX ȯ°æ º¯¼ö¸¦ ¼¼ÆÃÇÏÁö ¾Ê¾Ò´Ù¸é, ¹é¾÷\n" "Á¢¹Ì¾î´Â `~'ÀÔ´Ï´Ù.\n" -#: src/msgmerge.c:454 -#, fuzzy, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"µ¿ÀÛ º¯È­:\n" -" -m, --multi-domain ref.pot ÆÄÀÏÀ» def.poÀÇ °¢ µµ¸ÞÀο¡ Àû¿ëÇÕ´Ï´Ù\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -"Á¤º¸ Ãâ·Â:\n" -" -h, --help ÀÌ µµ¿ò¸»À» º¸¿©ÁÖ°í Á¾·áÇÕ´Ï´Ù\\n\"\n" -" -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇϰí Á¾·áÇÕ´Ï´Ù\\n\"\n" -" -v, --verbose ´õ ÀÚ¼¼È÷ Ãâ·ÂÇÕ´Ï´Ù\n" -" -q, --quiet, --silent ÁøÇà»óÅ ǥ½Ã¸¦ ÇÏÁö ¾Ê½À´Ï´Ù\n" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "ÀÌ ¸Þ½ÃÁö´Â º¹¼öÇüÀ» ÁöÁ¤Çؾ߸¸ ÇÕ´Ï´Ù" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "ÀÌ ¸Þ½ÃÁö´Â º¹¼öÇüÀ» ÁöÁ¤Çؼ­´Â ¾È µË´Ï´Ù" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1862,54 +2090,58 @@ msgstr "" "%s%ld°³ÀÇ ¿¹Àü °Í + %ld°³ÀÇ ÂüÁ¶¹®, °áÇÕµÈ °Í %ld, ÆÛÁö %ld, ºüÁø °Í %ld, ¾µ" "¸ð¾ø´Â °Í %ld°³¸¦ Àоú½À´Ï´Ù.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " ¿Ï·á.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s°ú(¿Í) ÆÄÀÏÀ̸§À» ¸í½ÃÀûÀ¸·Î ÁöÁ¤ÇÏ´Â °ÍÀº µ¿½Ã¿¡ ¾µ ¼ö ¾ø½À´Ï´Ù" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] [<ÆÄÀÏ>]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "ÀÌÁø ¸Þ¼¼Áö ¸ñ·ÏÀ» Uniforum ½ºÅ¸ÀÏ .po ÆÄÀÏ·Î º¯È¯ÇÕ´Ï´Ù.\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "µ¿ÀÛ ¸ðµå:\n" -" -j, --java ÀÚ¹Ù ¸ðµå: ÀÔ·ÂÀº ÀÚ¹Ù ResourceBundle Ŭ·¡½ºÀÔ´Ï´Ù\n" +" -j, --java ÀÚ¹Ù ¸ðµå: ÀÔ·ÂÀº ÀÚ¹Ù ResourceBundle Ŭ·¡½ºÀÔ" +"´Ï´Ù\n" " --tcl Tcl ¸ðµå: ÀÔ·ÂÀº tcl/msgcat .msg ÆÄÀÏÀÔ´Ï´Ù\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" -" ÆÄÀÏ ... ÀÔ·Â .mo ÆÄÀÏ\n" -"ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê°Å³ª \"-\"À̸é, Ç¥ÁØ ÀԷ¿¡¼­ ÀнÀ´Ï´Ù.\n" +"µ¿ÀÛ ¸ðµå:\n" +" -j, --java ÀÚ¹Ù ¸ðµå: ÀÔ·ÂÀº ÀÚ¹Ù ResourceBundle Ŭ·¡½ºÀÔ" +"´Ï´Ù\n" +" --tcl Tcl ¸ðµå: ÀÔ·ÂÀº tcl/msgcat .msg ÆÄÀÏÀÔ´Ï´Ù\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "ÀÚ¹Ù ¸ðµå¿¡¼­ ÀÔ·Â ÆÄÀÏ:\n" @@ -1918,73 +2150,25 @@ msgstr "" "Ŭ·¡½º À̸§Àº ·ÎÄÉÀÏ À̸§¿¡ ¸®¼Ò½º À̸§À» ¹ØÁÙ·Î ±¸ºÐÇØ¼­ ¿¬°áÇÑ À̸§À¸·Î\n" "°áÁ¤µË´Ï´Ù. Ŭ·¡½º´Â CLASSPATH¿¡ µû¸¥ À§Ä¡¿¡ ³õÀÌ°Ô µË´Ï´Ù.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"ÀÚ¹Ù ¸ðµå¿¡¼­ Ãâ·Â ÆÄÀÏ ÁöÁ¤:\n" -" -l, --locale=<·ÎÄÉÀÏ> ·ÎÄÉÀÏ À̸§, ¾ð¾î ȤÀº ¾ð¾î_±¹°¡\n" -" -d <µð·ºÅ丮> Ŭ·¡½º µð·ºÅ丮¿¡¼­ º£À̽º µð·ºÅ丮\n" -"-l ¿É¼Ç°ú -d ¿É¼ÇÀº ²À ÇÊ¿äÇÕ´Ï´Ù. Ŭ·¡½º´Â ÁöÁ¤ÇÑ µð·ºÅ丮\n" -"¾Æ·¡¿¡ Ãâ·ÂµË´Ï´Ù.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"Ãâ·Â ÆÄÀÏ À§Ä¡:\n" -" -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" -"Ãâ·Â ÆÄÀÏÀÌ ÁöÁ¤µÇÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·Â¿¡\n" -"¾¹´Ï´Ù.\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Á¤º¸ Ãâ·Â:\n" -" -h, --help ÀÌ µµ¿ò¸»À» º¸¿©ÁÖ°í Á¾·áÇÕ´Ï´Ù\\n\"\n" -" -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇϰí Á¾·áÇÕ´Ï´Ù\\n\"\n" -" -v, --verbose ´õ ÀÚ¼¼È÷ Ãâ·ÂÇÕ´Ï´Ù\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2005,18 +2189,22 @@ msgstr "" "¹ø¿ª¹®¿¡ ÀÖ´Â °Í¸¸À» ¾²°Ô µË´Ï´Ù. ÆÄÀÏÀÇ À§Ä¡´Â ¸ðµÎ À¯ÁöµÉ °ÍÀÔ´Ï´Ù.\n" "--unique ¿É¼ÇÀ» »ç¿ëÇÒ ¶§, Áߺ¹µÈ ¸Þ¼¼ÁöµéÀ» ¹ö¸³´Ï´Ù.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "¸Þ¼¼Áö ¼±ÅÃ:\n" " -d, --repeated Áߺ¹µÈ ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù\n" -" -u, --unique À¯ÀÏÇÑ ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇϰí, Áߺ¹µÈ °ÍÀº ¹ö¸³´Ï´Ù\n" +" -u, --unique À¯ÀÏÇÑ ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇϰí, Áߺ¹µÈ °ÍÀº ¹ö¸³" +"´Ï´Ù\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "<Ç¥ÁØÀÔ·Â>" @@ -2082,73 +2270,73 @@ msgstr "" "Çì´õ¿¡ ¹®ÀÚ¼ÂÀÌ ¾ø½À´Ï´Ù\n" "»ç¿ëÀÚ ¹®ÀÚ¼ÂÀ¸·ÎÀÇ ¸Þ¼¼Áö º¯È¯Àº ÇÏÁö ¾Ê½À´Ï´Ù.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "#~°¡ ¸ð¼øµÇ°Ô ÀÌ¿ëµÇ¾ú½À´Ï´Ù" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "`msgstr[]' ºÎºÐÀÌ ºüÁ³½À´Ï´Ù" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "`msgstr_plural' ºÎºÐÀÌ ºüÁ³½À´Ï´Ù" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "`msgstr' ºÎºÐÀÌ ºüÁ³½À´Ï´Ù" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "ù ¹øÂ° º¹¼öÇüÀÇ À妽º°¡ 0ÀÌ ¾Æ´Õ´Ï´Ù" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "º¹¼öÇüÀÇ À妽º°¡ À߸øµÇ¾ú½À´Ï´Ù" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "¿À·ù°¡ ³Ê¹« ¸¹¾Æ¼­ Áß´ÜÇÕ´Ï´Ù" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "À߸øµÈ °¡º¯¹ÙÀÌÆ® ¹®ÀÚ¿­" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "ÆÄÀÏÀÇ ³¡¿¡¼­ ºÒ¿ÏÀüÇÑ ´ÙÁß¹ÙÀÌÆ® ¹®ÀÚ¿­" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "ÁÙÀÇ ³¡¿¡¼­ ºÒ¿ÏÀüÇÑ ´ÙÁß¹ÙÀÌÆ® ¹®ÀÚ¿­" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv ½ÇÆÐ" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "\"%s\"À»(¸¦) Àд µ¿¾È ¿À·ù ¹ß»ý" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "¾Ë ¼ö ¾ø´Â Ű¿öµå \"%s\"" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "À߸øµÈ Á¦¾î ¼ø¼­¿­" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "¹®ÀÚ¿­ ³»ºÎ¿¡¼­ ÆÄÀÏÀÌ ³¡³²" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "¹®ÀÚ¿­ ³»ºÎ¿¡¼­ ÇàÀÌ ³¡³²" @@ -2172,12 +2360,24 @@ msgstr "\"%s\" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "\"%s\" ÆÄÀÏÀÇ %s À§Ä¡¿¡ NUL·Î ³¡³ªÁö ¾Ê´Â ¹®ÀÚ¿­ÀÌ ÀÖ½À´Ï´Ù" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "ÀÌ ÆÄÀÏÀº µµ¸ÞÀÎ Áö½ÃÀÚ¸¦ Æ÷ÇÔÇϰí ÀÖÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "Áߺ¹µÈ ¸Þ½ÃÁö Á¤ÀÇ" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...¿©±â´Â ù¹øÂ° Á¤ÀÇÀÇ À§Ä¡ÀÔ´Ï´Ù" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "Àμö´Â µÎ °³À̾î¾ß ÇÕ´Ï´Ù" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "»ç¿ë¹ý: %s [<¿É¼Ç>] <ÆÄÀÏ>\n" @@ -2213,7 +2413,7 @@ msgstr " msgid "failed to create \"%s\"" msgstr "\"%s\"À»(¸¦) ¸¸µå´Â µ¥ ½ÇÆÐÇß½À´Ï´Ù" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2225,18 +2425,18 @@ msgstr "" "Àڹ٠Ŭ·¡½º ÄÄÆÄÀÏ¿¡ ½ÇÆÐÇß½À´Ï´Ù. --verbose·Î ½ÃµµÇØ º¸°Å³ª $JAVAC ȯ°æº¯¼ö" "¸¦ ¼¼ÆÃÇϽʽÿÀ" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "¾²±â À§ÇØ \"%s\"À»(¸¦) ¿©´Â µ¿¾È ¿À·ù ¹ß»ý" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "±¹Á¦È­µÈ ¸Þ½ÃÁö´Â `\\%c' À̽ºÄÉÀÌÇÁ ¼ø¼­¿­À» Æ÷ÇÔÇÒ ¼ö ¾ø½À´Ï´Ù" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2249,12 +2449,25 @@ msgstr "" "¹ß»ýÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼ø¼öÇÑ ASCII msgid¸¸À» »ç¿ëÇϵµ·Ï ÇϽʽÿÀ.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "Ãâ·Â ÆÄÀÏ \"%s\"À»(¸¦) ¸¸µé ¼ö ¾ø½À´Ï´Ù" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "Ç¥ÁØ Ãâ·Â" @@ -2268,7 +2481,7 @@ msgstr "" "¸Þ¼¼Áö ¸ñ·Ï¿¡ º¹¼öÇü ¹ø¿ªÀÌ µé¾î ÀÖÁö¸¸, Çì´õ Ç׸ñ¿¡ \"Plural-Forms: " "nplurals=Á¤¼ö; plural=Ç¥Çö½Ä;\"ÀÌ ¾ø½À´Ï´Ù" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: °æ°í: ¿Ï°áµÇÁö ¾ÊÀº ¹®ÀÚ¿­ »ó¼ö" @@ -2302,11 +2515,7 @@ msgstr "" "¹®Àڼ \"%s\"Àº(´Â) Áö¿øµÇÁö ¾Ê½À´Ï´Ù. %sÀº(´Â) iconv()¿¡ ÀÇÁ¸ÇÏÁö¸¸,\n" "ÀÌ ¹öÀüÀº iconv()¸¦ Áö¿øµÇÁö ¾Ê´Â »óÅ·ΠºôµåµÇ¾ú½À´Ï´Ù.\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "ÀÌ ÆÄÀÏÀº µµ¸ÞÀÎ Áö½ÃÀÚ¸¦ Æ÷ÇÔÇϰí ÀÖÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: °æ°í: ¿Ï°áµÇÁö ¾ÊÀº ¹®ÀÚ »ó¼ö" @@ -2326,58 +2535,51 @@ msgstr "%s:%d: # msgid "%s:%d: invalid string expression" msgstr "%s:%d: À߸øµÈ ¹®ÀÚ¿­ Ç¥Çö" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "--join-exeistingÀº Ãâ·ÂÀÌ Ç¥ÁØÃâ·Â¿¡ ¾²¿©Áú ¶§ »ç¿ëµÉ ¼ö ¾ø½À´Ï´Ù" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext´Â °Ë»öÇÒ Å°¿öµå ¾øÀÌ´Â µ¿ÀÛÇÏÁö ¾Ê½À´Ï´Ù" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "°æ°í: `%s' ÆÄÀÏÀÇ È®ÀåÀÚ `%s'À»(¸¦) ¾Ë ¼ö ¾ø½À´Ï´Ù; C Çü½ÄÀ¸·Î °£ÁÖÇÔ" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "ÁÖ¾îÁø ÀÔ·Â ÆÄÀÏ¿¡¼­ ¹ø¿ª °¡´ÉÇÑ ¹®ÀÚ¿­À» »Ì¾Æ³À´Ï´Ù.\n" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"±ä ¿É¼Ç¿¡¼­ ²À ÇÊ¿äÇÑ Àμö´Â ªÀº ¿É¼Ç¿¡µµ ²À ÇÊ¿äÇÕ´Ï´Ù.\n" -"¾ø¾îµµ µÇ´Â ÀÎÀÚµµ ¸¶Âù°¡ÁöÀÔ´Ï´Ù.\n" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Output file location:\n" -" -d, --default-domain=<À̸§> Ãâ·Â¿¡ (messages.po ´ë½Å) <À̸§>.po¸¦ ¾¹´Ï´Ù\n" -" -o, --output=<ÆÄÀÏ> ÁöÁ¤µÈ ÆÄÀÏ¿¡ Ãâ·ÂÇÕ´Ï´Ù\n" -" -p, --output-dir=<µð·ºÅ丮> Ãâ·Â ÆÄÀÏÀ» <µð·ºÅ丮> µð·ºÅ丮¿¡ ³õ½À´Ï´Ù\n" -"Ãâ·ÂÆÄÀÏÀÌ \"-\"À̸é, Ç¥ÁØ Ãâ·ÂÀ¸·Î Ãâ·ÂÇÕ´Ï´Ù.\n" -#: src/xgettext.c:632 -#, fuzzy, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò½À´Ï´Ù" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "ÀÔ·Â ÆÄÀÏ ¾ð¾î ¼±ÅÃ:\n" " -L, --language=<À̸§> ÁöÁ¤ÇÑ ¾ð¾î·Î ÀνÄÇϵµ·Ï ÇÕ´Ï´Ù\n" @@ -2387,24 +2589,40 @@ msgstr "" " -C, --c++ \"--language=C++\"À» ª°Ô ¾´ °ÍÀÔ´Ï´Ù\n" "±âº»ÀûÀ¸·Î ÀÔ·Â ÆÄÀÏÀÇ È®ÀåÀÚ¿¡ µû¶ó ¾ð¾î¸¦ ÃßÃøÇÕ´Ï´Ù\n" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" +msgstr "" + +#: src/xgettext.c:661 +msgid "" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" +msgstr "" + +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" msgstr "" # TAG°¡ Á¤È®ÀÌ ¹¹Áö? -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:673 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "µ¿ÀÛ ¸ðµå:\n" " -j, --join-existing ÇöÁ¸ÇÏ´Â ÆÄÀϰú ¸Þ¼¼Áö¸¦ ÇÕĨ´Ï´Ù\n" @@ -2412,76 +2630,76 @@ msgstr "" " -c, --add-comments[=<ű×>] ÁÖ¼® ºÎºÐÀ» <ÅÂÅ©>·Î (ȤÀº Ű¿öµå ÁÙ ¾Õ¿¡\n" " ÀÖ´Â °ÍÀ¸·Î) ¾¹´Ï´Ù\n" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"language=C/C++ °ü·Ã ¿É¼Ç:\n" -" -a, --extract-all ¸ðµç ¹®ÀÚ¿­À» »Ì¾Æ ³À´Ï´Ù\n" -" -k, --keyword[=<´Ü¾î>] Ãß°¡·Î ãÀ» Ű¿öµå (<´Ü¾î>°¡ ¾øÀ¸¸é ±âº»\n" -" Ű¿öµå¸¦ »ç¿ëÇÏÁö ¾Ê°Ú´Ù´Â ÀǹÌÀÔ´Ï´Ù)\n" -" -T, --trigraphs ÀԷ¿¡¼­ ANSI C »ïÁßÀÚ(trigraph)¸¦ ÀνÄÇÕ´Ï´Ù\n" -" --debug ´õ ÀÚ¼¼ÇÑ Çü½Ä¹®ÀÚ¿­ ÀÎ½Ä °á°ú\n" - -#: src/xgettext.c:670 -#, no-wrap +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" --debug more detailed formatstring recognition result\n" msgstr "" -"Ãâ·Â ÁöÁ¤:\n" -" -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" -" -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" -" --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" -" -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" -" --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" -" --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" -" -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" -" --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" -" ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" -" -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" -" -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" -" --omit-header Çì´õ¿¡ `msgid \\\"\\\"' Ç׸ñÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" -" --copyright-holder=<¹®ÀÚ¿­> Ãâ·ÂÇÒ ÀúÀÛ±Ç ¼ÒÀ¯ÀÚ¸¦ ÁöÁ¤ÇÕ´Ï´Ù\n" -" --foreign-user ¿ÜºÎ »ç¿ëÀÚ¸¦ À§ÇØ FSF ÀúÀÛ±Ç Ç¥½Ã¸¦ »®´Ï´Ù\n" -" -m, --msgstr-prefix[=<¹®ÀÚ¿­>] msgstr Ç׸ñ¿¡ <¹®ÀÚ¿­> ȤÀº \"\"À» Á¢µÎ¾î·Î\n" -" -M, --msgstr-suffix[=<¹®ÀÚ¿­>] msgstr Ç׸ñ¿¡ <¹®ÀÚ¿­> ȤÀº \"\"À» Á¢¹Ì¾î·Î\n" - -#: src/xgettext.c:879 + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "Ç¥ÁØ ÀÔ·Â" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: °æ°í: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2491,11 +2709,748 @@ msgstr "" "gettext(\"\")´Â ºó ¹®ÀÚ¿­ÀÌ ¾Æ´Ï¶ó, ¸ÞŸ Á¤º¸°¡ µé¾î ÀÖ´Â \n" "Çì´õ Ç׸ñÀ» ¸®ÅÏÇÕ´Ï´Ù.\n" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "\"%s\" ÆÄÀÏ¿¡ NUL·Î ³¡³ªÁö ¾Ê´Â sysdep ¼¼±×¸ÕÆ®°¡ ÀÖ½À´Ï´Ù" +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " <ÀÔ·ÂÆÄÀÏ> ÀÔ·Â PO ÆÄÀÏ\n" +#~ " -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ" +#~ "´Ï´Ù\n" +#~ "¸¸¾à ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Ãâ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" +#~ "¸¸¾à Ãâ·Â ÆÄÀÏÀÌ ÁöÁ¤µÇÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·ÂÀ¸·Î \n" +#~ "Ãâ·ÂÇÕ´Ï´Ù.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "¸Þ¼¼Áö ¼±ÅÃ:\n" +#~ " --translated ¹ø¿ªµÇ¾úÀ¸¸é ³ö µÎ°í, ¹ø¿ªµÇÁö ¾Ê¾ÒÀ¸¸é Áö¿ó" +#~ "´Ï´Ù\n" +#~ " --untranslated ¹ø¿ªµÇÁö ¾Ê¾ÒÀ¸¸é ³ö µÎ°í, ¹ø¿ªµÇ¾úÀ¸¸é Áö¿ó" +#~ "´Ï´Ù\n" +#~ " --no-fuzzy 'fuzzy'·Î Ç¥½ÃµÈ ¸Þ¼¼Áö¸¦ Áö¿ó´Ï´Ù\n" +#~ " --only-fuzzy 'fuzzy'·Î Ç¥½ÃµÈ ¸Þ¼¼Áö¸¦ ³ö µÓ´Ï´Ù\n" +#~ " --no-obsolete ¾ø¾îÁø #~ ¸Þ¼¼Áö¸¦ Áö¿ó´Ï´Ù\n" +#~ " --only-obsolete ¾ø¾îÁø #~ ¸Þ¼¼Áö¸¦ ³ö µÓ´Ï´Ù\n" + +#, fuzzy +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "¼Ó¼º Á¶ÀÛ:\n" +#~ " --set-fuzzy ¸ðµç ¸Þ¼¼Áö¸¦ 'fuzzy'·Î ¸¸µì´Ï´Ù\n" +#~ " --clear-fuzzy ¸ðµç ¸Þ¼¼Áö¸¦ 'fuzzy'°¡ ¾Æ´Ïµµ·Ï ¸¸µì´Ï´Ù\n" +#~ " --set-obsolete ¸ðµç ¸Þ¼¼Áö¸¦ ¾ø´Â ¸Þ¼¼Áö·Î ¸¸µì´Ï´Ù\n" +#~ " --clear-obsolete ¸ðµç ¸Þ¼¼Áö¸¦ ¾ø´Â ¸Þ¼¼Áö°¡ ¾Æ´Ïµµ·Ï ¸¸µì´Ï" +#~ "´Ù\n" +#~ " --fuzzy \"--only-fuzzy --clear-fuzzy\"¿Í µ¿ÀÏÇÕ´Ï" +#~ "´Ù\n" +#~ " --obsolete \"--only-obsolete --clear-obsolete\"¿Í µ¿ÀÏ" +#~ "ÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»" +#~ "°ª)\n" +#~ " -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï" +#~ "´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" +#~ " --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" +#~ " -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ" +#~ "·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" +#~ " -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " <ÀÔ·ÂÆÄÀÏ> ... ÀÔ·Â ÆÄÀÏ(µé)\n" +#~ " -f, --files-from=<ÆÄÀÏ> <ÆÄÀÏ>¿¡¼­ ÀÔ·Â ÆÄÀÏÀÇ ¸í´ÜÀ» ÀнÀ´Ï´Ù\n" +#~ " -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ" +#~ "´Ï´Ù\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Ãâ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" +#~ "¸¸¾à Ãâ·Â ÆÄÀÏÀÌ ÁöÁ¤µÇÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·ÂÀ¸·Î\n" +#~ "\"Ãâ·ÂÇÕ´Ï´Ù.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "¸Þ¼¼Áö ¼±ÅÃ:\n" +#~ " -<, --less-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ÀûÀº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï" +#~ "´Ù.\n" +#~ " ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº \n" +#~ " ¹«ÇÑ´ëÀÔ´Ï´Ù.\n" +#~ " ->, --more-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ¸¹Àº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï" +#~ "´Ù.\n" +#~ " ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº 0ÀÔ´Ï´Ù.\n" +#~ " -u, --unique \"--less-than=2\"¸¦ ª°Ô ¾´ °ÍÀÔ´Ï´Ù, ÇÑ " +#~ "¹ø¸¸\n" +#~ " ³ª¿À´Â ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " -t, --to-code=<À̸§> Ãâ·ÂÀÇ ÀÎÄÚµù\n" +#~ " --use-first °¢ ¸Þ¼¼ÁöÁß¿¡¼­ ù¹øÂ°·Î ³ªÅ¸³ª´Â ¹ø¿ª¹®" +#~ "¸¸\n" +#~ " »ç¿ëÇϰí, ¿©·¯ ¹ø¿ª¹®À» ÇÕÄ¡Áö ¾Ê½À´Ï´Ù\n" +#~ " -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»" +#~ "°ª)\n" +#~ " -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï" +#~ "´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" +#~ " --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" +#~ " -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ " +#~ "ÁÙ·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" +#~ " -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Á¤º¸ Ãâ·Â:\n" +#~ " -h, --help ÀÌ µµ¿ò¸»À» Ç¥½ÃÇÏ°í ³¡³³´Ï´Ù\n" +#~ " -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇÏ°í ³¡³³´Ï´Ù\n" + +# references to sources ¹ø¿ª Àç°í +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " def.po ¹ø¿ª¹®\n" +#~ " ref.pot ¼Ò½º¿¡ ´ëÇÑ ÂüÁ¶\n" +#~ " -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï" +#~ "´Ù\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "¸Þ¼¼Áö ¼±ÅÃ:\n" +#~ " -<, --less-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ÀûÀº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï" +#~ "´Ù.\n" +#~ " ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº \n" +#~ " ¹«ÇÑ´ëÀÔ´Ï´Ù.\n" +#~ " ->, --more-than=<Å©±â> ÁöÁ¤ÇÑ °Íº¸´Ù ¸¹Àº ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï" +#~ "´Ù.\n" +#~ " ÀÌ ¿É¼ÇÀÌ ¾øÀ» °æ¿ì¿¡ ±âº»°ªÀº 1ÀÔ´Ï´Ù.\n" +#~ " -u, --unique \"--less-than=2\"¸¦ ª°Ô ¾´ °ÍÀÔ´Ï´Ù, ÇÑ " +#~ "¹ø¸¸\n" +#~ " ³ª¿À´Â ¸Þ¼¼Áö¸¸À» Ãâ·ÂÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»" +#~ "°ª)\n" +#~ " -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹" +#~ "´Ï´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï" +#~ "´Ù\n" +#~ " --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï" +#~ "´Ù\n" +#~ " -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ " +#~ "ÁÙ·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" +#~ " -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" +#~ " --omit-header Çì´õ¿¡ `msgid \"\"' Ç׸ñÀ» ¾²Áö ¾Ê½À´Ï" +#~ "´Ù\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»" +#~ "°ª)\n" +#~ " -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï" +#~ "´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" +#~ " --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" +#~ " --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ" +#~ "·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" +#~ " -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " <ÀÔ·ÂÆÄÀÏ> ÀÔ·Â PO ÆÄÀÏ\n" +#~ " -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï" +#~ "´Ù\n" +#~ "¸¸¾à ÀÔ·Â ÆÄÀÏÀÌ \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " <ÀÔ·ÂÆÄÀÏ> ÀÔ·Â PO ÆÄÀÏ\n" +#~ " -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï" +#~ "´Ù\n" +#~ "¸¸¾à ÀÔ·Â ÆÄÀÏÀÌ ÁÖ¾îÁöÁö ¾Ê¾Ò°Å³ª \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" + +# pattern space? +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "\"ÇÊÅÍ\"°¡ 'sed'ÀÏ °æ¿ì À¯¿ëÇÑ \"ÇÊÅÍ-¿É¼Ç\":\n" +#~ " -e, --expression=<½ºÅ©¸³Æ®> <½ºÅ©¸³Æ®> ¸í·ÉÀ» ½ÇÇàÇÒ ¸í·É¾î·Î Ãß°¡ÇÕ´Ï" +#~ "´Ù\n" +#~ " -f, --file=<½ºÅ©¸³Æ®ÆÄÀÏ> <½ºÅ©¸³Æ®ÆÄÀÏ>ÀÇ ³»¿ëÀ» ½ÇÇàÇÒ ¸í·É¾î·Î\n" +#~ " Ãß°¡ÇÕ´Ï´Ù\n" +#~ " -n, --quiet, --silent ÆÐÅÏ °ø¹éÀ» ÀÚµ¿À¸·Î Ãâ·ÂÇÏÁö ¾Êµµ·Ï ÇÕ´Ï" +#~ "´Ù\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»" +#~ "°ª)\n" +#~ " -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï" +#~ "´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" +#~ " --keep-header Çì´õ Ç׸ñ¿¡´Â ÇÊÅÍ ¾øÀÌ, ¼öÁ¤ÇÏÁö ¾Ê½À´Ï´Ù\n" +#~ " --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" +#~ " --add-location '#: filename:line' ÁÙÀ» ¸¸µì´Ï´Ù (±âº»°ª)\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ" +#~ "·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" +#~ " -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " ÆÄÀÏÀ̸§.po ... ÀÔ·Â ÆÄÀÏ\n" +#~ " -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï" +#~ "´Ù\n" +#~ "ÀÔ·Â ÆÄÀÏÀÌ \"-\"ÀÎ °æ¿ì, Ç¥ÁØ ÀÔ·ÂÀ» ÀнÀ´Ï´Ù.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "µ¿ÀÛ ¸ðµå:\n" +#~ " -j, --java ÀÚ¹Ù ¸ðµå: ÀÚ¹Ù ResourceBundle Ŭ·¡½º¸¦ ¸¸µì" +#~ "´Ï´Ù\n" +#~ " --java2 --java¿Í °°Áö¸¸, Java2¸¦ °¡Á¤ÇÕ´Ï´Ù(JDK 1.2 " +#~ "ÀÌ»ó)\n" +#~ " --tcl Tcl ¸ðµå: tcl/msgcat .msg ÆÄÀÏÀ» ¸¸µì´Ï´Ù\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Ãâ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " -o, --output-file=<ÆÄÀÏ> ÁöÁ¤ÇÑ ÆÄÀÏ·Î Ãâ·ÂÇÕ´Ï´Ù\n" +#~ "¸¸¾à Ãâ·Â ÆÄÀÏÀÌ \"-\"ÀÎ °æ¿ì, °á°ú¹°À» Ç¥ÁØ Ãâ·ÂÀ¸·Î Ãâ·ÂÇÕ´Ï´Ù.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "ÀÚ¹Ù ¸ðµå¿¡¼­ Ãâ·Â ÆÄÀÏ ÁöÁ¤:\n" +#~ " -l, --locale=<·ÎÄÉÀÏ> ·ÎÄÉÀÏ À̸§, ¾ð¾î ȤÀº ¾ð¾î_±¹°¡\n" +#~ " -d <µð·ºÅ丮> Ŭ·¡½º µð·ºÅ丮¿¡¼­ º£À̽º µð·ºÅ丮\n" +#~ "-l ¿É¼Ç°ú -d ¿É¼ÇÀº ²À ÇÊ¿äÇÕ´Ï´Ù. Ŭ·¡½º´Â ÁöÁ¤ÇÑ µð·ºÅ丮\n" +#~ "¾Æ·¡¿¡ Ãâ·ÂµË´Ï´Ù.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ ÇØ¼®:\n" +#~ " -c, --check --check-format, --check-header, --check-" +#~ "domain¿¡\n" +#~ " Æ÷ÇÔµÈ ¸ðµç °Ë»ç¸¦ ¼öÇàÇÕ´Ï´Ù\n" +#~ " --check-format ¾ð¾î¿¡ µû¸¥ Çü½Ä ¹®ÀÚ¿­ °Ë»ç¸¦ ÇÕ´Ï´Ù\n" +#~ " --check-header Çì´õ Ç׸ñÀÌ Á¸ÀçÇÏ°í ³»¿ëÀÌ ¿Ã¹Ù¸¥Áö °Ë»çÇÕ" +#~ "´Ï´Ù\n" +#~ " --check-domain µµ¸ÞÀÎ ÁöÁ¤°ú --output-file ¿É¼ÇÀÇ µµ¸ÞÀÎ" +#~ "ÀÌ\n" +#~ " Ãæµ¹ÇÏÁö ¾Ê´ÂÁö °Ë»çÇÕ´Ï´Ù\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility GNU msgfmtÀÌ X/OpenÀÇ msgfmtó·³ °Ë»çÇÕ´Ï" +#~ "´Ù.\n" +#~ " --check-accelerators[=<¹®ÀÚ>] ¸Þ´º ¾ÆÀÌÅÛÀÇ Å°º¸µå ´ÜÃà۰¡ Á¸ÀçÇÏ" +#~ "´ÂÁö\n" +#~ " °Ë»çÇÕ´Ï´Ù\n" +#~ " -f, --use-fuzzy Ãâ·Â¿¡ ÆÛÁö Ç׸ñÀ» »ç¿ëÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Á¤º¸ Ãâ·Â:\n" +#~ " -h, --help ÀÌ µµ¿ò¸»À» º¸¿©ÁÖ°í Á¾·áÇÕ´Ï´Ù\\n\"\n" +#~ " -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇϰí Á¾·áÇÕ´Ï´Ù\\n\"\n" +#~ " --statistics ¹ø¿ª¿¡ ´ëÇÑ Åë°è¸¦ Ç¥½ÃÇÕ´Ï´Ù\n" +#~ " -v, --verbose ´õ ÀÚ¼¼È÷ Ãâ·ÂÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»" +#~ "°ª)\n" +#~ " --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï" +#~ "´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" +#~ " --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï´Ù\n" +#~ " --add-location '#: filename:line' ÁÙÀ» ¸¸µì´Ï´Ù (±âº»°ª)\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ÁöÁ¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ" +#~ "·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" +#~ " --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "ÀÔ·Â ÆÄÀÏ À§Ä¡:\n" +#~ " def.po °ú°Å ¼Ò½º¸¦ ÂüÁ¶ÇÏ´Â ¹ø¿ª¹®\n" +#~ " ref.pot »õ·Î¿î ¼Ò½º¸¦ ÂüÁ¶\n" +#~ " -D, --directory=<µð·ºÅ丮> ÀÔ·Â ÆÄÀÏ Å½»ö ¸í´Ü¿¡ <µð·ºÅ丮>¸¦ Ãß°¡ÇÕ´Ï" +#~ "´Ù\n" +#~ " -C, --compendium=<ÆÄÀÏ> ¸Þ¼¼Áö ¹ø¿ª ¶óÀ̺귯¸® Ãß°¡,\n" +#~ " µÎ °³ ÀÌ»ó ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù\n" + +#, fuzzy +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "µ¿ÀÛ º¯È­:\n" +#~ " -m, --multi-domain ref.pot ÆÄÀÏÀ» def.poÀÇ °¢ µµ¸ÞÀο¡ Àû¿ëÇÕ´Ï" +#~ "´Ù\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Á¤º¸ Ãâ·Â:\n" +#~ " -h, --help ÀÌ µµ¿ò¸»À» º¸¿©ÁÖ°í Á¾·áÇÕ´Ï´Ù\\n\"\n" +#~ " -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇϰí Á¾·áÇÕ´Ï´Ù\\n\"\n" +#~ " -v, --verbose ´õ ÀÚ¼¼È÷ Ãâ·ÂÇÕ´Ï´Ù\n" +#~ " -q, --quiet, --silent ÁøÇà»óÅ ǥ½Ã¸¦ ÇÏÁö ¾Ê½À´Ï´Ù\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "ÀÚ¹Ù ¸ðµå¿¡¼­ Ãâ·Â ÆÄÀÏ ÁöÁ¤:\n" +#~ " -l, --locale=<·ÎÄÉÀÏ> ·ÎÄÉÀÏ À̸§, ¾ð¾î ȤÀº ¾ð¾î_±¹°¡\n" +#~ " -d <µð·ºÅ丮> Ŭ·¡½º µð·ºÅ丮¿¡¼­ º£À̽º µð·ºÅ丮\n" +#~ "-l ¿É¼Ç°ú -d ¿É¼ÇÀº ²À ÇÊ¿äÇÕ´Ï´Ù. Ŭ·¡½º´Â ÁöÁ¤ÇÑ µð·ºÅ丮\n" +#~ "¾Æ·¡¿¡ Ãâ·ÂµË´Ï´Ù.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»°ª)\n" +#~ " -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹´Ï´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï´Ù\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ ÁÙ·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Á¤º¸ Ãâ·Â:\n" +#~ " -h, --help ÀÌ µµ¿ò¸»À» º¸¿©ÁÖ°í Á¾·áÇÕ´Ï´Ù\\n\"\n" +#~ " -V, --version ¹öÀü Á¤º¸¸¦ Ç¥½ÃÇϰí Á¾·áÇÕ´Ï´Ù\\n\"\n" +#~ " -v, --verbose ´õ ÀÚ¼¼È÷ Ãâ·ÂÇÕ´Ï´Ù\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Output file location:\n" +#~ " -d, --default-domain=<À̸§> Ãâ·Â¿¡ (messages.po ´ë½Å) <À̸§>.po¸¦ ¾¹" +#~ "´Ï´Ù\n" +#~ " -o, --output=<ÆÄÀÏ> ÁöÁ¤µÈ ÆÄÀÏ¿¡ Ãâ·ÂÇÕ´Ï´Ù\n" +#~ " -p, --output-dir=<µð·ºÅ丮> Ãâ·Â ÆÄÀÏÀ» <µð·ºÅ丮> µð·ºÅ丮¿¡ ³õ½À´Ï" +#~ "´Ù\n" +#~ "Ãâ·ÂÆÄÀÏÀÌ \"-\"À̸é, Ç¥ÁØ Ãâ·ÂÀ¸·Î Ãâ·ÂÇÕ´Ï´Ù.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "language=C/C++ °ü·Ã ¿É¼Ç:\n" +#~ " -a, --extract-all ¸ðµç ¹®ÀÚ¿­À» »Ì¾Æ ³À´Ï´Ù\n" +#~ " -k, --keyword[=<´Ü¾î>] Ãß°¡·Î ãÀ» Ű¿öµå (<´Ü¾î>°¡ ¾øÀ¸¸é ±â" +#~ "º»\n" +#~ " Ű¿öµå¸¦ »ç¿ëÇÏÁö ¾Ê°Ú´Ù´Â ÀǹÌÀÔ´Ï´Ù)\n" +#~ " -T, --trigraphs ÀԷ¿¡¼­ ANSI C »ïÁßÀÚ(trigraph)¸¦ ÀνÄÇÕ" +#~ "´Ï´Ù\n" +#~ " --debug ´õ ÀÚ¼¼ÇÑ Çü½Ä¹®ÀÚ¿­ ÀÎ½Ä °á°ú\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Ãâ·Â ÁöÁ¤:\n" +#~ " -e, --no-escape Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾²Áö ¾Ê½À´Ï´Ù (±âº»" +#~ "°ª)\n" +#~ " -E, --escape È®Àå ¹®ÀÚ ¾øÀÌ, Ãâ·Â¿¡ C À̽ºÄÉÀÌÇÁ¸¦ ¾¹" +#~ "´Ï´Ù\n" +#~ " --force-po ºó ÆÄÀÏÀÌ¶óµµ PO ÆÄÀÏ·Î ¾¹´Ï´Ù\n" +#~ " -i, --indent µé¿©¾²±âµÈ Ãâ·Â ÇüÅ·Π.po ÆÄÀÏÀ» ¾¹´Ï" +#~ "´Ù\n" +#~ " --no-location ''#: ÆÄÀÏÀ̸§:ÁÙ¹øÈ£' ÁÙÀ» ¾²Áö ¾Ê½À´Ï" +#~ "´Ù\n" +#~ " -n, --add-location '#: filename:line' ÁÙÀ» ¾¹´Ï´Ù (±âº»°ª)\n" +#~ " --strict ¾ö°ÝÇÑ Uniforum Ãâ·Â ÇüÅ·Π¾¹´Ï´Ù\n" +#~ " -w, --width=<Å©±â> Ãâ·Â ÆäÀÌÁö ÆøÀ» ¼³Á¤ÇÕ´Ï´Ù\n" +#~ " --no-wrap Ãâ·Â ÆäÀÌÁö Æøº¸´Ù ±ä ¸Þ¼¼Áö ¶óÀÎÀ» ¿©·¯ " +#~ "ÁÙ·Î\n" +#~ " ÀÚ¸£Áö ¾Ê½À´Ï´Ù.\n" +#~ " -s, --sort-output Á¤·ÄµÈ Ãâ·ÂÀ» ¸¸µì´Ï´Ù\n" +#~ " -F, --sort-by-file ÆÄÀÏÀÇ À§Ä¡¿¡ µû¶ó Ãâ·ÂÀ» Á¤·ÄÇÕ´Ï´Ù\n" +#~ " --omit-header Çì´õ¿¡ `msgid \\\"\\\"' Ç׸ñÀ» ¾²Áö ¾Ê½À" +#~ "´Ï´Ù\n" +#~ " --copyright-holder=<¹®ÀÚ¿­> Ãâ·ÂÇÒ ÀúÀÛ±Ç ¼ÒÀ¯ÀÚ¸¦ ÁöÁ¤ÇÕ´Ï´Ù\n" +#~ " --foreign-user ¿ÜºÎ »ç¿ëÀÚ¸¦ À§ÇØ FSF ÀúÀÛ±Ç Ç¥½Ã¸¦ »®´Ï" +#~ "´Ù\n" +#~ " -m, --msgstr-prefix[=<¹®ÀÚ¿­>] msgstr Ç׸ñ¿¡ <¹®ÀÚ¿­> ȤÀº \"\"À» Á¢µÎ¾î" +#~ "·Î\n" +#~ " -M, --msgstr-suffix[=<¹®ÀÚ¿­>] msgstr Ç׸ñ¿¡ <¹®ÀÚ¿­> ȤÀº \"\"À» Á¢¹Ì¾î" +#~ "·Î\n" + #~ msgid "missing arguments" #~ msgstr "Àμö°¡ ºüÁ³À½" diff --git a/gettext-tools/po/nl.po b/gettext-tools/po/nl.po index d403b8f5f..8555f77a8 100644 --- a/gettext-tools/po/nl.po +++ b/gettext-tools/po/nl.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.31\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 1997-03-11 22:38 \n" "Last-Translator: Erick Branderhorst \n" "Language-Team: Dutch \n" @@ -28,40 +29,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "fout tijdens openen om te lezen van \"%s\"" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "fout bij openen om te schrijven van \"%s\"" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "fout tijdens lezen \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "fout bij schrijven bestand \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "fout tijdens lezen \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Onbekende systeemfout" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -121,7 +123,7 @@ msgstr "%s: optie `-W %s' is dubbelzinnig\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: optie `-W %s' staat geen argument toe\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -129,121 +131,321 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 #, fuzzy msgid "memory exhausted" msgstr "Geen geheugen meer beschikbaar" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "kan uitvoerbestand \"%s\" niet aanmaken" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "aantal formaat specificaties in `msgid' en `msgstr' zijn niet gelijk" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "aantal formaat specificaties in `msgid' en `msgstr' zijn niet gelijk" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "aantal formaat specificaties in `msgid' en `msgstr' zijn niet gelijk" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "aantal formaat specificaties in `msgid' en `msgstr' zijn niet gelijk" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "formaat specificaties voor argument %u zijn niet dezelfde" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -255,197 +457,365 @@ msgstr "" "garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN\n" "SPECIFIEK DOEL.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Geschreven door %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "te veel argumenten" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Probeer `%s --help' voor meer informatie.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Meld fouten via .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "precies 2 invoerbestanden zijn benodigd" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s en %s zijn mutually exclusive" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "geen invoerbestand gegeven" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Gebruik: %s [OPTION] def.po ref.po\n" -"Verplichte argumenten bij lange opties zijn ook verplicht bij korte opties.\n" -" -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van directories\n" -" invoerbestanden gezocht worden\n" -" -e, --no-escape gebruikt geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended chars\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help toon hulp-tekst en bekindig programma\n" -" -i, --indent geondenteerde uitvoerstijl\n" -" -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" -" --no-location onderdruk '#: bestandsnaam:regel' regels\n" -" --add-location behoud '#: bestandsnaam:regel' regels (standaard)\n" -" --strict stricte Uniforum uitvoerstijl\n" -" -v, --verbose verhoog verbosity nivo\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -W, --width=NUMBER stel uitvoer pagina breedte in\n" - -#: src/msgcat.c:260 src/msgcomm.c:279 +"Gebruik: %s [OPTIE] [BESTAND]...\n" +"Verplichte argumenten voor lange opties zijn ook verplicht voor korte " +"opties.\n" +" -e, --no-escape gebruik geen C escapes in uitvoer (standaard)\n" +" -E, --escape gebruik C escapes in uitvoer, geen extended\n" +" karakters\n" +" --force-po schrijf PO bestand zelfs als het leeg is\n" +" -h, --help laat hulp-tekst zien en bekindig programma\n" +" -i, --indent gebruik geindenteerde uitvoer-stijl\n" +" -o, --output-file=FILE uitvoer gaat naar BESTAND\n" +"\n" +" --strict gebruik strikte Uniforum-stijl\n" +" -V, --version toon versie-informatie en bekindig programma\n" +" -w, --width=NUMMER stel uitvoer paginabreedte in\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -459,97 +829,67 @@ msgid "" "File positions from all PO files will be cumulated.\n" msgstr "" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Gebruik: %s [OPTION] def.po ref.po\n" -"Verplichte argumenten bij lange opties zijn ook verplicht bij korte opties.\n" -" -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van directories\n" -" invoerbestanden gezocht worden\n" -" -e, --no-escape gebruikt geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended chars\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help toon hulp-tekst en bekindig programma\n" -" -i, --indent geondenteerde uitvoerstijl\n" -" -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" -" --no-location onderdruk '#: bestandsnaam:regel' regels\n" -" --add-location behoud '#: bestandsnaam:regel' regels (standaard)\n" -" --strict stricte Uniforum uitvoerstijl\n" -" -v, --verbose verhoog verbosity nivo\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -W, --width=NUMBER stel uitvoer pagina breedte in\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "geen invoerbestanden gegeven" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "precies 2 invoerbestanden zijn benodigd" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -574,50 +914,52 @@ msgstr "" "overeenkomst niet gevonden kan wrden, zal fuzzy(vage) matching worden gebruikt,\n" "ter verkrijging van een betere diagnose.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "deze melding is gebruikt maar is niet gedefinieerd..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...maar de definitie is gelijksoortig" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "deze melding is gebruikt maar niet gedefinieerd in %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "waarschuwing: deze melding is niet gebruikt" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, fuzzy, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "%d fatale fouten gevonden" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -630,144 +972,87 @@ msgid "" "cumulated.\n" msgstr "" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Gebruik: %s [OPTION] def.po ref.po\n" -"Verplichte argumenten bij lange opties zijn ook verplicht bij korte opties.\n" -" -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van directories\n" -" invoerbestanden gezocht worden\n" -" -e, --no-escape gebruikt geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended chars\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help toon hulp-tekst en bekindig programma\n" -" -i, --indent geondenteerde uitvoerstijl\n" -" -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" -" --no-location onderdruk '#: bestandsnaam:regel' regels\n" -" --add-location behoud '#: bestandsnaam:regel' regels (standaard)\n" -" --strict stricte Uniforum uitvoerstijl\n" -" -v, --verbose verhoog verbosity nivo\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -W, --width=NUMBER stel uitvoer pagina breedte in\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Gebruik: %s [OPTION] def.po ref.po\n" -"Verplichte argumenten bij lange opties zijn ook verplicht bij korte opties.\n" -" -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van directories\n" -" invoerbestanden gezocht worden\n" -" -e, --no-escape gebruikt geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended chars\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help toon hulp-tekst en bekindig programma\n" -" -i, --indent geondenteerde uitvoerstijl\n" -" -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" -" --no-location onderdruk '#: bestandsnaam:regel' regels\n" -" --add-location behoud '#: bestandsnaam:regel' regels (standaard)\n" -" --strict stricte Uniforum uitvoerstijl\n" -" -v, --verbose verhoog verbosity nivo\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -W, --width=NUMBER stel uitvoer pagina breedte in\n" - -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "geen invoerbestand gegeven" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "precies 2 invoerbestanden zijn benodigd" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "ontbrekende argumenten" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -777,118 +1062,105 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "ontbrekende argumenten" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Gebruik: %s [OPTION] def.po ref.po\n" -"Verplichte argumenten bij lange opties zijn ook verplicht bij korte opties.\n" -" -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van directories\n" -" invoerbestanden gezocht worden\n" -" -e, --no-escape gebruikt geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended chars\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help toon hulp-tekst en bekindig programma\n" -" -i, --indent geondenteerde uitvoerstijl\n" -" -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" -" --no-location onderdruk '#: bestandsnaam:regel' regels\n" -" --add-location behoud '#: bestandsnaam:regel' regels (standaard)\n" -" --strict stricte Uniforum uitvoerstijl\n" -" -v, --verbose verhoog verbosity nivo\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -W, --width=NUMBER stel uitvoer pagina breedte in\n" - -#: src/msgfilter.c:531 + +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -898,18 +1170,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -919,328 +1191,381 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, fuzzy, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d vertaalde meldingen" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, fuzzy, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d vage vertalingen" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, fuzzy, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d onvertaalde meldingen" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "illegale kontrol sequence" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "illegale kontrol sequence" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "deze melding is gebruikt maar niet gedefinieerd in %s" msgstr[1] "deze melding is gebruikt maar niet gedefinieerd in %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "deze melding is gebruikt maar niet gedefinieerd in %s" msgstr[1] "deze melding is gebruikt maar niet gedefinieerd in %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "`msgid' en `msgstr' ingangen beginnen niet allebei met '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "`msgid' en `msgstr' ingangen beginnen niet allebei met '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "`msgid' en `msgstr' ingangen beginnen niet allebei met '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "`msgid' en `msgstr' ingangen eindigen niet allebei met '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "`msgid' en `msgstr' ingangen eindigen niet allebei met '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "`msgid' en `msgstr' ingangen eindigen niet allebei met '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "header(??)veld `%s' ontbreekt in header(??)" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "header(??)veld `%s' moet starten aan het begin van de regel" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "" "sommige header(??)velden hebben nog de oorspronkelijke standaard waarde" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "veld `%s' heeft nog de oorspronkelijke standaard waarde" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "%s: let op: broncode bevat vage vertaling" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "%s: let op: broncode bevat vage vertaling" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "%s: let op: broncode bevat vage vertaling" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domeinnaam \"%s\" niet bruikbaar als bestandsnaam" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "domeinnaam \"%s\" niet bruikbaar als bestandsnaam: zal voorvoegsel gebruiken" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "`domein %s' directive genegeerd" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "dubbele melding definitie" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...dit is de lokatie van de eerste definitie" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "lege `msgstr' entry genegeerd" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "lege `msgstr' ingang genegeerd" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: let op: broncode bevat vage vertaling" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1264,6 +1589,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1271,52 +1597,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Gebruik: %s [OPTION] def.po ref.po\n" -"Verplichte argumenten bij lange opties zijn ook verplicht bij korte opties.\n" -" -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van directories\n" -" invoerbestanden gezocht worden\n" -" -e, --no-escape gebruikt geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended chars\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help toon hulp-tekst en bekindig programma\n" -" -i, --indent geondenteerde uitvoerstijl\n" -" -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" -" --no-location onderdruk '#: bestandsnaam:regel' regels\n" -" --add-location behoud '#: bestandsnaam:regel' regels (standaard)\n" -" --strict stricte Uniforum uitvoerstijl\n" -" -v, --verbose verhoog verbosity nivo\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -W, --width=NUMBER stel uitvoer pagina breedte in\n" - -#: src/msggrep.c:545 + +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1324,80 +1629,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1409,51 +1715,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1501,33 +1808,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1552,71 +1859,79 @@ msgstr "" "worden om betere resultaten te verkrijgen. De resultaten worden naar \n" "standaarduitvoer geschreven tenzij een uitvoerbestand is gespecificeerd.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr "" + +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "deze melding is gebruikt maar niet gedefinieerd in %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "deze melding is gebruikt maar niet gedefinieerd in %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, fuzzy, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1625,108 +1940,69 @@ msgstr "" "%sLees %d oud + %d referentie, samengevoegd %d, fuzzied(gevaagd) %d, " "ontbrekend %d, overbodig %d.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " done.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s en %s zijn mutually exclusive" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Gebruik: %s [OPTIE] [BESTAND]...\n" -"Verplichte argumenten voor lange opties zijn ook verplicht voor korte opties.\n" -" -e, --no-escape gebruik geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended\n" -" karakters\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help laat hulp-tekst zien en bekindig programma\n" -" -i, --indent gebruik geindenteerde uitvoer-stijl\n" -" -o, --output-file=FILE uitvoer gaat naar BESTAND\n" -"\n" -" --strict gebruik strikte Uniforum-stijl\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -w, --width=NUMMER stel uitvoer paginabreedte in\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1739,15 +2015,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1804,79 +2082,79 @@ msgid "" "Message conversion to user's charset will not work.\n" msgstr "%s: let op: broncode bevat vage vertaling" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 #, fuzzy msgid "missing `msgstr[]' section" msgstr "ontbrekend `msgstr' gedeelte" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 #, fuzzy msgid "missing `msgid_plural' section" msgstr "ontbrekend `msgstr' gedeelte" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "ontbrekend `msgstr' gedeelte" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "te veel fouten, afgebroken" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 #, fuzzy msgid "invalid multibyte sequence" msgstr "illegale kontrol sequence" -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "illegale kontrol sequence" -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "illegale kontrol sequence" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "fout tijdens lezen \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "sleutelwoord \"%s\" onbekend" -#: src/po-lex.c:856 +#: src/po-lex.c:817 #, fuzzy msgid "invalid control sequence" msgstr "illegale kontrol sequence" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "einde-bestand-teken in string" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "einde-regel-teken in string" @@ -1900,13 +2178,25 @@ msgstr "bestand \"%s\" is geen GNU .mo bestand" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "bestand \"%s\" is geen GNU .mo bestand" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "dit bestand mag geen domein directives bevatten" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "dubbele melding definitie" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...dit is de lokatie van de eerste definitie" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "te veel argumenten" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -1923,8 +2213,9 @@ msgid "error writing stdout" msgstr "fout bij schrijven bestand \"%s\"" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "kan uitvoerbestand \"%s\" niet aanmaken" #: src/write-java.c:1065 #, fuzzy, c-format @@ -1941,7 +2232,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -1951,19 +2242,19 @@ msgstr "fout bij schrijven bestand \"%s\"" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "fout bij openen om te schrijven van \"%s\"" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "geonternationaliseerde meldingen mogen geen `\\%c' escape sequences bevatten" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -1972,12 +2263,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "kan uitvoerbestand \"%s\" niet aanmaken" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standaard uitvoer" @@ -1988,7 +2292,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: let op: niet getermineerde string literal" @@ -2020,11 +2324,7 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "dit bestand mag geen domein directives bevatten" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: let op: niet getermineerde karakter konstante" @@ -2040,152 +2340,530 @@ msgid "%s:%d: missing number after #" msgstr "" #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: let op: niet getermineerde string literal" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing kan niet gebruikt worden indien uitvoer naar " "standaarduitvoer\n" "wordt geschreven" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "let op: bestand `%s' extensie `%s' is onbekend; ga C proberen" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "geen invoerbestand gegeven" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" msgstr "" -"Gebruik: %s [OPTION] def.po ref.po\n" -"Verplichte argumenten bij lange opties zijn ook verplicht bij korte opties.\n" -" -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van directories\n" -" invoerbestanden gezocht worden\n" -" -e, --no-escape gebruikt geen C escapes in uitvoer (standaard)\n" -" -E, --escape gebruik C escapes in uitvoer, geen extended chars\n" -" --force-po schrijf PO bestand zelfs als het leeg is\n" -" -h, --help toon hulp-tekst en bekindig programma\n" -" -i, --indent geondenteerde uitvoerstijl\n" -" -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" -" --no-location onderdruk '#: bestandsnaam:regel' regels\n" -" --add-location behoud '#: bestandsnaam:regel' regels (standaard)\n" -" --strict stricte Uniforum uitvoerstijl\n" -" -v, --verbose verhoog verbosity nivo\n" -" -V, --version toon versie-informatie en bekindig programma\n" -" -W, --width=NUMBER stel uitvoer pagina breedte in\n" - -#: src/xgettext.c:879 + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standaard invoer" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "taal `%s' onbekend" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTION] def.po ref.po\n" +#~ "Verplichte argumenten bij lange opties zijn ook verplicht bij korte " +#~ "opties.\n" +#~ " -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van " +#~ "directories\n" +#~ " invoerbestanden gezocht worden\n" +#~ " -e, --no-escape gebruikt geen C escapes in uitvoer " +#~ "(standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended " +#~ "chars\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help toon hulp-tekst en bekindig programma\n" +#~ " -i, --indent geondenteerde uitvoerstijl\n" +#~ " -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" +#~ " --no-location onderdruk '#: bestandsnaam:regel' regels\n" +#~ " --add-location behoud '#: bestandsnaam:regel' regels " +#~ "(standaard)\n" +#~ " --strict stricte Uniforum uitvoerstijl\n" +#~ " -v, --verbose verhoog verbosity nivo\n" +#~ " -V, --version toon versie-informatie en bekindig " +#~ "programma\n" +#~ " -W, --width=NUMBER stel uitvoer pagina breedte in\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTION] def.po ref.po\n" +#~ "Verplichte argumenten bij lange opties zijn ook verplicht bij korte " +#~ "opties.\n" +#~ " -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van " +#~ "directories\n" +#~ " invoerbestanden gezocht worden\n" +#~ " -e, --no-escape gebruikt geen C escapes in uitvoer " +#~ "(standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended " +#~ "chars\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help toon hulp-tekst en bekindig programma\n" +#~ " -i, --indent geondenteerde uitvoerstijl\n" +#~ " -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" +#~ " --no-location onderdruk '#: bestandsnaam:regel' regels\n" +#~ " --add-location behoud '#: bestandsnaam:regel' regels " +#~ "(standaard)\n" +#~ " --strict stricte Uniforum uitvoerstijl\n" +#~ " -v, --verbose verhoog verbosity nivo\n" +#~ " -V, --version toon versie-informatie en bekindig " +#~ "programma\n" +#~ " -W, --width=NUMBER stel uitvoer pagina breedte in\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTION] def.po ref.po\n" +#~ "Verplichte argumenten bij lange opties zijn ook verplicht bij korte " +#~ "opties.\n" +#~ " -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van " +#~ "directories\n" +#~ " invoerbestanden gezocht worden\n" +#~ " -e, --no-escape gebruikt geen C escapes in uitvoer " +#~ "(standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended " +#~ "chars\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help toon hulp-tekst en bekindig programma\n" +#~ " -i, --indent geondenteerde uitvoerstijl\n" +#~ " -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" +#~ " --no-location onderdruk '#: bestandsnaam:regel' regels\n" +#~ " --add-location behoud '#: bestandsnaam:regel' regels " +#~ "(standaard)\n" +#~ " --strict stricte Uniforum uitvoerstijl\n" +#~ " -v, --verbose verhoog verbosity nivo\n" +#~ " -V, --version toon versie-informatie en bekindig " +#~ "programma\n" +#~ " -W, --width=NUMBER stel uitvoer pagina breedte in\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTION] def.po ref.po\n" +#~ "Verplichte argumenten bij lange opties zijn ook verplicht bij korte " +#~ "opties.\n" +#~ " -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van " +#~ "directories\n" +#~ " invoerbestanden gezocht worden\n" +#~ " -e, --no-escape gebruikt geen C escapes in uitvoer " +#~ "(standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended " +#~ "chars\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help toon hulp-tekst en bekindig programma\n" +#~ " -i, --indent geondenteerde uitvoerstijl\n" +#~ " -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" +#~ " --no-location onderdruk '#: bestandsnaam:regel' regels\n" +#~ " --add-location behoud '#: bestandsnaam:regel' regels " +#~ "(standaard)\n" +#~ " --strict stricte Uniforum uitvoerstijl\n" +#~ " -v, --verbose verhoog verbosity nivo\n" +#~ " -V, --version toon versie-informatie en bekindig " +#~ "programma\n" +#~ " -W, --width=NUMBER stel uitvoer pagina breedte in\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTION] def.po ref.po\n" +#~ "Verplichte argumenten bij lange opties zijn ook verplicht bij korte " +#~ "opties.\n" +#~ " -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van " +#~ "directories\n" +#~ " invoerbestanden gezocht worden\n" +#~ " -e, --no-escape gebruikt geen C escapes in uitvoer " +#~ "(standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended " +#~ "chars\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help toon hulp-tekst en bekindig programma\n" +#~ " -i, --indent geondenteerde uitvoerstijl\n" +#~ " -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" +#~ " --no-location onderdruk '#: bestandsnaam:regel' regels\n" +#~ " --add-location behoud '#: bestandsnaam:regel' regels " +#~ "(standaard)\n" +#~ " --strict stricte Uniforum uitvoerstijl\n" +#~ " -v, --verbose verhoog verbosity nivo\n" +#~ " -V, --version toon versie-informatie en bekindig " +#~ "programma\n" +#~ " -W, --width=NUMBER stel uitvoer pagina breedte in\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTION] def.po ref.po\n" +#~ "Verplichte argumenten bij lange opties zijn ook verplicht bij korte " +#~ "opties.\n" +#~ " -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van " +#~ "directories\n" +#~ " invoerbestanden gezocht worden\n" +#~ " -e, --no-escape gebruikt geen C escapes in uitvoer " +#~ "(standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended " +#~ "chars\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help toon hulp-tekst en bekindig programma\n" +#~ " -i, --indent geondenteerde uitvoerstijl\n" +#~ " -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" +#~ " --no-location onderdruk '#: bestandsnaam:regel' regels\n" +#~ " --add-location behoud '#: bestandsnaam:regel' regels " +#~ "(standaard)\n" +#~ " --strict stricte Uniforum uitvoerstijl\n" +#~ " -v, --verbose verhoog verbosity nivo\n" +#~ " -V, --version toon versie-informatie en bekindig " +#~ "programma\n" +#~ " -W, --width=NUMBER stel uitvoer pagina breedte in\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTIE] [BESTAND]...\n" +#~ "Verplichte argumenten voor lange opties zijn ook verplicht voor korte " +#~ "opties.\n" +#~ " -e, --no-escape gebruik geen C escapes in uitvoer (standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended\n" +#~ " karakters\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help laat hulp-tekst zien en bekindig programma\n" +#~ " -i, --indent gebruik geindenteerde uitvoer-stijl\n" +#~ " -o, --output-file=FILE uitvoer gaat naar BESTAND\n" +#~ "\n" +#~ " --strict gebruik strikte Uniforum-stijl\n" +#~ " -V, --version toon versie-informatie en bekindig programma\n" +#~ " -w, --width=NUMMER stel uitvoer paginabreedte in\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Gebruik: %s [OPTION] def.po ref.po\n" +#~ "Verplichte argumenten bij lange opties zijn ook verplicht bij korte " +#~ "opties.\n" +#~ " -D, --directory=DIRECTORY voeg DIRECTORY toe aan lijst waar van " +#~ "directories\n" +#~ " invoerbestanden gezocht worden\n" +#~ " -e, --no-escape gebruikt geen C escapes in uitvoer " +#~ "(standaard)\n" +#~ " -E, --escape gebruik C escapes in uitvoer, geen extended " +#~ "chars\n" +#~ " --force-po schrijf PO bestand zelfs als het leeg is\n" +#~ " -h, --help toon hulp-tekst en bekindig programma\n" +#~ " -i, --indent geondenteerde uitvoerstijl\n" +#~ " -o, --output-file=BESTAND resultaat wordt naar BESTAND geschreven\n" +#~ " --no-location onderdruk '#: bestandsnaam:regel' regels\n" +#~ " --add-location behoud '#: bestandsnaam:regel' regels " +#~ "(standaard)\n" +#~ " --strict stricte Uniforum uitvoerstijl\n" +#~ " -v, --verbose verhoog verbosity nivo\n" +#~ " -V, --version toon versie-informatie en bekindig " +#~ "programma\n" +#~ " -W, --width=NUMBER stel uitvoer pagina breedte in\n" + #~ msgid "missing arguments" #~ msgstr "ontbrekende argumenten" diff --git a/gettext-tools/po/nn.po b/gettext-tools/po/nn.po index 759e506f5..bbc1d5264 100644 --- a/gettext-tools/po/nn.po +++ b/gettext-tools/po/nn.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.12\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 1996-03-21 08:46 EST\n" "Last-Translator: Karl Anders Øygard \n" "Language-Team: Norwegian-nynorsk \n" @@ -28,40 +29,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, fuzzy, c-format msgid "error while opening \"%s\" for reading" msgstr "feil under skriving av fila \"%s\"" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "feil under skriving av fila \"%s\"" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "feil under skriving av fila \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "feil under skriving av fila \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "feil under skriving av fila \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -121,7 +123,7 @@ msgstr "%s: flagg msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flagg «--%s» tek ikkje argument\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -129,86 +131,272 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "kan ikkje opprette utfila \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" "antall format-spesifiseringar i «msgid» og «msgstr» stemmer ikkje overeins" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" "antall format-spesifiseringar i «msgid» og «msgstr» stemmer ikkje overeins" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -216,7 +404,7 @@ msgid "" msgstr "" "antall format-spesifiseringar i «msgid» og «msgstr» stemmer ikkje overeins" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -224,29 +412,43 @@ msgid "" msgstr "" "antall format-spesifiseringar i «msgid» og «msgstr» stemmer ikkje overeins" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "format-spesifiseringane for argument %u er ulike" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -254,190 +456,361 @@ msgid "" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 #, fuzzy msgid "too many arguments" msgstr "manglar argument" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, fuzzy, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prøv «%s --help» for meir informasjon\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr "" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "treng nøyaktig to innfiler" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s og %s utelukker kvarandre" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "inga innfil spesifisert" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Bruk: %s [FLAGG] INNFIL ...\n" -"Obligatoriske argumenter til lange flagg er obligatoriske også til korte flagg.\n" -" -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvida teikn\n" -" -h, --help vis denne hjelpeteksta og avslutt\n" -" -i, --indent indentert utdata\n" -" -o, --output-file=FIL resultat vert skrive til FIL\n" -" --strict lag strengt Uniforum-konformt utdata\n" -" -V, --version vis programversjon og avslutt\n" +"Usage: %s [OPTION] [FILE]...\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +" -e, --no-escape do not use C escapes in output (default)\n" +" -E, --escape use C escapes in output, no extended chars\n" +" -h, --help display this help and exit\n" +" -i, --indent write indented output style\n" +" -o, --output-file=FILE write output into FILE instead of standard " +"output\n" +" --strict write strict uniforum style\n" +" -V, --version output version information and exit\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -451,91 +824,68 @@ msgid "" "File positions from all PO files will be cumulated.\n" msgstr "" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Bruk: %s [FLAGG] INNFIL ...\n" -"Obligatoriske argumenter til lange flagg er obligatoriske også til korte flagg.\n" -" -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvida teikn\n" -" -h, --help vis denne hjelpeteksta og avslutt\n" -" -i, --indent indentert utdata\n" -" -o, --output-file=FIL resultat vert skrive til FIL\n" -" --strict lag strengt Uniforum-konformt utdata\n" -" -V, --version vis programversjon og avslutt\n" +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 #, fuzzy msgid "no input files given" msgstr "inga innfil spesifisert" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "treng nøyaktig to innfiler" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -557,50 +907,52 @@ msgstr "" "oversett alle meldingar i programmet. Der samsvar ikkje kan finnast, vert\n" "«fuzzy» samanlikning brukt for å få betre diagnostikk.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "denne meldinga er brukt, men ikkje definert..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "... men denne definisjonen liknar" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "denne meldinga er brukt, men ikkje definert i %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "advarsel: denne meldinga er ikkje brukt" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, fuzzy, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "fann %d fatale feil" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -613,130 +965,87 @@ msgid "" "cumulated.\n" msgstr "" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" -"Bruk: %s [FLAGG] INNFIL ...\n" -"Obligatoriske argumenter til lange flagg er obligatoriske også til korte flagg.\n" -" -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvida teikn\n" -" -h, --help vis denne hjelpeteksta og avslutt\n" -" -i, --indent indentert utdata\n" -" -o, --output-file=FIL resultat vert skrive til FIL\n" -" --strict lag strengt Uniforum-konformt utdata\n" -" -V, --version vis programversjon og avslutt\n" +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Bruk: %s [FLAGG] INNFIL ...\n" -"Obligatoriske argumenter til lange flagg er obligatoriske også til korte flagg.\n" -" -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvida teikn\n" -" -h, --help vis denne hjelpeteksta og avslutt\n" -" -i, --indent indentert utdata\n" -" -o, --output-file=FIL resultat vert skrive til FIL\n" -" --strict lag strengt Uniforum-konformt utdata\n" -" -V, --version vis programversjon og avslutt\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "inga innfil spesifisert" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "treng nøyaktig to innfiler" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "manglar argument" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -746,111 +1055,105 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "manglar argument" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Bruk: %s [FLAGG] INNFIL ...\n" -"Obligatoriske argumenter til lange flagg er obligatoriske også til korte flagg.\n" -" -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvida teikn\n" -" -h, --help vis denne hjelpeteksta og avslutt\n" -" -i, --indent indentert utdata\n" -" -o, --output-file=FIL resultat vert skrive til FIL\n" -" --strict lag strengt Uniforum-konformt utdata\n" -" -V, --version vis programversjon og avslutt\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -860,18 +1163,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -881,328 +1184,379 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] "" msgstr[1] "" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "denne meldinga er brukt, men ikkje definert i %s" msgstr[1] "denne meldinga er brukt, men ikkje definert i %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "denne meldinga er brukt, men ikkje definert i %s" msgstr[1] "denne meldinga er brukt, men ikkje definert i %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "«msgid»- og «msgstr»-verdiane byrjarr ikkje båe med '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "«msgid»- og «msgstr»-verdiane byrjarr ikkje båe med '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 #, fuzzy msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "«msgid»- og «msgstr»-verdiane byrjarr ikkje båe med '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "«msgid»- og «msgstr»-verdiane sluttar ikkje båe med '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "«msgid»- og «msgstr»-verdiane sluttar ikkje båe med '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 #, fuzzy msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "«msgid»- og «msgstr»-verdiane sluttar ikkje båe med '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "filhovud-feltet «%s» manglar i filhovud" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "filhovud-feltet «%s» skulle ha starta på byrjinga av linja" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "nokre filhovud-felt har framleis sin initielle verdi" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "feltet «%s» har framleis sin forvalgte verdi" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domenenamnet \"%s\" passar ikkje som filnavn" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domenenamnet \"%s\" passar ikkje som filnavn: brukar prefiks" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -#, fuzzy -msgid "...this is the location of the first definition" -msgstr "den første definisjonen finst her" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, fuzzy, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "ADVARSEL: kildefila har «fuzzy» oversetjingar" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1226,6 +1580,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1233,45 +1588,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Bruk: %s [FLAGG] INNFIL ...\n" -"Obligatoriske argumenter til lange flagg er obligatoriske også til korte flagg.\n" -" -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvida teikn\n" -" -h, --help vis denne hjelpeteksta og avslutt\n" -" -i, --indent indentert utdata\n" -" -o, --output-file=FIL resultat vert skrive til FIL\n" -" --strict lag strengt Uniforum-konformt utdata\n" -" -V, --version vis programversjon og avslutt\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1279,80 +1620,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1364,51 +1706,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1456,33 +1799,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1507,71 +1850,79 @@ msgstr "" "resultat. Resultatet vert skrive til standard ut, med mindre ei utfil er\n" "spesifisert.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr "" + +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "denne meldinga er brukt, men ikkje definert i %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "denne meldinga er brukt, men ikkje definert i %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, fuzzy, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1580,104 +1931,69 @@ msgstr "" "%sLeste %d gamle + %d referansar, fletta inn %d, «fuzzya» %d, manglar %d,\n" "utdaterte %d.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr "" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s og %s utelukker kvarandre" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap -msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" -"separated with an underscore. The class is located using the CLASSPATH.\n" +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" +"separated with an underscore. The class is located using the CLASSPATH.\n" +msgstr "" + +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Usage: %s [OPTION] [FILE]...\n" -"Mandatory arguments to long options are mandatory for short options too.\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" -h, --help display this help and exit\n" -" -i, --indent write indented output style\n" -" -o, --output-file=FILE write output into FILE instead of standard output\n" -" --strict write strict uniforum style\n" -" -V, --version output version information and exit\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1690,15 +2006,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1754,76 +2072,76 @@ msgid "" "Message conversion to user's charset will not work.\n" msgstr "" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 #, fuzzy msgid "missing `msgstr[]' section" msgstr "manglar «msgstr»-seksjon" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 #, fuzzy msgid "missing `msgid_plural' section" msgstr "manglar «msgstr»-seksjon" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "manglar «msgstr»-seksjon" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 #, fuzzy msgid "too many errors, aborting" msgstr "for mange feil, avsluttar" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, fuzzy, c-format msgid "error while reading \"%s\"" msgstr "feil under skriving av fila \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "" @@ -1847,13 +2165,26 @@ msgstr "fila \"%s\" er ikkje i GNU .mo-format" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "fila \"%s\" er ikkje i GNU .mo-format" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "denne fila kan ikkje innehalde domene-nøkkelord" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "" + +#: src/read-po.c:358 +#, fuzzy +msgid "...this is the location of the first definition" +msgstr "den første definisjonen finst her" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "manglar argument" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -1870,8 +2201,9 @@ msgid "error writing stdout" msgstr "feil under skriving av fila \"%s\"" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "kan ikkje skifte tilbake til filkatalog \"%s\"" #: src/write-java.c:1065 #, fuzzy, c-format @@ -1888,7 +2220,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -1898,19 +2230,19 @@ msgstr "feil under skriving av fila \"%s\"" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, fuzzy, c-format msgid "error while opening \"%s\" for writing" msgstr "feil under skriving av fila \"%s\"" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "internasjonaliserte meldingar skal ikkje innehalde escape-sekvensen «\\%c»" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -1919,12 +2251,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "kan ikkje opprette utfila \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "" @@ -1935,25 +2280,25 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "fila \"%s\" er ikkje i GNU .mo-format" #: src/x-awk.c:569 -#, c-format +#, fuzzy, c-format msgid "%s:%d: warning: unterminated regular expression" -msgstr "" +msgstr "fila \"%s\" er ikkje i GNU .mo-format" #: src/x-c.c:906 -#, c-format +#, fuzzy, c-format msgid "%s:%d: warning: unterminated character constant" -msgstr "" +msgstr "fila \"%s\" er ikkje i GNU .mo-format" #: src/x-c.c:930 -#, c-format +#, fuzzy, c-format msgid "%s:%d: warning: unterminated string literal" -msgstr "" +msgstr "fila \"%s\" er ikkje i GNU .mo-format" #: src/x-glade.c:369 src/x-glade.c:376 #, c-format @@ -1967,14 +2312,10 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "denne fila kan ikkje innehalde domene-nøkkelord" - -#: src/x-python.c:565 -#, c-format +#: src/x-python.c:569 +#, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" -msgstr "" +msgstr "fila \"%s\" er ikkje i GNU .mo-format" #: src/x-rst.c:106 #, c-format @@ -1991,139 +2332,443 @@ msgstr "" msgid "%s:%d: invalid string expression" msgstr "" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing kan ikkje brukast når utdata vert skrive til standard ut" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "inga innfil spesifisert" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" -msgstr "" -"Bruk: %s [FLAGG] INNFIL ...\n" -"Obligatoriske argumenter til lange flagg er obligatoriske også til korte flagg.\n" -" -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvida teikn\n" -" -h, --help vis denne hjelpeteksta og avslutt\n" -" -i, --indent indentert utdata\n" -" -o, --output-file=FIL resultat vert skrive til FIL\n" -" --strict lag strengt Uniforum-konformt utdata\n" -" -V, --version vis programversjon og avslutt\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" -#: src/xgettext.c:879 +#: src/xgettext.c:922 msgid "standard input" msgstr "" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruk: %s [FLAGG] INNFIL ...\n" +#~ "Obligatoriske argumenter til lange flagg er obligatoriske også til korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvida " +#~ "teikn\n" +#~ " -h, --help vis denne hjelpeteksta og avslutt\n" +#~ " -i, --indent indentert utdata\n" +#~ " -o, --output-file=FIL resultat vert skrive til FIL\n" +#~ " --strict lag strengt Uniforum-konformt utdata\n" +#~ " -V, --version vis programversjon og avslutt\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruk: %s [FLAGG] INNFIL ...\n" +#~ "Obligatoriske argumenter til lange flagg er obligatoriske også til korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvida " +#~ "teikn\n" +#~ " -h, --help vis denne hjelpeteksta og avslutt\n" +#~ " -i, --indent indentert utdata\n" +#~ " -o, --output-file=FIL resultat vert skrive til FIL\n" +#~ " --strict lag strengt Uniforum-konformt utdata\n" +#~ " -V, --version vis programversjon og avslutt\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Bruk: %s [FLAGG] INNFIL ...\n" +#~ "Obligatoriske argumenter til lange flagg er obligatoriske også til korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvida " +#~ "teikn\n" +#~ " -h, --help vis denne hjelpeteksta og avslutt\n" +#~ " -i, --indent indentert utdata\n" +#~ " -o, --output-file=FIL resultat vert skrive til FIL\n" +#~ " --strict lag strengt Uniforum-konformt utdata\n" +#~ " -V, --version vis programversjon og avslutt\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruk: %s [FLAGG] INNFIL ...\n" +#~ "Obligatoriske argumenter til lange flagg er obligatoriske også til korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvida " +#~ "teikn\n" +#~ " -h, --help vis denne hjelpeteksta og avslutt\n" +#~ " -i, --indent indentert utdata\n" +#~ " -o, --output-file=FIL resultat vert skrive til FIL\n" +#~ " --strict lag strengt Uniforum-konformt utdata\n" +#~ " -V, --version vis programversjon og avslutt\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruk: %s [FLAGG] INNFIL ...\n" +#~ "Obligatoriske argumenter til lange flagg er obligatoriske også til korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvida " +#~ "teikn\n" +#~ " -h, --help vis denne hjelpeteksta og avslutt\n" +#~ " -i, --indent indentert utdata\n" +#~ " -o, --output-file=FIL resultat vert skrive til FIL\n" +#~ " --strict lag strengt Uniforum-konformt utdata\n" +#~ " -V, --version vis programversjon og avslutt\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruk: %s [FLAGG] INNFIL ...\n" +#~ "Obligatoriske argumenter til lange flagg er obligatoriske også til korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvida " +#~ "teikn\n" +#~ " -h, --help vis denne hjelpeteksta og avslutt\n" +#~ " -i, --indent indentert utdata\n" +#~ " -o, --output-file=FIL resultat vert skrive til FIL\n" +#~ " --strict lag strengt Uniforum-konformt utdata\n" +#~ " -V, --version vis programversjon og avslutt\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Usage: %s [OPTION] [FILE]...\n" +#~ "Mandatory arguments to long options are mandatory for short options too.\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " -h, --help display this help and exit\n" +#~ " -i, --indent write indented output style\n" +#~ " -o, --output-file=FILE write output into FILE instead of standard " +#~ "output\n" +#~ " --strict write strict uniforum style\n" +#~ " -V, --version output version information and exit\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Bruk: %s [FLAGG] INNFIL ...\n" +#~ "Obligatoriske argumenter til lange flagg er obligatoriske også til korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikkje bruk C-escapekoder i utdata (forvalgt)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvida " +#~ "teikn\n" +#~ " -h, --help vis denne hjelpeteksta og avslutt\n" +#~ " -i, --indent indentert utdata\n" +#~ " -o, --output-file=FIL resultat vert skrive til FIL\n" +#~ " --strict lag strengt Uniforum-konformt utdata\n" +#~ " -V, --version vis programversjon og avslutt\n" + #~ msgid "missing arguments" #~ msgstr "manglar argument" diff --git a/gettext-tools/po/no.po b/gettext-tools/po/no.po index 157a4c079..9eac7f664 100644 --- a/gettext-tools/po/no.po +++ b/gettext-tools/po/no.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.37\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2001-05-09 02:08+02:00\n" "Last-Translator: Trond Endrestøl \n" "Language-Team: Norwegian-bokmål \n" @@ -28,40 +29,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "feil under åpning av «%s» for lesing" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "feil under åpning av «%s» for skriving" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "feil under lesing av «%s»" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "feil under skriving av filen «%s»" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "feil under lesing av «%s»" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Ukjent systemfeil" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -121,7 +123,7 @@ msgstr "%s: flagg msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flagg «-W %s» tillater ikke et argument\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -129,122 +131,322 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "minnet oppbrukt" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "kan ikke opprette utfilen «%s»" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "antallet format-spesifiseringer i «msgid» og «msgstr» stemmer ikke" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "antallet format-spesifiseringer i «msgid» og «msgstr» stemmer ikke" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "antallet format-spesifiseringer i «msgid» og «msgstr» stemmer ikke" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "antallet format-spesifiseringer i «msgid» og «msgstr» stemmer ikke" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "format-spesifiseringene for argument %lu er ulike" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "format-spesifiseringene for argument %lu er ulike" +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + # Hva skal MERCHANTABILITY og FITNESS FOR PARTICULAR PURPOSE oversettes med? # Er denne oversettelsen grei nok? -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -256,198 +458,363 @@ msgstr "" "INGEN garanti; ikke engang for SALGBARHET eller SKIKKETHET FOR ET BESTEMT\n" "FORMÅL.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Skrevet av %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "for mange argumenter" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prøv «%s --help» for mer informasjon.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Rapporter feil til .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "trenger nøyaktig to innfiler" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s og %s utelukker hverandre" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "ingen innfil angitt" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Bruksmåte: %s [FLAGG] def.po ref.po\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" -" kan bli angitt mer enn en gang\n" -" -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" -" -e, --no-escape ikke bruke C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escaper i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om den blir tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent innrykk i utdata\n" -" -o, --output-file=FIL resultat vil bli skrevet til FIL\n" -" --no-location undertrykk «#: filnavn:linje»-linjer\n" -" --add-location bevar «#: filnavn:linje»-linjer (standard)\n" -" --strict lag streng Uniforum-konform utdata\n" -" -v, --verbose gi mer fyldige meldinger\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" +"Bruksmåte: %s [FLAGG] [FIL]...\n" +"Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +"flagg.\n" +" -e, --no-escape ikke bruk C-escapekoder i utdata (standard)\n" +" -E, --escape bruk C-escapekoder i utdata, ingen utvidede tegn\n" +" --force-po skriv PO-fil selv om deb vil bli tom\n" +" -h, --help vise denne hjelpen og avslutte\n" +" -i, --indent skriv utdata med innrykk\n" +" -o, --output-file=FIL skriv utdata til FIL istedet for standard ut\n" +" --strict lag streng Uniforum-konform .po-fil\n" +" -V, --version skriv ut programversjon og avslutt\n" +" -w, --width=ANTALL sett sidebredden i utdata\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "umulig utvalgskriterie angitt (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -477,114 +844,67 @@ msgstr "" "PO-filen som definerer dem. Filposisjonene fra alle PO-filene vil\n" "bli bevart.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -" -V, --version skrive ut programversjon og avslutte\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" -" -<, --less-than=ANTALL skrive ut meldinger med mindre enn ANTALL\n" -" definisjoner, standard er uendelig dersom\n" -" ikke satt\n" -" ->, --more-than=ANTALL skrive ut meldinger med mer enn ANTALL\n" -" definisjoner, standard er 1 dersom ikke satt\n" -"\n" -"Finne meldinger som er felles i to eller flere av de angitt PO-filene.\n" -"Ved å bruke --more-than-flagget, kan økt fellesskap bli anmodet\n" -"før meldingene blir skrevet ut. Omvendt kan --less-than-flagget brukes\n" -"for å angi mindre fellesskap for meldingene blir skrevet ut (eks.\n" -"--less-than=2 vil bare skrive ut unike meldinger). Oversettelser,\n" -"kommentarer og uttrekkskommentarer bevares, men bare fra den første\n" -"PO-filen som definerer dem. Filposisjonene fra alle PO-filene vil\n" -"bli bevart.\n" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Bruksmåte: %s [FLAGG] def.po ref.po\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" -" kan bli angitt mer enn en gang\n" -" -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" -" -e, --no-escape ikke bruke C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escaper i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om den blir tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent innrykk i utdata\n" -" -o, --output-file=FIL resultat vil bli skrevet til FIL\n" -" --no-location undertrykk «#: filnavn:linje»-linjer\n" -" --add-location bevar «#: filnavn:linje»-linjer (standard)\n" -" --strict lag streng Uniforum-konform utdata\n" -" -v, --verbose gi mer fyldige meldinger\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "ingen innfiler angitt" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "trenger nøyaktig to innfiler" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -607,51 +927,53 @@ msgstr "" "alle meldingene i programmet ditt. Når en eksakt overensstemmelse ikke\n" "finnes, blir «fuzzy»-sammenligning brukt for å få en bedre diagnostikk.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "denne meldingen er brukt, men ikke definert..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "... men denne definisjonen ligner" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "denne meldingen er brukt, men ikke definert i %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "advarsel: denne meldingen er ikke brukt" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "fant %d fatale feil" msgstr[1] "fant %d fatale feil" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "minst to filer må angis" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -680,162 +1002,87 @@ msgstr "" "PO-filen som definerer dem. Filposisjonene fra alle PO-filene vil\n" "bli bevart.\n" -#: src/msgcomm.c:351 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -" -V, --version skrive ut programversjon og avslutte\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" -" -<, --less-than=ANTALL skrive ut meldinger med mindre enn ANTALL\n" -" definisjoner, standard er uendelig dersom\n" -" ikke satt\n" -" ->, --more-than=ANTALL skrive ut meldinger med mer enn ANTALL\n" -" definisjoner, standard er 1 dersom ikke satt\n" -"\n" -"Finne meldinger som er felles i to eller flere av de angitt PO-filene.\n" -"Ved å bruke --more-than-flagget, kan økt fellesskap bli anmodet\n" -"før meldingene blir skrevet ut. Omvendt kan --less-than-flagget brukes\n" -"for å angi mindre fellesskap for meldingene blir skrevet ut (eks.\n" -"--less-than=2 vil bare skrive ut unike meldinger). Oversettelser,\n" -"kommentarer og uttrekkskommentarer bevares, men bare fra den første\n" -"PO-filen som definerer dem. Filposisjonene fra alle PO-filene vil\n" -"bli bevart.\n" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Bruksmåte: %s [FLAGG] def.po ref.po\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" -" kan bli angitt mer enn en gang\n" -" -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" -" -e, --no-escape ikke bruke C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escaper i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om den blir tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent innrykk i utdata\n" -" -o, --output-file=FIL resultat vil bli skrevet til FIL\n" -" --no-location undertrykk «#: filnavn:linje»-linjer\n" -" --add-location bevar «#: filnavn:linje»-linjer (standard)\n" -" --strict lag streng Uniforum-konform utdata\n" -" -v, --verbose gi mer fyldige meldinger\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Bruksmåte: %s [FLAGG] def.po ref.po\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" -" kan bli angitt mer enn en gang\n" -" -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" -" -e, --no-escape ikke bruke C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escaper i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om den blir tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent innrykk i utdata\n" -" -o, --output-file=FIL resultat vil bli skrevet til FIL\n" -" --no-location undertrykk «#: filnavn:linje»-linjer\n" -" --add-location bevar «#: filnavn:linje»-linjer (standard)\n" -" --strict lag streng Uniforum-konform utdata\n" -" -v, --verbose gi mer fyldige meldinger\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" - -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "ingen innfil angitt" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "trenger nøyaktig to innfiler" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "mangler argumenter" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -845,120 +1092,106 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "mangler argumenter" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "minst to filer må angis" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Bruksmåte: %s [FLAGG] def.po ref.po\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" -" kan bli angitt mer enn en gang\n" -" -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" -" -e, --no-escape ikke bruke C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escaper i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om den blir tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent innrykk i utdata\n" -" -o, --output-file=FIL resultat vil bli skrevet til FIL\n" -" --no-location undertrykk «#: filnavn:linje»-linjer\n" -" --add-location bevar «#: filnavn:linje»-linjer (standard)\n" -" --strict lag streng Uniforum-konform utdata\n" -" -v, --verbose gi mer fyldige meldinger\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -968,18 +1201,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -989,333 +1222,386 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d oversatt melding" msgstr[1] "%d oversatte meldinger" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d antatt oversettelse" msgstr[1] ", %d antatte oversettelser" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d uoversatt melding" msgstr[1] ", %d uoversatte meldinger" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "ulovlig kontrollsekvens" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "ulovlig kontrollsekvens" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "denne meldingen er brukt, men ikke definert i %s" msgstr[1] "denne meldingen er brukt, men ikke definert i %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "denne meldingen er brukt, men ikke definert i %s" msgstr[1] "denne meldingen er brukt, men ikke definert i %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "«msgid»- og «msgid_plural»-innslagene begynner ikke med `\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "«msgid»- og «msgstr[%u]»-innslagene begynner ikke med `\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "«msgid»- og «msgstr»-innslagene begynner ikke med `\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "«msgid»- og «msgstr[%u]»-innslagene slutter ikke med `\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "«msgid»- og «msgstr[%u]»-innslagene slutter ikke med `\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "«msgid»- og «msgstr»-innslagene slutter ikke med `\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "filhodefelt «%s» mangler i filhode" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "filhodefelt «%s» skulle ha startet ved begynnelsen av linjen" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "noen filhodefelt har fremdeles sin initielle verdi" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "feltet «%s» har fremdeles sin forvalgte verdi" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "" "%s: advarsel: PO-filheader mangler, fuzzy, eller ugyldig\n" "%*s advarsel: tegnsettkonvertering vil ikke virke" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "" "Tegnsettet mangler i headeren.\n" "Meldingskonvertering til brukerens tegnsett kan ikke virke.\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "" "%s: advarsel: PO-filheader mangler, fuzzy, eller ugyldig\n" "%*s advarsel: tegnsettkonvertering vil ikke virke" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domenenavnet «%s» passer ikke som filnavn" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domenenavnet «%s» passer ikke som filnavn: bruker prefiks" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "nøkkelord «domain %s» ignorert" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "duplisert definisjon av melding" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "... dette er lokasjonen til den første definisjonen" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "tom «msgstr»-linje ignorert" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "antatt «msgstr»-linje ignorert" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: advarselL: kildefil har antatte oversettelser" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1339,6 +1625,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1346,53 +1633,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Bruksmåte: %s [FLAGG] def.po ref.po\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" -" kan bli angitt mer enn en gang\n" -" -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" -" -e, --no-escape ikke bruke C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escaper i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om den blir tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent innrykk i utdata\n" -" -o, --output-file=FIL resultat vil bli skrevet til FIL\n" -" --no-location undertrykk «#: filnavn:linje»-linjer\n" -" --add-location bevar «#: filnavn:linje»-linjer (standard)\n" -" --strict lag streng Uniforum-konform utdata\n" -" -v, --verbose gi mer fyldige meldinger\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" - -#: src/msggrep.c:545 + +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1400,80 +1665,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1485,52 +1751,53 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 #, fuzzy msgid "warning: " msgstr "%s: advarsel: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1578,15 +1845,15 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1595,7 +1862,7 @@ msgstr "" "Tegnsettet \"%s\" er ikke støttet. %s er avhengig av iconv(),\n" "og iconv() støtter ikke \"%s\".\n" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, fuzzy, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1604,11 +1871,11 @@ msgstr "" "Tegnsettet \"%s\" er ikke støttet. %s er avhengig av iconv().\n" "Denne versjonen ble blygget uten iconv().\n" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1633,71 +1900,79 @@ msgstr "" "resultater. Resultatet blir skrevet til standard ut, med mindre en utfil\n" "er spesifisert.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "denne meldingen er brukt, men ikke definert i %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "denne meldingen er brukt, men ikke definert i %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1706,106 +1981,69 @@ msgstr "" "%sLeste %ld gamle + %ld referanser, flettet %ld, antok %ld, mangler %ld, " "foreldete %ld.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " ferdig.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s og %s utelukker hverandre" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Bruksmåte: %s [FLAGG] [FIL]...\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -e, --no-escape ikke bruk C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escapekoder i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om deb vil bli tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent skriv utdata med innrykk\n" -" -o, --output-file=FIL skriv utdata til FIL istedet for standard ut\n" -" --strict lag streng Uniforum-konform .po-fil\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1818,15 +2056,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1892,75 +2132,75 @@ msgstr "" "Tegnsettet mangler i headeren.\n" "Meldingskonvertering til brukerens tegnsett kan ikke virke.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "inkonsistent bruk av #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "mangler «msgstr[]»-seksjon" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "mangler «msgid_plural»-seksjon" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "mangler «msgstr»-seksjon" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "første flertallsform har en ikke-null indeks" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "flertallsform har feil indeks" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "for mange feil, avbryter" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "ulovlig multibytesekvens" -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "ulovlig multibytesekvens" -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "ulovlig multibytesekvens" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "feil under lesing av «%s»" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "nøkkelord «%s» ukjent" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "ulovlig kontrollsekvens" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "slutt-på-fil inne i streng" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "slutt-på-linje inne i streng" @@ -1984,13 +2224,25 @@ msgstr "filen msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "filen «%s» inneholder en ikke-NUL-terminert streng" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "denne filen kan ikke inneholde domene-direktiver" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "duplisert definisjon av melding" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "... dette er lokasjonen til den første definisjonen" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "for mange argumenter" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -2007,8 +2259,9 @@ msgid "error writing stdout" msgstr "feil under skriving av filen «%s»" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "kan ikke opprette utfilen «%s»" #: src/write-java.c:1065 #, fuzzy, c-format @@ -2025,7 +2278,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2035,19 +2288,19 @@ msgstr "feil under skriving av filen msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "feil under åpning av «%s» for skriving" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "internasjonaliserte meldinger bør ikke inneholde escape-sekvensen «\\%c»" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2056,12 +2309,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "kan ikke opprette utfilen «%s»" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standard ut" @@ -2072,7 +2338,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: advarsel: uavsluttet strengliteral" @@ -2106,11 +2372,7 @@ msgstr "" "Tegnsettet \"%s\" er ikke støttet. %s er avhengig av iconv().\n" "Denne versjonen ble blygget uten iconv().\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "denne filen kan ikke inneholde domene-direktiver" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: advarsel: uavsluttet tegnkonstant" @@ -2126,151 +2388,577 @@ msgid "%s:%d: missing number after #" msgstr "" #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: advarsel: uavsluttet strengliteral" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing kan ikke brukes når utdata blir skrevet til standard ut" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext kan ikke arbeide uten å finne nøkkelord" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "advarsel: typen til fil «%s» med utvidelsen «%s» er ukjent, forsøker C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "ingen innfil angitt" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" msgstr "" -"Bruksmåte: %s [FLAGG] def.po ref.po\n" -"Obligatoriske argumenter til lange flagg er også obligatoriske for korte flagg.\n" -" -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" -" kan bli angitt mer enn en gang\n" -" -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" -" -e, --no-escape ikke bruke C-escapekoder i utdata (standard)\n" -" -E, --escape bruk C-escaper i utdata, ingen utvidede tegn\n" -" --force-po skriv PO-fil selv om den blir tom\n" -" -h, --help vise denne hjelpen og avslutte\n" -" -i, --indent innrykk i utdata\n" -" -o, --output-file=FIL resultat vil bli skrevet til FIL\n" -" --no-location undertrykk «#: filnavn:linje»-linjer\n" -" --add-location bevar «#: filnavn:linje»-linjer (standard)\n" -" --strict lag streng Uniforum-konform utdata\n" -" -v, --verbose gi mer fyldige meldinger\n" -" -V, --version skriv ut programversjon og avslutt\n" -" -w, --width=ANTALL sett sidebredden i utdata\n" - -#: src/xgettext.c:879 + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standard inn" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: advarsel: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "språket «%s» er ukjent" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] def.po ref.po\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" +#~ " kan bli angitt mer enn en gang\n" +#~ " -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" +#~ " -e, --no-escape ikke bruke C-escapekoder i utdata " +#~ "(standard)\n" +#~ " -E, --escape bruk C-escaper i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om den blir tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent innrykk i utdata\n" +#~ " -o, --output-file=FIL resultat vil bli skrevet til FIL\n" +#~ " --no-location undertrykk «#: filnavn:linje»-linjer\n" +#~ " --add-location bevar «#: filnavn:linje»-linjer (standard)\n" +#~ " --strict lag streng Uniforum-konform utdata\n" +#~ " -v, --verbose gi mer fyldige meldinger\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version skrive ut programversjon og avslutte\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" +#~ " -<, --less-than=ANTALL skrive ut meldinger med mindre enn " +#~ "ANTALL\n" +#~ " definisjoner, standard er uendelig " +#~ "dersom\n" +#~ " ikke satt\n" +#~ " ->, --more-than=ANTALL skrive ut meldinger med mer enn ANTALL\n" +#~ " definisjoner, standard er 1 dersom ikke " +#~ "satt\n" +#~ "\n" +#~ "Finne meldinger som er felles i to eller flere av de angitt PO-filene.\n" +#~ "Ved å bruke --more-than-flagget, kan økt fellesskap bli anmodet\n" +#~ "før meldingene blir skrevet ut. Omvendt kan --less-than-flagget brukes\n" +#~ "for å angi mindre fellesskap for meldingene blir skrevet ut (eks.\n" +#~ "--less-than=2 vil bare skrive ut unike meldinger). Oversettelser,\n" +#~ "kommentarer og uttrekkskommentarer bevares, men bare fra den første\n" +#~ "PO-filen som definerer dem. Filposisjonene fra alle PO-filene vil\n" +#~ "bli bevart.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] def.po ref.po\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" +#~ " kan bli angitt mer enn en gang\n" +#~ " -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" +#~ " -e, --no-escape ikke bruke C-escapekoder i utdata " +#~ "(standard)\n" +#~ " -E, --escape bruk C-escaper i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om den blir tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent innrykk i utdata\n" +#~ " -o, --output-file=FIL resultat vil bli skrevet til FIL\n" +#~ " --no-location undertrykk «#: filnavn:linje»-linjer\n" +#~ " --add-location bevar «#: filnavn:linje»-linjer (standard)\n" +#~ " --strict lag streng Uniforum-konform utdata\n" +#~ " -v, --verbose gi mer fyldige meldinger\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version skrive ut programversjon og avslutte\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" +#~ " -<, --less-than=ANTALL skrive ut meldinger med mindre enn " +#~ "ANTALL\n" +#~ " definisjoner, standard er uendelig " +#~ "dersom\n" +#~ " ikke satt\n" +#~ " ->, --more-than=ANTALL skrive ut meldinger med mer enn ANTALL\n" +#~ " definisjoner, standard er 1 dersom ikke " +#~ "satt\n" +#~ "\n" +#~ "Finne meldinger som er felles i to eller flere av de angitt PO-filene.\n" +#~ "Ved å bruke --more-than-flagget, kan økt fellesskap bli anmodet\n" +#~ "før meldingene blir skrevet ut. Omvendt kan --less-than-flagget brukes\n" +#~ "for å angi mindre fellesskap for meldingene blir skrevet ut (eks.\n" +#~ "--less-than=2 vil bare skrive ut unike meldinger). Oversettelser,\n" +#~ "kommentarer og uttrekkskommentarer bevares, men bare fra den første\n" +#~ "PO-filen som definerer dem. Filposisjonene fra alle PO-filene vil\n" +#~ "bli bevart.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] def.po ref.po\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" +#~ " kan bli angitt mer enn en gang\n" +#~ " -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" +#~ " -e, --no-escape ikke bruke C-escapekoder i utdata " +#~ "(standard)\n" +#~ " -E, --escape bruk C-escaper i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om den blir tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent innrykk i utdata\n" +#~ " -o, --output-file=FIL resultat vil bli skrevet til FIL\n" +#~ " --no-location undertrykk «#: filnavn:linje»-linjer\n" +#~ " --add-location bevar «#: filnavn:linje»-linjer (standard)\n" +#~ " --strict lag streng Uniforum-konform utdata\n" +#~ " -v, --verbose gi mer fyldige meldinger\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] def.po ref.po\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" +#~ " kan bli angitt mer enn en gang\n" +#~ " -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" +#~ " -e, --no-escape ikke bruke C-escapekoder i utdata " +#~ "(standard)\n" +#~ " -E, --escape bruk C-escaper i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om den blir tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent innrykk i utdata\n" +#~ " -o, --output-file=FIL resultat vil bli skrevet til FIL\n" +#~ " --no-location undertrykk «#: filnavn:linje»-linjer\n" +#~ " --add-location bevar «#: filnavn:linje»-linjer (standard)\n" +#~ " --strict lag streng Uniforum-konform utdata\n" +#~ " -v, --verbose gi mer fyldige meldinger\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] def.po ref.po\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" +#~ " kan bli angitt mer enn en gang\n" +#~ " -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" +#~ " -e, --no-escape ikke bruke C-escapekoder i utdata " +#~ "(standard)\n" +#~ " -E, --escape bruk C-escaper i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om den blir tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent innrykk i utdata\n" +#~ " -o, --output-file=FIL resultat vil bli skrevet til FIL\n" +#~ " --no-location undertrykk «#: filnavn:linje»-linjer\n" +#~ " --add-location bevar «#: filnavn:linje»-linjer (standard)\n" +#~ " --strict lag streng Uniforum-konform utdata\n" +#~ " -v, --verbose gi mer fyldige meldinger\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] def.po ref.po\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" +#~ " kan bli angitt mer enn en gang\n" +#~ " -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" +#~ " -e, --no-escape ikke bruke C-escapekoder i utdata " +#~ "(standard)\n" +#~ " -E, --escape bruk C-escaper i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om den blir tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent innrykk i utdata\n" +#~ " -o, --output-file=FIL resultat vil bli skrevet til FIL\n" +#~ " --no-location undertrykk «#: filnavn:linje»-linjer\n" +#~ " --add-location bevar «#: filnavn:linje»-linjer (standard)\n" +#~ " --strict lag streng Uniforum-konform utdata\n" +#~ " -v, --verbose gi mer fyldige meldinger\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] [FIL]...\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -e, --no-escape ikke bruk C-escapekoder i utdata (standard)\n" +#~ " -E, --escape bruk C-escapekoder i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om deb vil bli tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent skriv utdata med innrykk\n" +#~ " -o, --output-file=FIL skriv utdata til FIL istedet for standard ut\n" +#~ " --strict lag streng Uniforum-konform .po-fil\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Bruksmåte: %s [FLAGG] def.po ref.po\n" +#~ "Obligatoriske argumenter til lange flagg er også obligatoriske for korte " +#~ "flagg.\n" +#~ " -C --compendium=FIL ytterligere bibliotek med oversettelser,\n" +#~ " kan bli angitt mer enn en gang\n" +#~ " -D, --directory=KATALOG legge KATALOG til søkelisten over innfiler\n" +#~ " -e, --no-escape ikke bruke C-escapekoder i utdata " +#~ "(standard)\n" +#~ " -E, --escape bruk C-escaper i utdata, ingen utvidede " +#~ "tegn\n" +#~ " --force-po skriv PO-fil selv om den blir tom\n" +#~ " -h, --help vise denne hjelpen og avslutte\n" +#~ " -i, --indent innrykk i utdata\n" +#~ " -o, --output-file=FIL resultat vil bli skrevet til FIL\n" +#~ " --no-location undertrykk «#: filnavn:linje»-linjer\n" +#~ " --add-location bevar «#: filnavn:linje»-linjer (standard)\n" +#~ " --strict lag streng Uniforum-konform utdata\n" +#~ " -v, --verbose gi mer fyldige meldinger\n" +#~ " -V, --version skriv ut programversjon og avslutt\n" +#~ " -w, --width=ANTALL sett sidebredden i utdata\n" + #~ msgid "missing arguments" #~ msgstr "mangler argumenter" diff --git a/gettext-tools/po/pl.po b/gettext-tools/po/pl.po index 5fb53dc7b..9b98cd5c2 100644 --- a/gettext-tools/po/pl.po +++ b/gettext-tools/po/pl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-03-13 13:29+0100\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-03-03 23:15+0100\n" "Last-Translator: Rafa³ Maszkowski \n" "Language-Team: Polish \n" @@ -32,9 +32,9 @@ msgstr "niejednoznaczny argument `%s' dla `%s'" msgid "Valid arguments are:" msgstr "Prawid³owe argumenty to:" -#: lib/copy-file.c:64 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:896 src/xgettext.c:909 -#: src/xgettext.c:919 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "b³±d podczas otwierania \"%s\" do czytania" @@ -59,13 +59,14 @@ msgstr "b msgid "error after reading \"%s\"" msgstr "b³±d po odczytaniu \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Nieznany b³±d systemu" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "podproces %s nie powiód³ siê" @@ -125,7 +126,7 @@ msgstr "%s: opcja `-W %s' jest niejednoznaczna\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opcja `-W %s' nie mo¿e mieæ argumentu\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" "Nie znaleziono kompilatora Javy, proszê zainstalowaæ gcj lub ustawiæ $JAVAC" @@ -136,22 +137,23 @@ msgstr "" "Nie znaleziono maszyny wirtualnej Javy, proszê zainstalowaæ gij lub ustawiæ " "$JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "pamiêæ wyczerpana" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "nie mo¿na utworzyæ potoku" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "podproces %s" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "podproces %s otrzyma³ ¶miertelny sygna³ %d" @@ -453,11 +455,11 @@ msgid "" "1 and 9." msgstr "" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:404 +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -469,100 +471,126 @@ msgstr "" "Autorzy nie daj± ¯ADNYCH gwarancji, w tym równie¿ gwarancji MO¯LIWO¦CI\n" "SPRZEDA¯Y lub PRZYDATNO¦CI DO KONKRETNYCH ZASTOSOWAÑ.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:409 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Program napisa³ %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "za du¿o argumentów" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:403 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:600 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Polecenie `%s --help' poda wiêcej informacji.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Sk³adnia: %s [OPCJA]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Wypisanie nazwy komputera.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Format wyj¶cia:\n" " -s, --short krótka nazwa komputera\n" -" -f, --fqdn, --long d³uga nazwa komputera, zawieraj±ca pe³n± nazwê domeny\n" +" -f, --fqdn, --long d³uga nazwa komputera, zawieraj±ca pe³n± nazwê " +"domeny\n" " i aliasy\n" " -i, --ip-address adresy komputera\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:487 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Informacje:\n" " -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -" -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" - -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:493 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:706 +" -V, --version wypisanie informacji o wersji i zakoñczenie " +"pracy\n" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "Raporty o b³êdach proszê wysy³aæ na .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "nie mo¿na odczytaæ nazwy komputera" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "dozwolony najwy¿ej jeden plik wej¶ciowy" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:419 -#: src/xgettext.c:423 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s i %s wzajemnie siê wykluczaj±" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:408 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Sk³adnia: %s [OPCJA] [PLIK-WEJ¦CIOWY]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -571,129 +599,255 @@ msgstr "" "Filtruje komunikaty z katalogu t³umaczeñ zgodnie z ich atrybutami oraz\n" "manipuluje atrybutami.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:419 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Argumenty obowi±zkowe dla opcji d³ugich s± obowi±zkowe tak¿e dla krótkich.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Argumenty obowi±zkowe dla opcji d³ugich s± obowi±zkowe tak¿e dla krótkich.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:424 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "nie podano nazwy pliku wej¶ciowego" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "Po³o¿enie pliku wej¶ciowego:\n" -" PLIK-WEJ¦CIOWY wczytanie pliku PO\n" -" -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" +" PLIK ... pliki wej¶ciowe .mo\n" "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest standardowe\n" "wej¶cie.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:432 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "Po³o¿enie pliku wyj¶ciowego:\n" -" -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" -"Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku wyj¶ciowego\n" -"lub plik to -.\n" +" -o, --output-file=PLIK zapisanie wyniku do podanego pliku\n" +"Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku lub " +"podany\n" +"plik to -.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Wybór komunikatów:\n" -" --translated zachowanie przet³umaczonych, usuniêcie nie\n" -" przet³umaczonych\n" -" --untranslated zachowanie nie przet³umaczonych, usuniêcie\n" -" przet³umaczonych\n" -" --no-fuzzy usuniêcie komunikatów oznaczonych 'fuzzy'\n" -" --only-fuzzy zachowanie komunikatów oznaczonych 'fuzzy'\n" -" --no-obsolete usuniêcie przestarza³ych komunikatów #~\n" -" --only-obsolete zachowanie przestarza³ych komunikatów #~\n" #: src/msgattrib.c:394 -#, fuzzy, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Manipulowanie atrybutami:\n" -" --set-fuzzy oznaczenie wszystkich komunikatów jako 'fuzzy'\n" -" --clear-fuzzy oznaczenie wszystkich komunikatów jako\n" -" nie-'fuzzy'\n" -" --set-obsolete oznaczenie wszystkich komunikatów jako\n" -" przestarza³e\n" -" --clear-obsolete oznaczenie wszystkich komunikatów jako nie\n" -" przestarza³e\n" -" --fuzzy synonim dla --only-fuzzy --clear-fuzzy\n" -" --obsolete synonim dla --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "Szczegó³y dotycz±ce wyj¶cia:\n" -" -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -" --no-location nie zapisywanie linii '#: plik:linia'\n" -" -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" +" -l, --locale=JJ_KK ustawienie docelowej lokalizacji\n" +" --no-translator uznanie, ¿e plik PO jest generowany " +"automatycznie\n" " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" +" --no-wrap nie ³amanie na wiele linii komunikatów " +"d³u¿szych\n" " ni¿ szeroko¶æ strony\n" -" -s, --sort-output generowanie posortowanego wyj¶cia\n" -" -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "podano niemo¿liwe kryteria selekcji (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:605 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Sk³adnia: %s [OPCJA] [PLIK-WEJ¦CIOWY]\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -716,116 +870,67 @@ msgstr "" "tylko z pierwszego definiuj±cego je pliku PO. Pozycje w plikach dla wszystkich\n" "plików PO zostan± zgromadzone.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:621 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego:\n" -" PLIK-WEJ¦CIOWY ... pliki wej¶ciowe\n" -" -f, --files-from=PLIK odczytanie listy plików wej¶ciowych z PLIKU\n" -" -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -"Je¶li plik wej¶ciowy to -, czytane jest standardowe wej¶cie.\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Po³o¿enie pliku wyj¶ciowego:\n" -" -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" -"Wyniki zostan± wypisane na standardowe wyj¶cie je¶li plik wej¶ciowy nie zosta³\n" -"podany lub plik to -.\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"Wybór komunikatów:\n" -" -<, --less-than=LICZBA wypisanie komunikatów z liczb± definicji\n" -" mniejsz± od LICZBY, domy¶lnie nieskoñczono¶ci\n" -" ->, --more-than=LICZBA wypisanie komunikatów z liczb± definicji\n" -" wiêksz± od LICZBY, domy¶lnie 1\n" -" -u, --unique skrót dla --less-than=2, ¿±da wypisania\n" -" wy³±cznie unikalnych komunikatów\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" -t, --to-code=NAZWA kodowanie dla wyj¶cia\n" -" --use-first u¿ycie pierwszego dostêpnego t³umaczenia dla\n" -" ka¿dego komunikatu zamiast ³±czenia wielu\n" -" -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -" --no-location nie zapisywanie linii '#: plik:linia'\n" -" -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów\n" -" d³u¿szych ni¿ szeroko¶æ strony\n" -" -s, --sort-output generowanie posortowanego wyj¶cia\n" -" -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:700 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Informacje:\n" -" -h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -" -V, --version wypisanie informacji o wersji i zakoñczenie\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "nie podano plików wej¶ciowych" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "wymagane s± dok³adnie dwa pliki wej¶ciowe" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Sk³adnia: %s [OPCJA] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -843,46 +948,46 @@ msgstr "" "dopasowaæ dok³adnie, u¿ywane jest dopasowywanie rozmyte dla lepszej\n" "diagnostyki.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego:\n" -" def.po t³umaczenia\n" -" ref.pot odniesienia do ¼róde³\n" -" -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "Modyfikatory operacji:\n" -" -m, --multi-domain zastosowanie ref.pot dla wszystkich domen def.po\n" +" -m, --multi-domain zastosowanie ref.pot dla wszystkich domen def." +"po\n" -#: src/msgcmp.c:265 src/msgmerge.c:888 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "ten komunikat jest u¿yty, ale nie zdefiniowany..." -#: src/msgcmp.c:267 src/msgmerge.c:890 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...ale ta definicja jest podobna" -#: src/msgcmp.c:272 src/msgmerge.c:917 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "ten komunikat jest u¿yty, ale nie zdefiniowany w %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "uwaga: ten komunikat nie jest u¿yty" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" @@ -890,11 +995,11 @@ msgstr[0] "znaleziono %d b msgstr[1] "znaleziono %d b³êdy krytyczne" msgstr[2] "znaleziono %d b³êdów krytycznych" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "musz± byæ podane przynajmniej dwa pliki" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -914,120 +1019,68 @@ msgstr "" "zachowane, ale tylko z pierwszego definiuj±cego je pliku PO. Pozycje w plikach\n" "dla wszystkich plików PO zostan± zgromadzone.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"Wybór komunikatów:\n" -" -<, --less-than=LICZBA wypisanie komunikatów z liczb± definicji\n" -" mniejsz± od LICZBY, domy¶lnie nieskoñczono¶ci\n" -" ->, --more-than=LICZBA wypisanie komunikatów z liczb± definicji\n" -" wiêksz± od LICZBY, domy¶lnie 1\n" -" -u, --unique skrót dla --less-than=2, ¿±da wypisania\n" -" wy³±cznie unikalnych komunikatów\n" - -#: src/msgcomm.c:363 -#, no-wrap + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -" --no-location nie zapisywanie linii '#: plik:linia'\n" -" -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów\n" -" d³u¿szych ni¿ szeroko¶æ strony\n" -" -s, --sort-output generowanie posortowanego wyj¶cia\n" -" -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -" --omit-header nie zapisywanie nag³ówka z wpisem `msgid \"\"'\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "Konwertuje katalog t³umaczeñ na inne kodowanie znaków.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "konwersja nie powiod³a siê" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Cel konwersji:\n" " -t, --to-code=NAZWA kodowanie dla wyj¶cia\n" "Domy¶lnym kodowaniem jest kodowanie dla aktualnej lokalizacji.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -" --no-location pominiêcie linii '#: plik:linia'\n" -" -n, --add-location zachowanie linii '#: plik:linia' (domy¶lne)\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" -" ni¿ szeroko¶æ strony\n" -" -s, --sort-output generowanie posortowanego wyj¶cia\n" -" -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:440 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "nie podano nazwy pliku wej¶ciowego" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "wymagany jest dok³adnie jeden plik wej¶ciowy" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Sk³adnia: %s [OPCJA] PLIK-WEJ¦CIOWY\n" -#: src/msgen.c:242 +#: src/msgen.c:252 #, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" @@ -1040,29 +1093,20 @@ msgstr "" "xgettext). Nie przet³umaczonym wpisom s± przypisywane t³umaczenia identyczne\n" "z msgid oraz oznaczane jako niepewne (fuzzy).\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego:\n" -" PLIK-WEJ¦CIOWY plik wej¶ciowy PO lub POT\n" -" -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -"Je¶li plikiem wej¶ciowym jest -, czytane jest standardowe wej¶cie.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "brakuj±ca nazwa polecenia" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Sk³adnia: %s [OPCJA] POLECENIE [OPCJA-POLECENIA]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -1077,7 +1121,7 @@ msgstr "" "Jego wyj¶cie staje siê wyj¶ciem msgexec. Kod wyj¶cia msgexec to maksimum\n" "z kodów wyj¶cia dla wszystkich wywo³añ.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -1086,49 +1130,37 @@ msgstr "" "Specjalne wbudowane polecenie o nazwie '0' wypisuje t³umaczenie zakoñczone\n" "bajtem 0. Wyj¶cie \"msgexec 0\" mo¿e byæ wej¶ciem dla \"xargs -0\".\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego:\n" -" -i, --input=PLIK-WEJ¦CIOWY plik wej¶ciowy PO\n" -" -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -"Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest standardowe\n" -"wej¶cie.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "pisanie na standardowe wyj¶cie nie powiod³o siê" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "pisanie do podprocesu %s nie powiod³o siê" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "brakuj±ca nazwa filtru" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "musi byæ podany przynajmniej jeden skrypt seda" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Sk³adnia: %s [OPCJA] FILTR [OPCJA-FILTRA]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Stosuje filtr na wszystkich t³umaczeniach z katalogu t³umaczeñ.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -1136,70 +1168,61 @@ msgstr "" "FILTR mo¿e byæ dowolnym programem czytaj±cym t³umaczenie ze standardowego\n" "wej¶cia i wypisuj±cym zmodyfikowane t³umaczenie na standardowym wyj¶ciu.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"Przydatne OPCJE-FILTRA je¶li FILTREM jest 'sed':\n" -" -e, --expresion=SKRYPT dodanie SKRYPTU do wykonywanych poleceñ\n" -" -f, --file=PLIK-SKRYPTU dodanie zawarto¶ci PLIKU-SKRYPTU do wykonywanych\n" -" poleceñ\n" -" -n, --quiet, --silent nie wypisywanie zawarto¶ci wzorca\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -" --keep-header zachowanie nag³ówka z pominiêciem filtra\n" -" --no-location pominiêcie linii '#: plik:linia'\n" -" --add-location zachowanie linii '#: plik:linia' (domy¶lne)\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" -" ni¿ szeroko¶æ strony\n" -" -s, --sort-output generowanie posortowanego wyj¶cia\n" -" -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "nie mo¿na ustawiæ nieblokuj±cego I/O dla podprocesu %s" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "komunikacja z podprocesem %s nie powiod³a siê" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "czytanie z podprocesu %s nie powiod³o siê" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "podproces %s zakoñczony z kodem wyj¶cia %d" @@ -1209,18 +1232,18 @@ msgstr "podproces %s zako msgid "the argument to %s should be a single punctuation character" msgstr "argument dla %s powinien byæ pojedynczym znakiem przestankowym" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s wymaga podania \"-d katalog\"" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s wymaga podania \"-l lokalizacja\"" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s jest prawid³owe tylko z %s" @@ -1230,7 +1253,7 @@ msgstr "%s jest prawid msgid "%s is only valid with %s or %s" msgstr "%s jest prawid³owe tylko z %s lub %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" @@ -1238,7 +1261,7 @@ msgstr[0] "%d przet msgstr[1] "%d przet³umaczone komunikaty" msgstr[2] "%d przet³umaczonych komunikatów" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" @@ -1246,7 +1269,7 @@ msgstr[0] ", %d t msgstr[1] ", %d t³umaczenia budz± w±tpliwo¶ci" msgstr[2] ", %d t³umaczeñ budzi w±tpliwo¶ci" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" @@ -1254,63 +1277,82 @@ msgstr[0] ", %d nie przet msgstr[1] ", %d nie przet³umaczone komunikaty" msgstr[2] ", %d nie przet³umaczonych komunikatów" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Sk³adnia: %s [OPCJA] nazwa-pliku.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" -msgstr "Generowanie binarnego katalogu komunikatów z tekstowego opisu t³umaczeñ.\n" +msgstr "" +"Generowanie binarnego katalogu komunikatów z tekstowego opisu t³umaczeñ.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"Argumenty obowi±zkowe dla d³ugich opcji s± obowi±zkowe tak¿e dla krótkich.\n" +"Podobnie dla argumentów opcjonalnych.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego:\n" -" nazwa-pliku.po ... pliki wej¶ciowe\n" -" -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -"Je¶li plikiem wej¶ciowym jest -, czytane jest standardowe wej¶cie.\n" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -"Tryb dzia³ania:\n" -" -j, --java tryb Javy: generowanie klas Java ResourceBundle\n" -" --java2 jak --java dla Javy 2 (JDK 1.2 i nowsze)\n" -" --tcl tryb Tcl: generowanie pliku tcl/msgcat .msg\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Po³o¿enie pliku wyj¶ciowego:\n" -" -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" -" --strict w³±czenie trybu ¶cis³ej zgodno¶ci z Uniforum\n" -"Je¶li plikiem wyj¶ciowym jest -, wynik jest kierowany na standardowe wyj¶cie.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" @@ -1319,125 +1361,147 @@ msgstr "" " -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" " -d KATALOG bazowy katalog w hierarchii katalogu klas\n" "Nazwa klasy jest okre¶lana poprzez do³±czenie nazwy lokalizacji do nazwy\n" -"zasobu, oddzielaj±c je znakiem podkre¶lenia. Opcja -d jest obowi±zkowa. Klasa\n" +"zasobu, oddzielaj±c je znakiem podkre¶lenia. Opcja -d jest obowi±zkowa. " +"Klasa\n" "jest zapisywana w podanym katalogu.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Po³o¿enie pliku wyj¶ciowego w trybie Tcl:\n" -" -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" -" -d KATALOG bazowy katalog katalogów komunikatów .msg\n" -"Opcje -l i -d s± obowi±zkowe. Plik .msg jest zapisywany w podanym katalogu.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"Interpretacja pliku wej¶ciowego:\n" -" -c, --check wykonanie wszystkich testów w³±czanych przez\n" -" --check-format, --check-header, --check-domain\n" -" --check-format sprawdzenie t³umaczeñ z ³añcuchami formatuj±cymi\n" -" --check-header sprawdzenie obecno¶ci i zawarto¶ci wpisu nag³ówka\n" -" --check-domain sprawdzenie konfliktów miêdzy dyrektywami\n" -" dotycz±cymi domeny i opcj± --output-file\n" -" -C, --check-compatibility kontrola czy GNU msgfmt dzia³a jak X/Open msgfmt\n" -" --check-accelerators[=ZNAK] sprawdzenie obecno¶ci skrótów klawiszowych\n" -" dla opcji w menu\n" -" -f, --use-fuzzy u¿ycie na wyj¶ciu niepewnych (fuzzy) wpisów\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap +msgstr "" + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Szczegó³y dotycz±ce wyj¶cia:\n" -" -a, --alignment=LICZBA wyrównanie ³añcuchów w bajtach (domy¶lnie: %d)\n" -" --no-hash tworzenie pliku binarnego bez tablicy haszuj±cej\n" +" -a, --alignment=LICZBA wyrównanie ³añcuchów w bajtach (domy¶lnie: %" +"d)\n" +" --no-hash tworzenie pliku binarnego bez tablicy " +"haszuj±cej\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Szczegó³y dotycz±ce wyj¶cia:\n" +" -a, --alignment=LICZBA wyrównanie ³añcuchów w bajtach (domy¶lnie: %" +"d)\n" +" --no-hash tworzenie pliku binarnego bez tablicy " +"haszuj±cej\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -"Informacje:\n" -" -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -" -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" -" --statistics wypisanie statystyk dotycz±cych t³umaczeñ\n" -" -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "wyra¿enie plural mo¿e zwróciæ warto¶ci ujemne" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "nplurals = %lu, ale wyra¿enie plural mo¿e zwróciæ warto¶ci do %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "wyra¿enie plural mo¿e spowodowaæ dzielenie przez zero" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "wyra¿enie plural mo¿e spowodowaæ przepe³nienie" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "wyra¿enie plural mo¿e spowodowaæ wyj±tki, mo¿liwe dzielenie przez zero" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "katalog komunikatów zawiera t³umaczenia form mnogich..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...ale wpis nag³ówka nie ma atrybutu \"plural=WYRA¯ENIE\"" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...ale wpis nag³ówka nie ma atrybutu \"nplurals=LICZBA\"" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "b³êdna warto¶æ nplurals" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "b³êdne wyra¿enie plural" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" @@ -1445,7 +1509,7 @@ msgstr[0] "...ale niekt msgstr[1] "...ale niektóre komunikaty maj± tylko %lu formy mnogie" msgstr[2] "...ale niektóre komunikaty maj± tylko %lu form mnogich" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" @@ -1453,12 +1517,12 @@ msgstr[0] "...ale niekt msgstr[1] "...ale niektóre komunikaty maj± %lu formy mnogie" msgstr[2] "...ale niektóre komunikaty maj± %lu form mnogich" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Proszê spróbowaæ tego, poprawnego dla %s:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1466,131 +1530,123 @@ msgstr "" "katalog komunikatów zawiera t³umaczenia form mnogich, ale brakuje wpisu " "nag³ówka z \"Plural-Forms: nplurals=LICZBA; plural=WYRA¯ENIE;\"" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "linie `msgid' i `msgid_plural' nie zaczynaj± siê obie od '\\n'`" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "linie `msgid' i `msgstr[%u]' nie zaczynaj± siê obie od '\\n'`" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "linie `msgid' i `msgstr' nie zaczynaj± siê obie od '\\n'`" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "linie `msgid' i `msgid_plural' nie koñcz± siê obie na '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "linie `msgid' i `msgstr[%u]' nie koñcz± siê obie na '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "linie `msgid' i `msgstr' nie koñcz± siê obie na '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "obs³uga form mnogich jest rozszerzeniem gettexta GNU" -#: src/msgfmt.c:1161 +#: src/msgfmt.c:1178 #, fuzzy, c-format msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" "'%s' nie jest poprawnym ³añcuchem formatuj±cym %s w przeciwieñstwie do " "'msgid'" -#: src/msgfmt.c:1203 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "w msgstr brakuje skrótu oznaczenia klawiszowego '%c'" -#: src/msgfmt.c:1211 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "msgstr zawiera zbyt du¿o oznaczeñ skrótów klawiszowych '%c'" -#: src/msgfmt.c:1245 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "w nag³ówku brakuje pola `%s'\n" -#: src/msgfmt.c:1249 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "pole nag³ówka `%s' powinno siê zaczynaæ na pocz±tku linii\n" -#: src/msgfmt.c:1260 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "niektóre pola nag³ówka nadal zawieraj± pocz±tkowe warto¶ci domy¶lne\n" -#: src/msgfmt.c:1272 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "pole `%s' ma nadal pocz±tkow± warto¶æ domy¶ln±\n" -#: src/msgfmt.c:1312 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "uwaga: brakuj±cy lub niepoprawny nag³ówek pliku PO\n" -#: src/msgfmt.c:1315 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "uwaga: konwersja zestawu znaków nie bêdzie dzia³aæ\n" -#: src/msgfmt.c:1325 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "uwaga: nag³ówek pliku PO jest niepewny (fuzzy)\n" -#: src/msgfmt.c:1327 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "uwaga: starsze wersje msgfmt nie zg³osz± b³êdu w tym miejscu\n" -#: src/msgfmt.c:1350 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "nazwa domeny \"%s\" nie jest odpowiedni± nazwa pliku" -#: src/msgfmt.c:1355 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "nazwa domeny \"%s\" nie jest dobra jako nazwa pliku: u¿ycie przedrostka" -#: src/msgfmt.c:1366 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "dyrektywa `domain %s' zignorowana" -#: src/msgfmt.c:1402 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "podwójna definicja komunikatu" - -#: src/msgfmt.c:1403 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...to jest po³o¿enie pierwszej definicji" - -#: src/msgfmt.c:1437 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "zignorowana pusta warto¶æ `msgstr'" -#: src/msgfmt.c:1438 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "zignorowana niepewna (fuzzy) warto¶æ `msgstr'" -#: src/msgfmt.c:1505 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: uwaga: plik ¼ród³owy zawiera t³umaczenie budz±ce w±tpliwo¶ci" -#: src/msggrep.c:392 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "opcja '%c' nie mo¿e byæ u¿ywa przed podaniem 'K' lub 'T'" -#: src/msggrep.c:413 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1599,8 +1655,8 @@ msgstr "" "Wyci±ga z katalogu t³umaczeñ wszystkie komunikaty pasuj±ce do podanego\n" "wzorca lub nale¿±ce do podanego pliku ¼ród³owego.\n" -#: src/msggrep.c:440 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1623,6 +1679,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1656,42 +1713,24 @@ msgstr "" " -f, --file=PLIK pobranie WZORCA z PLIKU\n" " -i, --ignore-case nie rozró¿nianie wielko¶ci liter\n" -#: src/msggrep.c:470 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" --indent zapisanie pliku .po w stylu z wciêciami\n" -" --no-location pominiêcie linii '#: plik:linia'\n" -" --add-location zachowanie linii '#: plik:linia' (domy¶lne)\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" -" ni¿ szeroko¶æ strony\n" -" --sort-output generowanie posortowanego wyj¶cia\n" -" --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -#: src/msggrep.c:554 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "pisanie do podprocesu grep nie powiod³o siê" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1701,7 +1740,7 @@ msgstr "" "¶rodowiskow± LANG zgodnie z opisem w pliku ABOUT-NLS. Jest to\n" "niezbêdne do testowania t³umaczeñ.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1712,12 +1751,12 @@ msgstr "" "Proszê podaæ lokalizacjê za pomoc± opcji --locale lub plik\n" "wyj¶ciowy .po za pomoc± opcji --output-file.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Utworzono %s.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1726,24 +1765,30 @@ msgstr "" "Tworzy nowy plik PO, inicjalizuj±c meta-informacje warto¶ciami ze ¶rodowiska\n" "u¿ytkownika.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "Po³o¿enie pliku wej¶ciowego\n" " -i, --input-PLIK-WEJ¦CIOWY plik wej¶ciowy POT\n" -"Je¶li nie podano pliku wej¶ciowego, plik POT jest szukany w bie¿±cym katalogu.\n" +"Je¶li nie podano pliku wej¶ciowego, plik POT jest szukany w bie¿±cym " +"katalogu.\n" "Je¶li plik to -, czytane jest standardowe wej¶cie.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" @@ -1753,24 +1798,16 @@ msgstr "" "ustawieñ lokalizacji u¿ytkownika. Je¶li plik to -, wyniki s± wypisywane na\n" "standardowym wyj¶ciu.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" -l, --locale=JJ_KK ustawienie docelowej lokalizacji\n" -" --no-translator uznanie, ¿e plik PO jest generowany automatycznie\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" -" ni¿ szeroko¶æ strony\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1778,11 +1815,11 @@ msgstr "" "Znaleziono wiêcej ni¿ jeden plik .pot.\n" "Proszê podaæ plik .pot za pomoc± opcji --input.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "b³±d podczas czytania bie¿±cego katalogu" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1790,23 +1827,23 @@ msgstr "" "Nie znaleziono pliku .pot w katalogu bie¿±cym.\n" "Proszê podaæ plik .pot za pomoc± opcji --input.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() nie powiod³o siê" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "b³±d I/O podprocesu %s" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "podproces %s nie powiód³ siê z kodem wyj¶cia %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1822,29 +1859,29 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Polskie t³umaczenia dla pakietu %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "aktualny zestaw znaków \"%s\" nie jest przeno¶n± nazw± kodowania" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "dwa ró¿ne zestawy znaków \"%s\" oraz \"%s\" w pliku wej¶ciowym" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" "plik wej¶ciowy `%s' nie zawiera wpisu nag³ówka ze specyfikacj± zestawu znaków" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1853,18 +1890,18 @@ msgstr "" "domena \"%s\" w pliku wej¶ciowym `%s' nie zawiera wpisu nag³ówka ze " "specyfikacj± zestawu znaków" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "docelowy zestaw znaków \"%s\" nie jest przeno¶n± nazw± kodowania." -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 -#: src/xgettext.c:1267 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "uwaga: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1872,7 +1909,7 @@ msgstr "" "Pliki wej¶ciowe zawieraj± komunikaty w ró¿nych kodowaniach, w tym UTF-8.\n" "Konwersja wyj¶cia do UTF-8.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1937,16 +1974,16 @@ msgstr "" "Wyj¶cie '%s' mo¿e byæ niepoprawne.\n" "Mo¿liwym obej¶ciem problemu jest ustawienie LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "konwersja nie powiod³a siê" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" "plik wej¶ciowy nie zawiera wpisu nag³ówka ze specyfikacj± zestawu znaków" -#: src/msgl-iconv.c:353 src/xgettext.c:494 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1955,7 +1992,7 @@ msgstr "" "Nie mo¿na przekonwertowaæ z \"%s\" do \"%s\". %s opiera siê na iconv(), a " "iconv() nie obs³uguje tej konwersji." -#: src/msgl-iconv.c:370 src/xgettext.c:501 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1964,11 +2001,11 @@ msgstr "" "Nie mo¿na przekonwertowaæ z \"%s\" do \"%s\". %s opiera siê na iconv(). Ta " "wersja zosta³a zbudowana bez iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "typ zapasowy" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1990,27 +2027,23 @@ msgstr "" "kropk± i pozycje w plikach bêd± zachowane. Tam, gdzie nie mo¿na dopasowaæ\n" "dok³adnie, u¿ywane jest dopasowanie rozmyte, dla lepszych wyników.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego:\n" -" def.po t³umaczenia odnosz±ce siê do starych ¼róde³\n" -" ref.pot odniesienia do nowych ¼róde³\n" -" -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania plików\n" -" -C, --compendium=PLIK dodatkowa biblioteka t³umaczeñ komunikatów,\n" -" mo¿e byæ podana wiêcej ni¿ raz\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" @@ -2018,69 +2051,72 @@ msgstr "" " -U, --update uaktualnienie def.po, nie wykonywanie\n" " niczego je¶li def.po jest ju¿ aktualny\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "Po³o¿enie pliku wyj¶ciowego w trybie uaktualniania:\n" "Wynik jest zapisywany z powrotem do def.po.\n" " --backup=KONTROLA utworzenie kopii zapasowej def.po\n" " --suffix=KOÑCÓWKA zmiana domy¶lnej koñcówki kopii zapasowej\n" -"Metoda kontroli wersji mo¿e byæ wybrana za pomoc± opcji --backup lub zmiennej\n" +"Metoda kontroli wersji mo¿e byæ wybrana za pomoc± opcji --backup lub " +"zmiennej\n" "¶rodowiskowej VERSION_CONTROL. Warto¶ci to:\n" -" none, off nie tworzenie kopii zapasowych (nawet je¶li podano --backup)\n" +" none, off nie tworzenie kopii zapasowych (nawet je¶li podano --" +"backup)\n" " numbered, t tworzenie numerowanych kopii zapasowych\n" " existing, nil numerowanie je¶li istniej± numerowane, proste je¶li nie\n" " simple, never tworzenie zawsze prostych kopii zapasowych\n" "Koñcówka kopii zapasowej to `~', o ile nie ustawiono przez --suffix lub\n" "zmienn± ¶rodowiskow± SIMPLE_BACKUP_SUFFIX.\n" -#: src/msgmerge.c:454 -#, fuzzy, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Modyfikatory operacji:\n" -" -m, --multi-domain zastosowanie ref.pot dla wszystkich domen def.po\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -"Informacje:\n" -" -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -" -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" -" -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" -" -q, --quiet, --silent pominiêcie znaczników postêpu\n" -#: src/msgmerge.c:970 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "ten komunikat powinien definiowaæ formy mnogie" -#: src/msgmerge.c:993 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "ten komunikat nie powinien definiowaæ form mnogich" -#: src/msgmerge.c:1155 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -2089,130 +2125,89 @@ msgstr "" "%sPrzeczytane %ld starych + %ld odno¶ników, %ld do³±czonych, %ld " "niedok³adnych, %ld brakuj±cych, %ld przestarza³ych.\n" -#: src/msgmerge.c:1163 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " zrobione.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s i podanie nazw plików wzajemnie siê wykluczaj±" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Sk³adnia: %s [OPCJA] [PLIK]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" -msgstr "Przekonwertowanie binarnego katalogu komunikatów na plik .po w stylu Uniforum.\n" +msgstr "" +"Przekonwertowanie binarnego katalogu komunikatów na plik .po w stylu " +"Uniforum.\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "Tryb pracy:\n" -" -j, --java tryb Javy: wej¶cie jest klas± Java ResourceBundle\n" +" -j, --java tryb Javy: wej¶cie jest klas± Java " +"ResourceBundle\n" " --tcl tryb Tcl: wej¶cie jest plikiem tcl/msgcat .msg\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego:\n" -" PLIK ... pliki wej¶ciowe .mo\n" -"Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest standardowe\n" -"wej¶cie.\n" +"Tryb pracy:\n" +" -j, --java tryb Javy: wej¶cie jest klas± Java " +"ResourceBundle\n" +" --tcl tryb Tcl: wej¶cie jest plikiem tcl/msgcat .msg\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "Po³o¿enie pliku wej¶ciowego w trybie Javy:\n" " -r, --resource=ZASÓB nazwa zasobu\n" " -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" "Nazwa klasy jest okre¶lana poprzez do³±czenie nazwy lokalizacji do nazwy\n" -"zasobu, rozdzielaj±c je znakiem podkre¶lenia. Klasa jest szukana przy u¿yciu\n" +"zasobu, rozdzielaj±c je znakiem podkre¶lenia. Klasa jest szukana przy " +"u¿yciu\n" "CLASSPATH.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"Po³o¿enie pliku wej¶ciowego w trybie Tcl:\n" -" -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" -" -d KATALOG bazowy katalog dla katalogów komunikatów .msg\n" -"Opcje -l i -d s± obowi±zkowe. Plik .msg jest szukany w podanym katalogu.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"Po³o¿enie pliku wyj¶ciowego:\n" -" -o, --output-file=PLIK zapisanie wyniku do podanego pliku\n" -"Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku lub podany\n" -"plik to -.\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów d³u¿szych\n" -" ni¿ szeroko¶æ strony\n" -" -s, --sort-output generowanie posortowanego wyj¶cia\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Informacje:\n" -" -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" -" -V, --version wypisanie informacji o wersji i zakoñczenie pracy\n" -" -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2234,18 +2229,21 @@ msgstr "" "w plikach zostan± zgromadzone. W przypadku u¿ycia opcji --unique, duplikaty\n" "zostan± usuniête.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "Wybór komunikatów:\n" " -d, --repeated wypisanie tylko duplikatów\n" " -u, --unique wypisanie tylko unikalnych, bez duplikatów\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2311,52 +2309,52 @@ msgstr "" "W nag³ówku brakuje nazwy kodowania.\n" "Przekodowanie na kodowanie u¿ytkownika nie bêdzie dzia³aæ.\n" -#: src/po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "niekonsekwentne u¿ycie #~" -#: src/po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "brak czê¶ci `msgstr[]'" -#: src/po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "brak czê¶ci `msgstr_plural'" -#: src/po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "brak czê¶ci `msgstr'" -#: src/po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "pierwsza forma mnoga ma niezerowy indeks" -#: src/po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "forma mnoga ma z³y indeks" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "za du¿o b³êdów, przerwanie wykonywania" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "b³êdna sekwencja wielobajtowa" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "niekompletna sekwencja wielobajtowa na koñcu pliku" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "niekompletna sekwencja wielobajtowa na koñcu linii" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv zawiód³" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 #: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 @@ -2364,20 +2362,20 @@ msgstr "iconv zawi msgid "error while reading \"%s\"" msgstr "b³±d podczas czytania \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "nieznane s³owo kluczowe \"%s\"" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "b³êdna sekwencja steruj±ca" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "znak koñca pliku wewn±trz ³añcucha" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "znak koñca wiersza wewn±trz ³añcucha" @@ -2402,12 +2400,24 @@ msgstr "plik \"%s\" nie jest w formacie .mo GNU" msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "plik \"%s\" zawiera ³añcuch znaków nie zakoñczony znakiem NUL pod %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "ten plik nie mo¿e zawieraæ dyrektyw domain" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "podwójna definicja komunikatu" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...to jest po³o¿enie pierwszej definicji" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "oczekiwano dwóch argumentów" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Sk³adnia: %s [OPCJA] URL PLIK\n" @@ -2443,7 +2453,7 @@ msgstr "niepoprawna nazwa klasy Javy: %s" msgid "failed to create \"%s\"" msgstr "tworzenie \"%s\" nie powiod³o siê" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2454,18 +2464,18 @@ msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" "kompilacja klasy Javy nie uda³a siê, proszê u¿yæ --verbose lub ustawiæ $JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "b³±d otwarcia \"%s\" do pisania" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "umiêdzynaradawiane komunikaty nie powinny zawieraæ sekwencji `\\%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2478,12 +2488,25 @@ msgstr "" "innego ni¿ teraz u¿ywane. Lepiej u¿ywaæ msgid wy³±cznie ze znaków ASCII.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "nie mo¿na utworzyæ pliku wyj¶ciowego \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standardowe wyj¶cie" @@ -2531,10 +2554,6 @@ msgstr "" "Kodowanie \"%s\" nie jest obs³ugiwane. %s opiera siê na iconv().\n" "Ta wersja zosta³a skompilowana bez iconv().\n" -#: src/x-po.c:85 src/xgettext.c:718 -msgid "this file may not contain domain directives" -msgstr "ten plik nie mo¿e zawieraæ dyrektyw domain" - #: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" @@ -2555,60 +2574,54 @@ msgstr "%s:%d: brakuj msgid "%s:%d: invalid string expression" msgstr "%s:%d: b³êdne wyra¿enie ³añcuchowe" -#: src/xgettext.c:427 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing nie mo¿e byæ u¿yte przy pisywaniu na standardowe wyj¶cie" -#: src/xgettext.c:432 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext nie mo¿e dzia³aæ bez podania s³ów kluczowych" -#: src/xgettext.c:559 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" "uwaga: typ pliku `%s' z rozszerzeniem `%s' jest nieznany; traktowany jako C" -#: src/xgettext.c:610 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" -msgstr "Wyci±gniêcie przet³umaczalnych ³añcuchów z podanych plików wej¶ciowych.\n" +msgstr "" +"Wyci±gniêcie przet³umaczalnych ³añcuchów z podanych plików wej¶ciowych.\n" -#: src/xgettext.c:615 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Argumenty obowi±zkowe dla d³ugich opcji s± obowi±zkowe tak¿e dla krótkich.\n" -"Podobnie dla argumentów opcjonalnych.\n" -#: src/xgettext.c:630 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Po³o¿enie pliku wyj¶ciowego:\n" -" -d, --default-domain=NAZWA u¿ycie NAZWA.po (nie messages.po) dla wyj¶cia\n" -" -o, --output=PLIK zapisanie wyniku do podanego pliku\n" -" -p, --output-dir=KATALOG umieszczenie plików wyj¶ciowych w KATALOGU\n" -"Je¶li plik wyj¶ciowy to -, wynik zostanie wypisany na standardowym wyj¶ciu.\n" -#: src/xgettext.c:639 -#, fuzzy, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "nie podano nazwy pliku wej¶ciowego" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "Wybór jêzyka pliku wej¶ciowego:\n" " -L, --language=NAZWA rozpoznawanie podanego jêzyka\n" @@ -2617,112 +2630,119 @@ msgstr "" " RST, Glade)\n" " -C, --c++ skrót dla --language=C++\n" -#: src/xgettext.c:650 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:658 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" +msgstr "" + +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy +msgid "" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "Tryb pracy:\n" -" -j, --join-existing do³±czenie komunikatów do istniej±cego pliku\n" +" -j, --join-existing do³±czenie komunikatów do istniej±cego " +"pliku\n" " -x, --exclude-file=PLIK.po pominiêcie wpisów z PLIKU.po\n" -" -c, --add-comments[=ZNACZNIK] umieszczenie bloków komentarza ze ZNACZNIKIEM\n" +" -c, --add-comments[=ZNACZNIK] umieszczenie bloków komentarza ze " +"ZNACZNIKIEM\n" " (lub poprzedzaj±cych linie ze s³owem\n" " kluczowym) w pliku wyj¶ciowym\n" -#: src/xgettext.c:667 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Opcje specyficzne dla jêzyków C/C++:\n" -" -a, --extract-all wyci±gniêcie wszystkich ³añcuchów\n" -" -k, --keyword[=S£OWO] dodatkowe s³owo kluczowe do poszukiwania\n" -" (bez S£OWA oznacza nie u¿ywanie domy¶lnych)\n" -" -T, --trigraphs przetwarzanie na wej¶ciu trójznaków ANSI C\n" -" --debug wiêcej szczegó³ów o rozpoznawaniu ³añcuchów\n" -" formatuj±cych\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" -#: src/xgettext.c:677 -#, fuzzy, no-wrap +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" msgstr "" -"Szczegó³y dotycz±ce wyj¶cia:\n" -" -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu (domy¶lne)\n" -" -E, --escape u¿ywanie sekwencji C, bez znaków rozszerzonych\n" -" --force-po zapisanie pliku PO nawet je¶li jest pusty\n" -" -i, --indent zapisanie pliku .po w stylu z wciêciami\n" -" --no-location nie zapisywanie linii '#: plik:linia'\n" -" -n, --add-location generowanie linii '#: plik:linia' (domy¶lne)\n" -" --strict zapisanie pliku .po ¶ci¶le zgodnego z Uniforum\n" -" -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" -" --no-wrap nie ³amanie na wiele linii komunikatów\n" -" d³u¿szych ni¿ szeroko¶æ strony\n" -" -s, --sort-output generowanie posortowanego wyj¶cia\n" -" -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" -" --omit-header nie zapisywanie nag³ówka z wpisem `msgid \"\"'\n" -" --copyright-holder=£AÑCUCH ustawienie na wyj¶ciu w³a¶ciciela praw\n" -" autorskich\n" -" --foreign-user pominiêcie na wyj¶ciu copyrightu FSF dla\n" -" zewnêtrznych projektów\n" -" -m, --msgstr-prefix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako przedrostka wpisów\n" -" msgstr\n" -" -M, --msgstr-suffix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako przyrostka wpisów\n" -" msgstr\n" - -#: src/xgettext.c:887 + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standardowe wej¶cie" -#: src/xgettext.c:980 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1035 +#: src/xgettext.c:1070 #, fuzzy, c-format msgid "%s%s: warning: " msgstr "%s: uwaga: " -#: src/xgettext.c:1037 +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2732,7 +2752,7 @@ msgstr "" "gettext(\"\") zwraca wpis nag³ówka z meta-informacjami,\n" "a nie pusty ³añcuch.\n" -#: src/xgettext.c:1268 +#: src/xgettext.c:1303 msgid "" "The option --msgid-bugs-address was not specified.\n" "If you are using a `Makevars' file, please specify\n" @@ -2740,11 +2760,785 @@ msgid "" "specify an --msgid-bugs-address command line option.\n" msgstr "" -#: src/xgettext.c:1438 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "nieznany jêzyk `%s'" +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego:\n" +#~ " PLIK-WEJ¦CIOWY wczytanie pliku PO\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest " +#~ "standardowe\n" +#~ "wej¶cie.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wyj¶ciowego:\n" +#~ " -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" +#~ "Wyniki s± wypisywane na standardowe wyj¶cie je¶li nie podano pliku " +#~ "wyj¶ciowego\n" +#~ "lub plik to -.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "Wybór komunikatów:\n" +#~ " --translated zachowanie przet³umaczonych, usuniêcie nie\n" +#~ " przet³umaczonych\n" +#~ " --untranslated zachowanie nie przet³umaczonych, usuniêcie\n" +#~ " przet³umaczonych\n" +#~ " --no-fuzzy usuniêcie komunikatów oznaczonych 'fuzzy'\n" +#~ " --only-fuzzy zachowanie komunikatów oznaczonych 'fuzzy'\n" +#~ " --no-obsolete usuniêcie przestarza³ych komunikatów #~\n" +#~ " --only-obsolete zachowanie przestarza³ych komunikatów #~\n" + +#, fuzzy +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "Manipulowanie atrybutami:\n" +#~ " --set-fuzzy oznaczenie wszystkich komunikatów jako " +#~ "'fuzzy'\n" +#~ " --clear-fuzzy oznaczenie wszystkich komunikatów jako\n" +#~ " nie-'fuzzy'\n" +#~ " --set-obsolete oznaczenie wszystkich komunikatów jako\n" +#~ " przestarza³e\n" +#~ " --clear-obsolete oznaczenie wszystkich komunikatów jako nie\n" +#~ " przestarza³e\n" +#~ " --fuzzy synonim dla --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonim dla --only-obsolete --clear-" +#~ "obsolete\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --no-location nie zapisywanie linii '#: plik:linia'\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" +#~ " ni¿ szeroko¶æ strony\n" +#~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego:\n" +#~ " PLIK-WEJ¦CIOWY ... pliki wej¶ciowe\n" +#~ " -f, --files-from=PLIK odczytanie listy plików wej¶ciowych z " +#~ "PLIKU\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ "Je¶li plik wej¶ciowy to -, czytane jest standardowe wej¶cie.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wyj¶ciowego:\n" +#~ " -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" +#~ "Wyniki zostan± wypisane na standardowe wyj¶cie je¶li plik wej¶ciowy nie " +#~ "zosta³\n" +#~ "podany lub plik to -.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Wybór komunikatów:\n" +#~ " -<, --less-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" +#~ " mniejsz± od LICZBY, domy¶lnie " +#~ "nieskoñczono¶ci\n" +#~ " ->, --more-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" +#~ " wiêksz± od LICZBY, domy¶lnie 1\n" +#~ " -u, --unique skrót dla --less-than=2, ¿±da wypisania\n" +#~ " wy³±cznie unikalnych komunikatów\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " -t, --to-code=NAZWA kodowanie dla wyj¶cia\n" +#~ " --use-first u¿ycie pierwszego dostêpnego t³umaczenia " +#~ "dla\n" +#~ " ka¿dego komunikatu zamiast ³±czenia " +#~ "wielu\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest " +#~ "pusty\n" +#~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --no-location nie zapisywanie linii '#: plik:linia'\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla " +#~ "wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów\n" +#~ " d³u¿szych ni¿ szeroko¶æ strony\n" +#~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia " +#~ "pliku\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Informacje:\n" +#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie\n" +#~ " -V, --version wypisanie informacji o wersji i " +#~ "zakoñczenie\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego:\n" +#~ " def.po t³umaczenia\n" +#~ " ref.pot odniesienia do ¼róde³\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Wybór komunikatów:\n" +#~ " -<, --less-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" +#~ " mniejsz± od LICZBY, domy¶lnie " +#~ "nieskoñczono¶ci\n" +#~ " ->, --more-than=LICZBA wypisanie komunikatów z liczb± " +#~ "definicji\n" +#~ " wiêksz± od LICZBY, domy¶lnie 1\n" +#~ " -u, --unique skrót dla --less-than=2, ¿±da wypisania\n" +#~ " wy³±cznie unikalnych komunikatów\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest " +#~ "pusty\n" +#~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --no-location nie zapisywanie linii '#: plik:linia'\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla " +#~ "wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów\n" +#~ " d³u¿szych ni¿ szeroko¶æ strony\n" +#~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia " +#~ "pliku\n" +#~ " --omit-header nie zapisywanie nag³ówka z wpisem `msgid " +#~ "\"\"'\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --no-location pominiêcie linii '#: plik:linia'\n" +#~ " -n, --add-location zachowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" +#~ " ni¿ szeroko¶æ strony\n" +#~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego:\n" +#~ " PLIK-WEJ¦CIOWY plik wej¶ciowy PO lub POT\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ "Je¶li plikiem wej¶ciowym jest -, czytane jest standardowe wej¶cie.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego:\n" +#~ " -i, --input=PLIK-WEJ¦CIOWY plik wej¶ciowy PO\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ "Je¶li nie podano pliku wej¶ciowego lub plik to -, czytane jest " +#~ "standardowe\n" +#~ "wej¶cie.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "Przydatne OPCJE-FILTRA je¶li FILTREM jest 'sed':\n" +#~ " -e, --expresion=SKRYPT dodanie SKRYPTU do wykonywanych poleceñ\n" +#~ " -f, --file=PLIK-SKRYPTU dodanie zawarto¶ci PLIKU-SKRYPTU do " +#~ "wykonywanych\n" +#~ " poleceñ\n" +#~ " -n, --quiet, --silent nie wypisywanie zawarto¶ci wzorca\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --keep-header zachowanie nag³ówka z pominiêciem filtra\n" +#~ " --no-location pominiêcie linii '#: plik:linia'\n" +#~ " --add-location zachowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" +#~ " ni¿ szeroko¶æ strony\n" +#~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego:\n" +#~ " nazwa-pliku.po ... pliki wej¶ciowe\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ "Je¶li plikiem wej¶ciowym jest -, czytane jest standardowe wej¶cie.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "Tryb dzia³ania:\n" +#~ " -j, --java tryb Javy: generowanie klas Java " +#~ "ResourceBundle\n" +#~ " --java2 jak --java dla Javy 2 (JDK 1.2 i nowsze)\n" +#~ " --tcl tryb Tcl: generowanie pliku tcl/msgcat ." +#~ "msg\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wyj¶ciowego:\n" +#~ " -o, --output-file=PLIK zapisanie wyj¶cia do podanego pliku\n" +#~ " --strict w³±czenie trybu ¶cis³ej zgodno¶ci z " +#~ "Uniforum\n" +#~ "Je¶li plikiem wyj¶ciowym jest -, wynik jest kierowany na standardowe " +#~ "wyj¶cie.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wyj¶ciowego w trybie Tcl:\n" +#~ " -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" +#~ " -d KATALOG bazowy katalog katalogów komunikatów .msg\n" +#~ "Opcje -l i -d s± obowi±zkowe. Plik .msg jest zapisywany w podanym " +#~ "katalogu.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "Interpretacja pliku wej¶ciowego:\n" +#~ " -c, --check wykonanie wszystkich testów w³±czanych " +#~ "przez\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format sprawdzenie t³umaczeñ z ³añcuchami " +#~ "formatuj±cymi\n" +#~ " --check-header sprawdzenie obecno¶ci i zawarto¶ci wpisu " +#~ "nag³ówka\n" +#~ " --check-domain sprawdzenie konfliktów miêdzy dyrektywami\n" +#~ " dotycz±cymi domeny i opcj± --output-file\n" +#~ " -C, --check-compatibility kontrola czy GNU msgfmt dzia³a jak X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=ZNAK] sprawdzenie obecno¶ci skrótów " +#~ "klawiszowych\n" +#~ " dla opcji w menu\n" +#~ " -f, --use-fuzzy u¿ycie na wyj¶ciu niepewnych (fuzzy) " +#~ "wpisów\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Informacje:\n" +#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie " +#~ "pracy\n" +#~ " -V, --version wypisanie informacji o wersji i zakoñczenie " +#~ "pracy\n" +#~ " --statistics wypisanie statystyk dotycz±cych t³umaczeñ\n" +#~ " -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --no-location pominiêcie linii '#: plik:linia'\n" +#~ " --add-location zachowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" +#~ " ni¿ szeroko¶æ strony\n" +#~ " --sort-output generowanie posortowanego wyj¶cia\n" +#~ " --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia pliku\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego:\n" +#~ " def.po t³umaczenia odnosz±ce siê do starych " +#~ "¼róde³\n" +#~ " ref.pot odniesienia do nowych ¼róde³\n" +#~ " -D, --directory=KATALOG dodanie KATALOGU do listy poszukiwania " +#~ "plików\n" +#~ " -C, --compendium=PLIK dodatkowa biblioteka t³umaczeñ " +#~ "komunikatów,\n" +#~ " mo¿e byæ podana wiêcej ni¿ raz\n" + +#, fuzzy +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "Modyfikatory operacji:\n" +#~ " -m, --multi-domain zastosowanie ref.pot dla wszystkich domen " +#~ "def.po\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Informacje:\n" +#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie " +#~ "pracy\n" +#~ " -V, --version wypisanie informacji o wersji i zakoñczenie " +#~ "pracy\n" +#~ " -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" +#~ " -q, --quiet, --silent pominiêcie znaczników postêpu\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wej¶ciowego w trybie Tcl:\n" +#~ " -l, --locale=LOKALIZACJA nazwa lokalizacji - jêzyk lub jêzyk_KRAJ\n" +#~ " -d KATALOG bazowy katalog dla katalogów komunikatów .msg\n" +#~ "Opcje -l i -d s± obowi±zkowe. Plik .msg jest szukany w podanym katalogu.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest pusty\n" +#~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów " +#~ "d³u¿szych\n" +#~ " ni¿ szeroko¶æ strony\n" +#~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Informacje:\n" +#~ " -h, --help wy¶wietlenie tego opisu i zakoñczenie pracy\n" +#~ " -V, --version wypisanie informacji o wersji i zakoñczenie " +#~ "pracy\n" +#~ " -v, --verbose zwiêkszenie ilo¶ci podawanych informacji\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Po³o¿enie pliku wyj¶ciowego:\n" +#~ " -d, --default-domain=NAZWA u¿ycie NAZWA.po (nie messages.po) dla " +#~ "wyj¶cia\n" +#~ " -o, --output=PLIK zapisanie wyniku do podanego pliku\n" +#~ " -p, --output-dir=KATALOG umieszczenie plików wyj¶ciowych w " +#~ "KATALOGU\n" +#~ "Je¶li plik wyj¶ciowy to -, wynik zostanie wypisany na standardowym " +#~ "wyj¶ciu.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Opcje specyficzne dla jêzyków C/C++:\n" +#~ " -a, --extract-all wyci±gniêcie wszystkich ³añcuchów\n" +#~ " -k, --keyword[=S£OWO] dodatkowe s³owo kluczowe do " +#~ "poszukiwania\n" +#~ " (bez S£OWA oznacza nie u¿ywanie " +#~ "domy¶lnych)\n" +#~ " -T, --trigraphs przetwarzanie na wej¶ciu trójznaków ANSI " +#~ "C\n" +#~ " --debug wiêcej szczegó³ów o rozpoznawaniu " +#~ "³añcuchów\n" +#~ " formatuj±cych\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Szczegó³y dotycz±ce wyj¶cia:\n" +#~ " -e, --no-escape nie u¿ywanie sekwencji C na wyj¶ciu " +#~ "(domy¶lne)\n" +#~ " -E, --escape u¿ywanie sekwencji C, bez znaków " +#~ "rozszerzonych\n" +#~ " --force-po zapisanie pliku PO nawet je¶li jest " +#~ "pusty\n" +#~ " -i, --indent zapisanie pliku .po w stylu z wciêciami\n" +#~ " --no-location nie zapisywanie linii '#: plik:linia'\n" +#~ " -n, --add-location generowanie linii '#: plik:" +#~ "linia' (domy¶lne)\n" +#~ " --strict zapisanie pliku .po ¶ci¶le zgodnego z " +#~ "Uniforum\n" +#~ " -w, --width=LICZBA ustawienie szeroko¶ci strony dla " +#~ "wyj¶cia\n" +#~ " --no-wrap nie ³amanie na wiele linii komunikatów\n" +#~ " d³u¿szych ni¿ szeroko¶æ strony\n" +#~ " -s, --sort-output generowanie posortowanego wyj¶cia\n" +#~ " -F, --sort-by-file sortowanie wyj¶cia wed³ug po³o¿enia " +#~ "pliku\n" +#~ " --omit-header nie zapisywanie nag³ówka z wpisem `msgid " +#~ "\"\"'\n" +#~ " --copyright-holder=£AÑCUCH ustawienie na wyj¶ciu w³a¶ciciela praw\n" +#~ " autorskich\n" +#~ " --foreign-user pominiêcie na wyj¶ciu copyrightu FSF " +#~ "dla\n" +#~ " zewnêtrznych projektów\n" +#~ " -m, --msgstr-prefix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako " +#~ "przedrostka wpisów\n" +#~ " msgstr\n" +#~ " -M, --msgstr-suffix[=£AÑCUCH] u¿ycie £AÑCUCHA lub \"\" jako przyrostka " +#~ "wpisów\n" +#~ " msgstr\n" + #~ msgid "missing arguments" #~ msgstr "brakuj±ce argumenty" @@ -2768,31 +3562,42 @@ msgstr "nieznany j #~ " [TEXTDOMAIN] MSGID retrieve translated message corresponding\n" #~ " to MSGID from TEXTDOMAIN\n" #~ msgstr "" -#~ " -d, --domain=DOMENA wydobycie przet³umaczonych komunikatów z DOMENY\n" -#~ " -e w³±czenie rozwijania niektórych sekwencji escape\n" +#~ " -d, --domain=DOMENA wydobycie przet³umaczonych komunikatów z " +#~ "DOMENY\n" +#~ " -e w³±czenie rozwijania niektórych sekwencji " +#~ "escape\n" #~ " -E (ignorowane, dla kompatybilno¶ci)\n" #~ " -h, --help wy¶wietlenie tego opisu i koniec pracy\n" #~ " -n wy³±czenie koñcowego znaku nowej linii\n" -#~ " -V, --version wy¶wietlenie informacji o wersji i koniec pracy\n" -#~ " [DOMENA] MSGID wydobycie z DOMENY przet³umaczonego komunikatu\n" +#~ " -V, --version wy¶wietlenie informacji o wersji i koniec " +#~ "pracy\n" +#~ " [DOMENA] MSGID wydobycie z DOMENY przet³umaczonego " +#~ "komunikatu\n" #~ " odpowiadaj±cego MSGID\n" #~ msgid "" -#~ "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" -#~ "environment variable TEXTDOMAIN. If the message catalog is not found in the\n" -#~ "regular directory, another location can be specified with the environment\n" +#~ "If the TEXTDOMAIN parameter is not given, the domain is determined from " +#~ "the\n" +#~ "environment variable TEXTDOMAIN. If the message catalog is not found in " +#~ "the\n" +#~ "regular directory, another location can be specified with the " +#~ "environment\n" #~ "variable TEXTDOMAINDIR.\n" -#~ "When used with the -s option the program behaves like the `echo' command.\n" -#~ "But it does not simply copy its arguments to stdout. Instead those messages\n" +#~ "When used with the -s option the program behaves like the `echo' " +#~ "command.\n" +#~ "But it does not simply copy its arguments to stdout. Instead those " +#~ "messages\n" #~ "found in the selected catalog are translated.\n" #~ "Standard search directory: %s\n" #~ msgstr "" #~ "Je¿eli parametr DOMENA nie jest podany, domena (nazwa pakietu) jest\n" -#~ "wyznaczana ze zmiennej ¶rodowiskowej TEXTDOMAIN. Je¿eli katalog komunikatów\n" +#~ "wyznaczana ze zmiennej ¶rodowiskowej TEXTDOMAIN. Je¿eli katalog " +#~ "komunikatów\n" #~ "nie zostanie znaleziony w domy¶lnym katalogu, inna lokalizacja mo¿e byæ\n" #~ "podana przez zmienn± ¶rodowiskow± TEXTDOMAINDIR.\n" #~ "W przypadku u¿ycia z opcj± -s, program zachowuje siê jak komenda `echo',\n" -#~ "ale zamiast kopiowaæ argumenty na standardowe wyj¶cie t³umaczy komunikaty\n" +#~ "ale zamiast kopiowaæ argumenty na standardowe wyj¶cie t³umaczy " +#~ "komunikaty\n" #~ "znalezione w wybranym katalogu.\n" #~ "Domy¶lnie przeszukiwany katalog: %s\n" @@ -2800,7 +3605,8 @@ msgstr "nieznany j #~ msgstr "Sk³adnia: %s [OPCJA] [DOMENA] MSGID MSGID-MNOGI LICZBA\n" #~ msgid "" -#~ "Display native language translation of a textual message whose grammatical\n" +#~ "Display native language translation of a textual message whose " +#~ "grammatical\n" #~ "form depends on a number.\n" #~ msgstr "" #~ "Wy¶wietlenie t³umaczenia na jêzyk lokalny komunikatu tekstowego, którego\n" @@ -2813,28 +3619,39 @@ msgstr "nieznany j #~ " -h, --help display this help and exit\n" #~ " -V, --version display version information and exit\n" #~ " [TEXTDOMAIN] retrieve translated message from TEXTDOMAIN\n" -#~ " MSGID MSGID-PLURAL translate MSGID (singular) / MSGID-PLURAL (plural)\n" -#~ " COUNT choose singular/plural form based on this value\n" +#~ " MSGID MSGID-PLURAL translate MSGID (singular) / MSGID-PLURAL " +#~ "(plural)\n" +#~ " COUNT choose singular/plural form based on this " +#~ "value\n" #~ msgstr "" -#~ " -d, --domain=DOMENA wydobycie przet³umaczonych komunikatów z DOMENY\n" -#~ " -e w³±czenie rozwijania niektórych sekwencji escape\n" +#~ " -d, --domain=DOMENA wydobycie przet³umaczonych komunikatów z " +#~ "DOMENY\n" +#~ " -e w³±czenie rozwijania niektórych sekwencji " +#~ "escape\n" #~ " -E (ignorowane, dla kompatybilno¶ci)\n" #~ " -h, --help wy¶wietlenie tego opisu i koniec pracy\n" #~ " -n wy³±czenie koñcowego znaku nowej linii\n" -#~ " -V, --version wy¶wietlenie informacji o wersji i koniec pracy\n" -#~ " [DOMENA] wydobycie z DOMENY przet³umaczonego komunikatu\n" -#~ " MSGID MSGID-MNOGI przet³umaczenie MSGID (pojed.) / MSGID-MNOGI (mn.)\n" +#~ " -V, --version wy¶wietlenie informacji o wersji i koniec " +#~ "pracy\n" +#~ " [DOMENA] wydobycie z DOMENY przet³umaczonego " +#~ "komunikatu\n" +#~ " MSGID MSGID-MNOGI przet³umaczenie MSGID (pojed.) / MSGID-MNOGI " +#~ "(mn.)\n" #~ " LICZBA wybranie formy pojed./mn. w oparciu o LICZBÊ\n" #~ msgid "" -#~ "If the TEXTDOMAIN parameter is not given, the domain is determined from the\n" -#~ "environment variable TEXTDOMAIN. If the message catalog is not found in the\n" -#~ "regular directory, another location can be specified with the environment\n" +#~ "If the TEXTDOMAIN parameter is not given, the domain is determined from " +#~ "the\n" +#~ "environment variable TEXTDOMAIN. If the message catalog is not found in " +#~ "the\n" +#~ "regular directory, another location can be specified with the " +#~ "environment\n" #~ "variable TEXTDOMAINDIR.\n" #~ "Standard search directory: %s\n" #~ msgstr "" #~ "Je¿eli parametr DOMENA nie jest podany, domena (nazwa pakietu) jest\n" -#~ "wyznaczana ze zmiennej ¶rodowiskowej TEXTDOMAIN. Je¿eli katalog komunikatów\n" +#~ "wyznaczana ze zmiennej ¶rodowiskowej TEXTDOMAIN. Je¿eli katalog " +#~ "komunikatów\n" #~ "nie zostanie znaleziony w domy¶lnym katalogu, inna lokalizacja mo¿e byæ\n" #~ "podana przez zmienn± ¶rodowiskow± TEXTDOMAINDIR.\n" #~ "Domy¶lnie przeszukiwany katalog: %s\n" diff --git a/gettext-tools/po/pt.po b/gettext-tools/po/pt.po index 0de4f79c8..9d36cd096 100644 --- a/gettext-tools/po/pt.po +++ b/gettext-tools/po/pt.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.23\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 1996-09-18 20:51 WET DST\n" "Last-Translator: Nuno Oliveira \n" "Language-Team: Portuguese \n" @@ -27,40 +28,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "erro durante a abertura de \"%s\" para leitura" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "erro durante a abertura de \"%s\" para escrita" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "erro durante a leitura de \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "erro durante a escrita do ficheiro \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "erro durante a leitura de \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Erro desconhecido do sistema" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -120,7 +122,7 @@ msgstr "%s: a op msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: a opção `--%s' não permite um argumento\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -128,121 +130,321 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 #, fuzzy msgid "memory exhausted" msgstr "memória exausta" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "impossível criar o ficheiro de saída \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "as especificações do argumento %u são diferentes" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "as especificações do argumento %u são diferentes" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "as especificações do argumento %u são diferentes" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "o número de especificações em `msgid' e `msgstr' é diferente" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "as especificações do argumento %u são diferentes" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "as especificações do argumento %u são diferentes" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "as especificações do argumento %u são diferentes" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "o número de especificações em `msgid' e `msgstr' é diferente" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "as especificações do argumento %u são diferentes" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "o número de especificações em `msgid' e `msgstr' é diferente" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "o número de especificações em `msgid' e `msgstr' é diferente" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "as especificações do argumento %u são diferentes" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "as especificações do argumento %u são diferentes" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "as especificações do argumento %u são diferentes" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -250,196 +452,365 @@ msgid "" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "demasiados argumentos" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, fuzzy, c-format msgid "Try `%s --help' for more information.\n" msgstr "Tente `%s --help' para mais informação\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" +msgstr "" + +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "são necessários exactamente 2 ficheiros" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s e %s são mutuamente exclusivas" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "nenhum ficheiro de entrada fornecido" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Utilização: %s [OPÇÃO] def.po ref.po\n" +"Utilização: %s [OPÇÃO] [FICHEIRO]...\n" "Os argumentos obrigatórios para as opções longas são igualmente\n" "obrigatórios para as opções curtas.\n" -" -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura para\n" -" os ficheiros de entrada\n" " -e, --no-escape não usa sequências de escape do C na saída\n" " (opção por defeito)\n" " -E, --escape usa sequências de escape do C na saída, não\n" " usando caracteres especiais\n" " -h, --help mostra esta ajuda e sai\n" -" -i, --indent modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" --strict modo de saída Uniforum estrito\n" -" -v, --verbose aumenta o nível de verbosidade da saída\n" +" -i, --indent usa o modo de saída alinhado\n" +" -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +"FICHEIRO\n" +" em vez do canal de saída por defeito (stdout)\n" +" --strict usa o modo de saída Uniforum estrito\n" " -V, --version mostra a informação de versão e sai\n" " -w, --width=NÚMERO especifica a largura de página na saída\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -453,97 +824,67 @@ msgid "" "File positions from all PO files will be cumulated.\n" msgstr "" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Utilização: %s [OPÇÃO] def.po ref.po\n" -"Os argumentos obrigatórios para as opções longas são igualmente\n" -"obrigatórios para as opções curtas.\n" -" -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura para\n" -" os ficheiros de entrada\n" -" -e, --no-escape não usa sequências de escape do C na saída\n" -" (opção por defeito)\n" -" -E, --escape usa sequências de escape do C na saída, não\n" -" usando caracteres especiais\n" -" -h, --help mostra esta ajuda e sai\n" -" -i, --indent modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" --strict modo de saída Uniforum estrito\n" -" -v, --verbose aumenta o nível de verbosidade da saída\n" -" -V, --version mostra a informação de versão e sai\n" -" -w, --width=NÚMERO especifica a largura de página na saída\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "ficheiros de entrada não fornecidos" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "são necessários exactamente 2 ficheiros" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -570,50 +911,52 @@ msgstr "" "é usado um emparelhamento aproximado para produzir melhores\n" "diagnósticos.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "esta mensagem é usada mas não definida..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...mas esta definição é semelhante" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "esta mensagem é usada mas não definida em %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "atenção: esta mensagem não é usada" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, fuzzy, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "encontrados %d erros fatais" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -626,144 +969,87 @@ msgid "" "cumulated.\n" msgstr "" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" -"Utilização: %s [OPÇÃO] def.po ref.po\n" -"Os argumentos obrigatórios para as opções longas são igualmente\n" -"obrigatórios para as opções curtas.\n" -" -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura para\n" -" os ficheiros de entrada\n" -" -e, --no-escape não usa sequências de escape do C na saída\n" -" (opção por defeito)\n" -" -E, --escape usa sequências de escape do C na saída, não\n" -" usando caracteres especiais\n" -" -h, --help mostra esta ajuda e sai\n" -" -i, --indent modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" --strict modo de saída Uniforum estrito\n" -" -v, --verbose aumenta o nível de verbosidade da saída\n" -" -V, --version mostra a informação de versão e sai\n" -" -w, --width=NÚMERO especifica a largura de página na saída\n" +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Utilização: %s [OPÇÃO] def.po ref.po\n" -"Os argumentos obrigatórios para as opções longas são igualmente\n" -"obrigatórios para as opções curtas.\n" -" -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura para\n" -" os ficheiros de entrada\n" -" -e, --no-escape não usa sequências de escape do C na saída\n" -" (opção por defeito)\n" -" -E, --escape usa sequências de escape do C na saída, não\n" -" usando caracteres especiais\n" -" -h, --help mostra esta ajuda e sai\n" -" -i, --indent modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" --strict modo de saída Uniforum estrito\n" -" -v, --verbose aumenta o nível de verbosidade da saída\n" -" -V, --version mostra a informação de versão e sai\n" -" -w, --width=NÚMERO especifica a largura de página na saída\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "nenhum ficheiro de entrada fornecido" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "são necessários exactamente 2 ficheiros" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "argumentos insuficientes" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -773,118 +1059,105 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "argumentos insuficientes" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Utilização: %s [OPÇÃO] def.po ref.po\n" -"Os argumentos obrigatórios para as opções longas são igualmente\n" -"obrigatórios para as opções curtas.\n" -" -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura para\n" -" os ficheiros de entrada\n" -" -e, --no-escape não usa sequências de escape do C na saída\n" -" (opção por defeito)\n" -" -E, --escape usa sequências de escape do C na saída, não\n" -" usando caracteres especiais\n" -" -h, --help mostra esta ajuda e sai\n" -" -i, --indent modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" --strict modo de saída Uniforum estrito\n" -" -v, --verbose aumenta o nível de verbosidade da saída\n" -" -V, --version mostra a informação de versão e sai\n" -" -w, --width=NÚMERO especifica a largura de página na saída\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -894,18 +1167,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -915,331 +1188,384 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, fuzzy, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d mensagens traduzidas" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, fuzzy, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d traduções aproximadas" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, fuzzy, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d mensagens não traduzidas" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "sequência de controlo ilegal" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "sequência de controlo ilegal" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "esta mensagem é usada mas não definida em %s" msgstr[1] "esta mensagem é usada mas não definida em %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "esta mensagem é usada mas não definida em %s" msgstr[1] "esta mensagem é usada mas não definida em %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "os campos `msgid' e `msgstr' não começam ambos por '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "os campos `msgid' e `msgstr' não começam ambos por '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 #, fuzzy msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "os campos `msgid' e `msgstr' não começam ambos por '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 #, fuzzy msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "os campos `msgid' e `msgstr' não terminam ambos por '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, fuzzy, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "os campos `msgid' e `msgstr' não terminam ambos por '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 #, fuzzy msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "os campos `msgid' e `msgstr' não terminam ambos por '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "o campo `%s' falta no cabeçalho" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "o campo `%s' do cabeçalho deve começar no início da linha" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "alguns campos do cabeçalho ainda têm o valor inicial por defeito" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "o campo `%s' ainda tem o valor por defeito inicial" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "CUIDADO: o ficheiro fonte contém traduções aproximadas" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "CUIDADO: o ficheiro fonte contém traduções aproximadas" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "CUIDADO: o ficheiro fonte contém traduções aproximadas" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "nome de domínio \"%s\" não apropriado como nome de ficheiro" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "nome de domínio \"%s\" não apropriado como nome de ficheiro:\n" "prefixo usado" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "directiva `domínio %s' ignorada" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "definição de mensagem duplicada" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...este é o local da primeira definição" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "elemento `msgstr' vazio ignorada" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 #, fuzzy msgid "fuzzy `msgstr' entry ignored" msgstr "elemento `msgstr' vazio ignorada" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, fuzzy, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "CUIDADO: o ficheiro fonte contém traduções aproximadas" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1263,6 +1589,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1270,52 +1597,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Utilização: %s [OPÇÃO] def.po ref.po\n" -"Os argumentos obrigatórios para as opções longas são igualmente\n" -"obrigatórios para as opções curtas.\n" -" -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura para\n" -" os ficheiros de entrada\n" -" -e, --no-escape não usa sequências de escape do C na saída\n" -" (opção por defeito)\n" -" -E, --escape usa sequências de escape do C na saída, não\n" -" usando caracteres especiais\n" -" -h, --help mostra esta ajuda e sai\n" -" -i, --indent modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" --strict modo de saída Uniforum estrito\n" -" -v, --verbose aumenta o nível de verbosidade da saída\n" -" -V, --version mostra a informação de versão e sai\n" -" -w, --width=NÚMERO especifica a largura de página na saída\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1323,80 +1629,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1408,51 +1715,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1500,33 +1808,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1553,71 +1861,79 @@ msgstr "" "resultados serão escritos no canal de saída por defeito (stdout) a\n" "menos que seja especificado um ficheiro de saída.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr "" + +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "esta mensagem é usada mas não definida em %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "esta mensagem é usada mas não definida em %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, fuzzy, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1626,109 +1942,69 @@ msgstr "" "%sLidas %d antigas + %d referências, combinadas %d, aproximadas %d, faltam %" "d, obsoletas %d.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr "terminado.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s e %s são mutuamente exclusivas" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Utilização: %s [OPÇÃO] [FICHEIRO]...\n" -"Os argumentos obrigatórios para as opções longas são igualmente\n" -"obrigatórios para as opções curtas.\n" -" -e, --no-escape não usa sequências de escape do C na saída\n" -" (opção por defeito)\n" -" -E, --escape usa sequências de escape do C na saída, não\n" -" usando caracteres especiais\n" -" -h, --help mostra esta ajuda e sai\n" -" -i, --indent usa o modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" em vez do canal de saída por defeito (stdout)\n" -" --strict usa o modo de saída Uniforum estrito\n" -" -V, --version mostra a informação de versão e sai\n" -" -w, --width=NÚMERO especifica a largura de página na saída\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1741,15 +2017,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1806,79 +2084,79 @@ msgid "" "Message conversion to user's charset will not work.\n" msgstr "CUIDADO: o ficheiro fonte contém traduções aproximadas" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 #, fuzzy msgid "missing `msgstr[]' section" msgstr "falta a secção `msgstr'" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 #, fuzzy msgid "missing `msgid_plural' section" msgstr "falta a secção `msgstr'" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "falta a secção `msgstr'" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "demasiados erros, interrompendo" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 #, fuzzy msgid "invalid multibyte sequence" msgstr "sequência de controlo ilegal" -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "sequência de controlo ilegal" -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "sequência de controlo ilegal" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "erro durante a leitura de \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "palavra chave \"%s\" desconhecida" -#: src/po-lex.c:856 +#: src/po-lex.c:817 #, fuzzy msgid "invalid control sequence" msgstr "sequência de controlo ilegal" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "fim-de-ficheiro dentro da cadeia" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "fim-de-linha dentro da cadeia" @@ -1902,13 +2180,25 @@ msgstr "o ficheiro \"%s\" n msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "o ficheiro \"%s\" não está no formato .mo GNU" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "este ficheiro não pode conter directivas de domínio" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "definição de mensagem duplicada" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...este é o local da primeira definição" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "demasiados argumentos" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -1925,8 +2215,9 @@ msgid "error writing stdout" msgstr "erro durante a escrita do ficheiro \"%s\"" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "impossível criar o ficheiro de saída \"%s\"" #: src/write-java.c:1065 #, fuzzy, c-format @@ -1943,7 +2234,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -1953,12 +2244,12 @@ msgstr "erro durante a escrita do ficheiro \"%s\"" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "erro durante a abertura de \"%s\" para escrita" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" @@ -1966,7 +2257,7 @@ msgstr "" "as mensagens de internacionalização não devem conter\n" "a sequência de escape `\\%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -1975,12 +2266,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "impossível criar o ficheiro de saída \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "canal de saída por defeito (stdout)" @@ -1991,25 +2295,25 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "o ficheiro \"%s\" não está no formato .mo GNU" #: src/x-awk.c:569 -#, c-format +#, fuzzy, c-format msgid "%s:%d: warning: unterminated regular expression" -msgstr "" +msgstr "o ficheiro \"%s\" não está no formato .mo GNU" #: src/x-c.c:906 -#, c-format +#, fuzzy, c-format msgid "%s:%d: warning: unterminated character constant" -msgstr "" +msgstr "o ficheiro \"%s\" não está no formato .mo GNU" #: src/x-c.c:930 -#, c-format +#, fuzzy, c-format msgid "%s:%d: warning: unterminated string literal" -msgstr "" +msgstr "o ficheiro \"%s\" não está no formato .mo GNU" #: src/x-glade.c:369 src/x-glade.c:376 #, c-format @@ -2023,14 +2327,10 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "este ficheiro não pode conter directivas de domínio" - -#: src/x-python.c:565 -#, c-format +#: src/x-python.c:569 +#, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" -msgstr "" +msgstr "o ficheiro \"%s\" não está no formato .mo GNU" #: src/x-rst.c:106 #, c-format @@ -2047,149 +2347,509 @@ msgstr "" msgid "%s:%d: invalid string expression" msgstr "" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing não pode ser usada quando a saída\n" "é escrita no stdout" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, fuzzy, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" "cuidado: o tipo do ficheiro `%s' com a extensão `%s' é desconhecido;\n" "será tentado C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "nenhum ficheiro de entrada fornecido" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" msgstr "" -"Utilização: %s [OPÇÃO] def.po ref.po\n" -"Os argumentos obrigatórios para as opções longas são igualmente\n" -"obrigatórios para as opções curtas.\n" -" -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura para\n" -" os ficheiros de entrada\n" -" -e, --no-escape não usa sequências de escape do C na saída\n" -" (opção por defeito)\n" -" -E, --escape usa sequências de escape do C na saída, não\n" -" usando caracteres especiais\n" -" -h, --help mostra esta ajuda e sai\n" -" -i, --indent modo de saída alinhado\n" -" -o, --output-file=FICHEIRO os resultados de saída serão escritos no FICHEIRO\n" -" --strict modo de saída Uniforum estrito\n" -" -v, --verbose aumenta o nível de verbosidade da saída\n" -" -V, --version mostra a informação de versão e sai\n" -" -w, --width=NÚMERO especifica a largura de página na saída\n" -#: src/xgettext.c:879 +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "entrada standard" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] def.po ref.po\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura " +#~ "para\n" +#~ " os ficheiros de entrada\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " --strict modo de saída Uniforum estrito\n" +#~ " -v, --verbose aumenta o nível de verbosidade da saída\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] def.po ref.po\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura " +#~ "para\n" +#~ " os ficheiros de entrada\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " --strict modo de saída Uniforum estrito\n" +#~ " -v, --verbose aumenta o nível de verbosidade da saída\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] def.po ref.po\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura " +#~ "para\n" +#~ " os ficheiros de entrada\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " --strict modo de saída Uniforum estrito\n" +#~ " -v, --verbose aumenta o nível de verbosidade da saída\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] def.po ref.po\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura " +#~ "para\n" +#~ " os ficheiros de entrada\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " --strict modo de saída Uniforum estrito\n" +#~ " -v, --verbose aumenta o nível de verbosidade da saída\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] def.po ref.po\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura " +#~ "para\n" +#~ " os ficheiros de entrada\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " --strict modo de saída Uniforum estrito\n" +#~ " -v, --verbose aumenta o nível de verbosidade da saída\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] def.po ref.po\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura " +#~ "para\n" +#~ " os ficheiros de entrada\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " --strict modo de saída Uniforum estrito\n" +#~ " -v, --verbose aumenta o nível de verbosidade da saída\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] [FICHEIRO]...\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent usa o modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " em vez do canal de saída por defeito " +#~ "(stdout)\n" +#~ " --strict usa o modo de saída Uniforum estrito\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Utilização: %s [OPÇÃO] def.po ref.po\n" +#~ "Os argumentos obrigatórios para as opções longas são igualmente\n" +#~ "obrigatórios para as opções curtas.\n" +#~ " -D, --directory=DIRECTÓRIO adiciona DIRECTÓRIO à lista de procura " +#~ "para\n" +#~ " os ficheiros de entrada\n" +#~ " -e, --no-escape não usa sequências de escape do C na saída\n" +#~ " (opção por defeito)\n" +#~ " -E, --escape usa sequências de escape do C na saída, " +#~ "não\n" +#~ " usando caracteres especiais\n" +#~ " -h, --help mostra esta ajuda e sai\n" +#~ " -i, --indent modo de saída alinhado\n" +#~ " -o, --output-file=FICHEIRO os resultados de saída serão escritos no " +#~ "FICHEIRO\n" +#~ " --strict modo de saída Uniforum estrito\n" +#~ " -v, --verbose aumenta o nível de verbosidade da saída\n" +#~ " -V, --version mostra a informação de versão e sai\n" +#~ " -w, --width=NÚMERO especifica a largura de página na saída\n" + #~ msgid "missing arguments" #~ msgstr "argumentos insuficientes" diff --git a/gettext-tools/po/pt_BR.po b/gettext-tools/po/pt_BR.po index 6287c1edb..9f16cafd8 100644 --- a/gettext-tools/po/pt_BR.po +++ b/gettext-tools/po/pt_BR.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.10.36\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2001-04-03 08:25+02:00\n" "Last-Translator: Flávio Bruno Leitner \n" "Language-Team: Brazilian Portuguese \n" @@ -30,40 +31,41 @@ msgstr "" msgid "Valid arguments are:" msgstr "" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "erro ao abrir \"%s\" para leitura" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, fuzzy, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "erro ao abrir o arquivo \"%s\" para gravação" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, fuzzy, c-format msgid "error reading \"%s\"" msgstr "erro ao ler \"%s\"" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, fuzzy, c-format msgid "error writing \"%s\"" msgstr "erro ao gravar o arquivo \"%s\"" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, fuzzy, c-format msgid "error after reading \"%s\"" msgstr "erro ao ler \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Erro de sistema desconhecido" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "" @@ -123,7 +125,7 @@ msgstr "%s: op msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opção `-W %s' não aceita parâmetros\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" @@ -131,86 +133,272 @@ msgstr "" msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "Memória insuficiente" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 #, fuzzy msgid "cannot create pipe" msgstr "não foi possível criar o arquivo de saída \"%s\"" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, fuzzy, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, fuzzy, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, fuzzy, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "" "número de especificações de formatos em `msgid' e `msgstr' não conferem" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, fuzzy, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-java.c:647 +#: src/format-java.c:730 #, fuzzy, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-java.c:672 +#: src/format-java.c:755 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, fuzzy, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "" "número de especificações de formatos em `msgid' e `msgstr' não conferem" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, fuzzy, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -218,7 +406,7 @@ msgid "" msgstr "" "número de especificações de formatos em `msgid' e `msgstr' não conferem" -#: src/format-python.c:387 +#: src/format-python.c:419 #, fuzzy, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -226,29 +414,43 @@ msgid "" msgstr "" "número de especificações de formatos em `msgid' e `msgstr' não conferem" -#: src/format-python.c:415 +#: src/format-python.c:447 #, fuzzy, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-python.c:430 +#: src/format-python.c:462 #, fuzzy, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/format-python.c:456 +#: src/format-python.c:488 #, fuzzy, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "especificações de formato para o argumento %lu são diferentes" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -259,195 +461,364 @@ msgstr "" "Este é um sofware livre; veja os fontes para condições de cópia. Não existe\n" "garantia; nem mesmo COMERCIAIS ou de ATENDIMENTO A UMA DETERMINADA FINALIDADE.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Escrito por %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "excesso de parâmetros" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Tente `%s --help' para maiores informações\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "" -#: src/hostname.c:214 -#, no-wrap -msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +#: src/hostname.c:211 +msgid "Output format:\n" msgstr "" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" +msgstr "" + +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +msgid " -V, --version output version information and exit\n" msgstr "" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 #, fuzzy msgid "Report bugs to .\n" msgstr "Reporte bugs para .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 +#, fuzzy msgid "at most one input file allowed" -msgstr "" +msgstr "são necessários 2 arquivos de entrada" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s e %s são mutuamente exclusivos" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "não foi informado o arquivo de entrada" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" msgstr "" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +msgid "If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -#: src/msgattrib.c:407 -#, fuzzy, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPÇÃO] def.po ref.po\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios\n" -"para as opções curtas\n" -" -D, --directory=DIR adiciona DIR para a lista de pesquisa de arquivos de entrada\n" +"Uso: %s [OPÇÃO] [ARQUIVO]...\n" +"Parâmetros obrigatórios para opções longas são também obrigatórios para\n" +"as opções curtas\n" " -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" +" -E, --escape usar escapes C na saída sem caracteres " +"estendidos\n" " --force-po grava o arquivo .po mesmo que vazio\n" " -h, --help apresenta esta ajuda e finaliza\n" " -i, --indent estilo de saída indentado\n" " -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --no-location suprime as linhas '#: arquivo:linha'\n" -" --add-location preserva as linhas '#: arquivo:linha' (padrão)\n" -" -S, --strict habilita o modo Uniforum estrito\n" +" --strict habilita o modo Uniforum estrito\n" " -V, --version apresenta informações de versão e finaliza\n" +" -w, --width=NÚMERO configura largura da página de saída\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "critério de seleção especificado impossível (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, fuzzy, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -477,111 +848,67 @@ msgstr "" "primeiro arquivo PO que os definirem. As posições de arquivo de todos\n" "os arquivos PO serão preservados.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -#: src/msgcat.c:340 -#, fuzzy, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -" -V, --version mostra informações de versão e sai\n" -" -w, --width=NUMBER configura a largura de página de saída\n" -" -<, --less-than=NÚMERO mostra mensagens menores que este número\n" -" o padrão é infinito\n" -" ->, --more-than=NÚMERO mostra mensagens maiores que este número\n" -" o padrão é infinito\n" -"\n" -"Descobre mensagens que são comuns a dois ou mais do arquivos PO\n" -"especificados. Usando a opção --more-than, a maior parte das\n" -"ocorrências podem ser solicitadas antes das mensagens serem impressas.\n" -"De modo contrário, a opção --less-than pode ser usada para especificar\n" -"menos ocorrências antes das mensagens serem exibidas (i.e., \n" -"--less-than=2 irá exibir apenas as mensagens exclusivas). Traduções,\n" -"comentários e comentários de extração serão preservados, mas apenas do\n" -"primeiro arquivo PO que os definirem. As posições de arquivo de todos\n" -"os arquivos PO serão preservados.\n" -#: src/msgcat.c:352 src/msguniq.c:324 -#, fuzzy, no-wrap +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Uso: %s [OPÇÃO] def.po ref.po\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios\n" -"para as opções curtas\n" -" -D, --directory=DIR adiciona DIR para a lista de pesquisa de arquivos de entrada\n" -" -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" -" --force-po grava o arquivo .po mesmo que vazio\n" -" -h, --help apresenta esta ajuda e finaliza\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --no-location suprime as linhas '#: arquivo:linha'\n" -" --add-location preserva as linhas '#: arquivo:linha' (padrão)\n" -" -S, --strict habilita o modo Uniforum estrito\n" -" -V, --version apresenta informações de versão e finaliza\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "arquivos de entrada não informados" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "são necessários 2 arquivos de entrada" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, fuzzy, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -606,51 +933,53 @@ msgstr "" "mensagens do programa foram traduzidas. Onde uma igualdade não puder ser\n" "encontrada uma aproximação é utilizada para produzir um melhor diagnóstico.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" +msgstr "" + +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" msgstr "" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:198 src/msgmerge.c:471 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "esta mensagem é utilizada, mas não foi definida..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...mas esta definição é similar" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "esta mensagem é utilizada mas não definida em %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "atenção: esta mensagem não é utilizada" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "encontrado %d erro fatal" msgstr[1] "encontrados %d erros fatais" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "pelo menos dois arquivos devem ser especificados" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, fuzzy, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -679,156 +1008,87 @@ msgstr "" "primeiro arquivo PO que os definirem. As posições de arquivo de todos\n" "os arquivos PO serão preservados.\n" -#: src/msgcomm.c:351 -#, fuzzy, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -" -V, --version mostra informações de versão e sai\n" -" -w, --width=NUMBER configura a largura de página de saída\n" -" -<, --less-than=NÚMERO mostra mensagens menores que este número\n" -" o padrão é infinito\n" -" ->, --more-than=NÚMERO mostra mensagens maiores que este número\n" -" o padrão é infinito\n" -"\n" -"Descobre mensagens que são comuns a dois ou mais do arquivos PO\n" -"especificados. Usando a opção --more-than, a maior parte das\n" -"ocorrências podem ser solicitadas antes das mensagens serem impressas.\n" -"De modo contrário, a opção --less-than pode ser usada para especificar\n" -"menos ocorrências antes das mensagens serem exibidas (i.e., \n" -"--less-than=2 irá exibir apenas as mensagens exclusivas). Traduções,\n" -"comentários e comentários de extração serão preservados, mas apenas do\n" -"primeiro arquivo PO que os definirem. As posições de arquivo de todos\n" -"os arquivos PO serão preservados.\n" -#: src/msgcomm.c:363 -#, fuzzy, no-wrap +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Uso: %s [OPÇÃO] def.po ref.po\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios\n" -"para as opções curtas\n" -" -D, --directory=DIR adiciona DIR para a lista de pesquisa de arquivos de entrada\n" -" -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" -" --force-po grava o arquivo .po mesmo que vazio\n" -" -h, --help apresenta esta ajuda e finaliza\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --no-location suprime as linhas '#: arquivo:linha'\n" -" --add-location preserva as linhas '#: arquivo:linha' (padrão)\n" -" -S, --strict habilita o modo Uniforum estrito\n" -" -V, --version apresenta informações de versão e finaliza\n" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +msgid "Conversion target:\n" msgstr "" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, fuzzy, no-wrap +#: src/msgconv.c:300 +msgid "The default encoding is the current locale's encoding.\n" +msgstr "" + +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPÇÃO] def.po ref.po\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios\n" -"para as opções curtas\n" -" -D, --directory=DIR adiciona DIR para a lista de pesquisa de arquivos de entrada\n" -" -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" -" --force-po grava o arquivo .po mesmo que vazio\n" -" -h, --help apresenta esta ajuda e finaliza\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --no-location suprime as linhas '#: arquivo:linha'\n" -" --add-location preserva as linhas '#: arquivo:linha' (padrão)\n" -" -S, --strict habilita o modo Uniforum estrito\n" -" -V, --version apresenta informações de versão e finaliza\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "não foi informado o arquivo de entrada" -#: src/msgen.c:198 +#: src/msgen.c:209 #, fuzzy msgid "exactly one input file required" msgstr "são necessários 2 arquivos de entrada" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "" -#: src/msgen.c:242 +#: src/msgen.c:252 #, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -#: src/msgexec.c:174 +#: src/msgexec.c:181 #, fuzzy msgid "missing command name" msgstr "parâmetros não informados" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -838,117 +1098,106 @@ msgid "" "across all invocations.\n" msgstr "" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" "null byte. The output of \"msgexec 0\" is suitable as input for \"xargs -0\".\n" msgstr "" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 #, fuzzy msgid "missing filter name" msgstr "parâmetros não informados" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 #, fuzzy msgid "at least one sed script must be specified" msgstr "pelo menos dois arquivos devem ser especificados" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -#: src/msgfilter.c:386 -#, fuzzy, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPÇÃO] def.po ref.po\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios\n" -"para as opções curtas\n" -" -D, --directory=DIR adiciona DIR para a lista de pesquisa de arquivos de entrada\n" -" -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" -" --force-po grava o arquivo .po mesmo que vazio\n" -" -h, --help apresenta esta ajuda e finaliza\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --no-location suprime as linhas '#: arquivo:linha'\n" -" --add-location preserva as linhas '#: arquivo:linha' (padrão)\n" -" -S, --strict habilita o modo Uniforum estrito\n" -" -V, --version apresenta informações de versão e finaliza\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "" @@ -958,18 +1207,18 @@ msgstr "" msgid "the argument to %s should be a single punctuation character" msgstr "" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "" @@ -979,335 +1228,388 @@ msgstr "" msgid "%s is only valid with %s or %s" msgstr "" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d mensagem traduzida" msgstr[1] "%d mensagens traduzidas" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d tradução aproximada (fuzzy)" msgstr[1] ", %d traduções aproximadas (fuzzy)" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d mensagem não traduzida" msgstr[1] ", %d mensagens não traduzidas" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#: src/msgfmt.c:576 -#, c-format, no-wrap +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 #, fuzzy msgid "invalid nplurals value" msgstr "seqüência de controle ilegal" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 +#, fuzzy msgid "invalid plural expression" -msgstr "" +msgstr "seqüência de controle ilegal" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "" -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, fuzzy, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "esta mensagem é utilizada mas não definida em %s" msgstr[1] "esta mensagem é utilizada mas não definida em %s" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, fuzzy, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "esta mensagem é utilizada mas não definida em %s" msgstr[1] "esta mensagem é utilizada mas não definida em %s" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" msgstr "" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "`msgid' e `msgstr' não começam com '\\n'" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "`msgid' e `msgstr[%u]' não começam com '\\n'" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "`msgid' e `msgstr' não começam com '\\n'" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "`msgid' e `msgstr' não terminam com '\\n'" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "`msgid' e `msgstr[%u]' não terminam com '\\n'" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "`msgid' e `msgstr' não terminam com '\\n'" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "" -#: src/msgfmt.c:1159 +#: src/msgfmt.c:1178 #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, fuzzy, c-format msgid "headerfield `%s' missing in header\n" msgstr "campo `%s' faltando no cabeçalho" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, fuzzy, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "campo `%s' deve iniciar no começo da linha" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 #, fuzzy msgid "some header fields still have the initial default value\n" msgstr "alguns campos do cabeçalho ainda possuem os valores iniciais padrões" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, fuzzy, c-format msgid "field `%s' still has initial default value\n" msgstr "campo `%s' ainda possui o valor inicial" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 #, fuzzy msgid "warning: PO file header missing or invalid\n" msgstr "" "%s: aviso: Cabeçalho do arquivo PO esquecido, aproximado ou inválido\n" "%*s aviso: conversão de charset não vai funcionar" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 #, fuzzy msgid "warning: charset conversion will not work\n" msgstr "" "%s: aviso: falta o cabeçalho relativo ao charset\n" "%*s aviso: conversão de charset não vai funcionar" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 #, fuzzy msgid "warning: PO file header fuzzy\n" msgstr "" "%s: aviso: Cabeçalho do arquivo PO esquecido, aproximado ou inválido\n" "%*s aviso: conversão de charset não vai funcionar" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "nome do domínio \"%s\" não é válido como nome de arquivo" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "nome do domínio \"%s\" não é válido como nome de arquivo: será usado um " "prefixo" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "`domain %s': diretiva ignorada" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "definição duplicada de mensagem" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...esta é a localização da primeira definição" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "`msgstr' vazia: mensagem ignorada" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "`msgstr' aproximada (fuzzy): mensagem ignorada" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: aviso: arquivo fonte contém traduções aproximadas" -#: src/msggrep.c:383 +#: src/msggrep.c:404 #, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "" -#: src/msggrep.c:431 +#: src/msggrep.c:450 #, no-wrap msgid "" "Message selection:\n" @@ -1331,6 +1633,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1338,50 +1641,31 @@ msgid "" " -i, --ignore-case ignore case distinctions\n" msgstr "" -#: src/msggrep.c:461 -#, fuzzy, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Uso: %s [OPÇÃO] def.po ref.po\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios\n" -"para as opções curtas\n" -" -D, --directory=DIR adiciona DIR para a lista de pesquisa de arquivos de entrada\n" -" -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" -" --force-po grava o arquivo .po mesmo que vazio\n" -" -h, --help apresenta esta ajuda e finaliza\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --no-location suprime as linhas '#: arquivo:linha'\n" -" --add-location preserva as linhas '#: arquivo:linha' (padrão)\n" -" -S, --strict habilita o modo Uniforum estrito\n" -" -V, --version apresenta informações de versão e finaliza\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" "file. This is necessary so you can test your translations.\n" msgstr "" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1389,80 +1673,81 @@ msgid "" "the output .po file through the --output-file option.\n" msgstr "" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" msgstr "" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1474,51 +1759,52 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, fuzzy, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "%s: aviso: charset \"%s\" não é suportado pelo iconv%s" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, fuzzy, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "%s: aviso: charset \"%s\" não é suportado pelo iconv%s" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1566,33 +1852,33 @@ msgid "" "A possible workaround is to set LC_ALL=C.\n" msgstr "" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " "not support this conversion." msgstr "" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " "built without iconv()." msgstr "" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, fuzzy, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1617,71 +1903,79 @@ msgstr "" "Os resultados serão gravados na saída padrão, a menos que um arquivo de\n" "saída seja especificado.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 #, fuzzy msgid "this message should define plural forms" msgstr "esta mensagem é utilizada mas não definida em %s" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 #, fuzzy msgid "this message should not define plural forms" msgstr "esta mensagem é utilizada mas não definida em %s" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1690,107 +1984,69 @@ msgstr "" "%sLido %ld antigas + %ld referência, concatenadas %ld, aproximadas %ld, " "perdidas %ld, obsoletas %ld.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " feito.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, fuzzy, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s e %s são mutuamente exclusivos" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -#: src/msgunfmt.c:374 -#, fuzzy, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Uso: %s [OPÇÃO] [ARQUIVO]...\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios para\n" -"as opções curtas\n" -" -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" -" --force-po grava o arquivo .po mesmo que vazio\n" -" -h, --help apresenta esta ajuda e finaliza\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --strict habilita o modo Uniforum estrito\n" -" -V, --version apresenta informações de versão e finaliza\n" -" -w, --width=NÚMERO configura largura da página de saída\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1803,15 +2059,17 @@ msgid "" "will be cumulated. When using the --unique option, duplicates are discarded.\n" msgstr "" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -1872,75 +2130,75 @@ msgstr "" "%s: aviso: falta o cabeçalho relativo ao charset\n" "%*s aviso: conversão de charset não vai funcionar" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "uso inconsistente de #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "seção `msgstr[]' não localizada" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "seção `msgid_plural' não localizada" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "seção `msgstr' não localizada" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "primeira forma em plural tem o índice diferente de zero" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "forma plural tem o índice errado" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "excesso de erros - finalizando" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "sequência multibyte inválido" -#: src/po-lex.c:481 +#: src/po-lex.c:480 #, fuzzy msgid "incomplete multibyte sequence at end of file" msgstr "sequência multibyte inválido" -#: src/po-lex.c:491 +#: src/po-lex.c:490 #, fuzzy msgid "incomplete multibyte sequence at end of line" msgstr "sequência multibyte inválido" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "erro ao ler \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "palavra chave \"%s\" desconhecida" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "seqüência de controle ilegal" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "fim de arquivo sem string" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "fim de linha sem string" @@ -1964,13 +2222,25 @@ msgstr "arquivo \"%s\" n msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "arquivo \"%s\" contém string não terminada em NULL" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "este arquivo parece não conter diretivas de domínio" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "definição duplicada de mensagem" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...esta é a localização da primeira definição" + +#: src/urlget.c:144 #, fuzzy msgid "expected two arguments" msgstr "excesso de parâmetros" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "" @@ -1987,8 +2257,9 @@ msgid "error writing stdout" msgstr "erro ao gravar o arquivo \"%s\"" #: src/write-java.c:1055 +#, fuzzy msgid "cannot find a temporary directory, try setting $TMPDIR" -msgstr "" +msgstr "não foi possível criar o arquivo de saída \"%s\"" #: src/write-java.c:1065 #, fuzzy, c-format @@ -2005,7 +2276,7 @@ msgstr "" msgid "failed to create \"%s\"" msgstr "" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2015,19 +2286,19 @@ msgstr "erro ao gravar o arquivo \"%s\"" msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "erro ao abrir o arquivo \"%s\" para gravação" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "mensagens internacionalizadas não devem conter o caractere de escape `\\%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2036,12 +2307,25 @@ msgid "" "%s\n" msgstr "" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "não foi possível criar o arquivo de saída \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "saída padrão" @@ -2052,7 +2336,7 @@ msgid "" "but the Tcl message catalog format doesn't support plural handling\n" msgstr "" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: aviso: string literal indeterminada" @@ -2084,11 +2368,7 @@ msgid "" "This version was built without expat.\n" msgstr "" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "este arquivo parece não conter diretivas de domínio" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: aviso: caractere constante indeterminado" @@ -2104,148 +2384,554 @@ msgid "%s:%d: missing number after #" msgstr "" #: src/x-rst.c:201 -#, c-format +#, fuzzy, c-format msgid "%s:%d: invalid string expression" -msgstr "" +msgstr "%s:%d: aviso: string literal indeterminada" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing não pode ser usado enquanto a saída é escrita na saída padrão" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext não pode funcionar sem as teclas para procurar" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "aviso: arquivo `%s' extensão `%s' é desconhecida; tentarei C" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -#: src/xgettext.c:632 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "não foi informado o arquivo de entrada" + +#: src/xgettext.c:649 msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" -#: src/xgettext.c:670 -#, fuzzy, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" msgstr "" -"Uso: %s [OPÇÃO] def.po ref.po\n" -"Parâmetros obrigatórios para opções longas são também obrigatórios\n" -"para as opções curtas\n" -" -D, --directory=DIR adiciona DIR para a lista de pesquisa de arquivos de entrada\n" -" -e, --no-escape não utilizar escapes C na saída (padrão)\n" -" -E, --escape usar escapes C na saída sem caracteres estendidos\n" -" --force-po grava o arquivo .po mesmo que vazio\n" -" -h, --help apresenta esta ajuda e finaliza\n" -" -i, --indent estilo de saída indentado\n" -" -o, --output-file=ARQ resultado será gravado em ARQ\n" -" --no-location suprime as linhas '#: arquivo:linha'\n" -" --add-location preserva as linhas '#: arquivo:linha' (padrão)\n" -" -S, --strict habilita o modo Uniforum estrito\n" -" -V, --version apresenta informações de versão e finaliza\n" -#: src/xgettext.c:879 +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "entrada padrão" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, c-format +msgid "%s%s: warning: " +msgstr "" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" "meta information, not the empty string.\n" msgstr "" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "idioma `%s' desconhecido" +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] def.po ref.po\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios\n" +#~ "para as opções curtas\n" +#~ " -D, --directory=DIR adiciona DIR para a lista de pesquisa de " +#~ "arquivos de entrada\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --no-location suprime as linhas '#: arquivo:linha'\n" +#~ " --add-location preserva as linhas '#: arquivo:" +#~ "linha' (padrão)\n" +#~ " -S, --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version mostra informações de versão e sai\n" +#~ " -w, --width=NUMBER configura a largura de página de saída\n" +#~ " -<, --less-than=NÚMERO mostra mensagens menores que este " +#~ "número\n" +#~ " o padrão é infinito\n" +#~ " ->, --more-than=NÚMERO mostra mensagens maiores que este " +#~ "número\n" +#~ " o padrão é infinito\n" +#~ "\n" +#~ "Descobre mensagens que são comuns a dois ou mais do arquivos PO\n" +#~ "especificados. Usando a opção --more-than, a maior parte das\n" +#~ "ocorrências podem ser solicitadas antes das mensagens serem impressas.\n" +#~ "De modo contrário, a opção --less-than pode ser usada para especificar\n" +#~ "menos ocorrências antes das mensagens serem exibidas (i.e., \n" +#~ "--less-than=2 irá exibir apenas as mensagens exclusivas). Traduções,\n" +#~ "comentários e comentários de extração serão preservados, mas apenas do\n" +#~ "primeiro arquivo PO que os definirem. As posições de arquivo de todos\n" +#~ "os arquivos PO serão preservados.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] def.po ref.po\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios\n" +#~ "para as opções curtas\n" +#~ " -D, --directory=DIR adiciona DIR para a lista de pesquisa de " +#~ "arquivos de entrada\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --no-location suprime as linhas '#: arquivo:linha'\n" +#~ " --add-location preserva as linhas '#: arquivo:" +#~ "linha' (padrão)\n" +#~ " -S, --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" + +#, fuzzy +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -V, --version mostra informações de versão e sai\n" +#~ " -w, --width=NUMBER configura a largura de página de saída\n" +#~ " -<, --less-than=NÚMERO mostra mensagens menores que este " +#~ "número\n" +#~ " o padrão é infinito\n" +#~ " ->, --more-than=NÚMERO mostra mensagens maiores que este " +#~ "número\n" +#~ " o padrão é infinito\n" +#~ "\n" +#~ "Descobre mensagens que são comuns a dois ou mais do arquivos PO\n" +#~ "especificados. Usando a opção --more-than, a maior parte das\n" +#~ "ocorrências podem ser solicitadas antes das mensagens serem impressas.\n" +#~ "De modo contrário, a opção --less-than pode ser usada para especificar\n" +#~ "menos ocorrências antes das mensagens serem exibidas (i.e., \n" +#~ "--less-than=2 irá exibir apenas as mensagens exclusivas). Traduções,\n" +#~ "comentários e comentários de extração serão preservados, mas apenas do\n" +#~ "primeiro arquivo PO que os definirem. As posições de arquivo de todos\n" +#~ "os arquivos PO serão preservados.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] def.po ref.po\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios\n" +#~ "para as opções curtas\n" +#~ " -D, --directory=DIR adiciona DIR para a lista de pesquisa de " +#~ "arquivos de entrada\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --no-location suprime as linhas '#: arquivo:linha'\n" +#~ " --add-location preserva as linhas '#: arquivo:" +#~ "linha' (padrão)\n" +#~ " -S, --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] def.po ref.po\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios\n" +#~ "para as opções curtas\n" +#~ " -D, --directory=DIR adiciona DIR para a lista de pesquisa de " +#~ "arquivos de entrada\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --no-location suprime as linhas '#: arquivo:linha'\n" +#~ " --add-location preserva as linhas '#: arquivo:" +#~ "linha' (padrão)\n" +#~ " -S, --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] def.po ref.po\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios\n" +#~ "para as opções curtas\n" +#~ " -D, --directory=DIR adiciona DIR para a lista de pesquisa de " +#~ "arquivos de entrada\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --no-location suprime as linhas '#: arquivo:linha'\n" +#~ " --add-location preserva as linhas '#: arquivo:" +#~ "linha' (padrão)\n" +#~ " -S, --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] def.po ref.po\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios\n" +#~ "para as opções curtas\n" +#~ " -D, --directory=DIR adiciona DIR para a lista de pesquisa de " +#~ "arquivos de entrada\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --no-location suprime as linhas '#: arquivo:linha'\n" +#~ " --add-location preserva as linhas '#: arquivo:" +#~ "linha' (padrão)\n" +#~ " -S, --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] [ARQUIVO]...\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios para\n" +#~ "as opções curtas\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" +#~ " -w, --width=NÚMERO configura largura da página de saída\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Uso: %s [OPÇÃO] def.po ref.po\n" +#~ "Parâmetros obrigatórios para opções longas são também obrigatórios\n" +#~ "para as opções curtas\n" +#~ " -D, --directory=DIR adiciona DIR para a lista de pesquisa de " +#~ "arquivos de entrada\n" +#~ " -e, --no-escape não utilizar escapes C na saída (padrão)\n" +#~ " -E, --escape usar escapes C na saída sem caracteres " +#~ "estendidos\n" +#~ " --force-po grava o arquivo .po mesmo que vazio\n" +#~ " -h, --help apresenta esta ajuda e finaliza\n" +#~ " -i, --indent estilo de saída indentado\n" +#~ " -o, --output-file=ARQ resultado será gravado em ARQ\n" +#~ " --no-location suprime as linhas '#: arquivo:linha'\n" +#~ " --add-location preserva as linhas '#: arquivo:" +#~ "linha' (padrão)\n" +#~ " -S, --strict habilita o modo Uniforum estrito\n" +#~ " -V, --version apresenta informações de versão e finaliza\n" + #~ msgid "missing arguments" #~ msgstr "parâmetros não informados" diff --git a/gettext-tools/po/ru.po b/gettext-tools/po/ru.po index 585bec42c..6c698433d 100644 --- a/gettext-tools/po/ru.po +++ b/gettext-tools/po/ru.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gettext-tools 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-02-18 19:40+0100\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-02-21 08:16+0300\n" "Last-Translator: Oleg S. Tihonov \n" "Language-Team: Russian \n" @@ -30,9 +30,9 @@ msgstr " msgid "Valid arguments are:" msgstr "äÏÐÕÓÔÉÍÙÅ ÁÒÇÕÍÅÎÔÙ:" -#: lib/copy-file.c:64 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:896 src/xgettext.c:909 -#: src/xgettext.c:919 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "ÏÛÉÂËÁ ÏÔËÒÙÔÉÑ ÆÁÊÌÁ \"%s\" ÄÌÑ ÞÔÅÎÉÑ" @@ -57,13 +57,14 @@ msgstr " msgid "error after reading \"%s\"" msgstr "ÏÛÉÂËÁ ÐÏÓÌÅ ÞÔÅÎÉÑ \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "ÄÏÞÅÒÎÉÊ ÐÒÏÃÅÓÓ %s ÚÁ×ÅÒÛÉÌÓÑ ÎÅÕÓÐÅÈÏÍ" @@ -123,7 +124,7 @@ msgstr "%s: msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" "îÅ ÎÁÊÄÅÎ ËÏÍÐÉÌÑÔÏÒ Java, ÐÏÓÔÁרÔÅ gcj ÉÌÉ ÕÓÔÁÎÏ×ÉÔÅ ÐÅÒÅÍÅÎÎÕÀ $JAVAC" @@ -134,121 +135,321 @@ msgstr "" "îÅ ÎÁÊÄÅÎÁ ×ÉÒÔÕÁÌØÎÁÑ ÍÁÛÉÎÁ Java, ÐÏÓÔÁרÔÅ gij ÉÌÉ ÕÓÔÁÎÏ×ÉÔÅ ÐÅÒÅÍÅÎÎÕÀ " "$JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "ÏÐÅÒÁÔÉ×ÎÁÑ ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "ÎÅ×ÏÚÍÏÖÎÏ ÓÏÚÄÁÔØ ËÁÎÁÌ" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "ÄÏÞÅÒÎÉÊ ÐÒÏÃÅÓÓ %s" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "ÄÏÞÅÒÎÉÊ ÐÒÏÃÅÓÓ %s ÐÏÌÕÞÉÌ ÆÁÔÁÌØÎÙÊ ÓÉÇÎÁÌ %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "× 'msgid' ÎÅÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ ÄÌÑ ÁÒÇÕÍÅÎÔÁ '%u' ËÁË × '%s'" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "ÄÌÑ ÁÒÇÕÍÅÎÔÁ %u × '%s' ÎÅÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "× `msgid' É `%s' ÎÅ ÓÏ×ÐÁÄÁÀÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ ÄÌÑ ÁÒÇÕÍÅÎÔÁ %u" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "ÎÅ ÓÏ×ÐÁÄÁÅÔ ÞÉÓÌÏ ÓÐÅÃÉÆÉËÁÃÉÊ ÆÏÒÍÁÔÁ ÐÅÞÁÔÉ × `msgid' É `%s'" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "ÄÌÑ ÁÒÇÕÍÅÎÔÁ '%u' × 'msgid' ÎÅÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ ËÁË × '%s'" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "ÄÌÑ ÁÒÇÕÍÅÎÔÁ {%u} ÎÅÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ × '%s'" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "× 'msgid' É '%s' ÎÅ ÓÏ×ÐÁÄÁÀÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ ÄÌÑ ÁÒÇÕÍÅÎÔÁ {%u}" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ × `msgid' É `%s' ÎÅ ÜË×É×ÁÌÅÎÔÎÙ" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" "ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ × '%s' ÎÅ Ñ×ÌÑÀÔÓÑ ÐÏÄÍÎÏÖÅÓÔ×ÏÍ ÓÐÅÃÉÆÉËÁÃÉÊ ÉÚ " "'msgid' " -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " "tuple" msgstr "ÓÐÅÃÉÆÉËÁÃÉÑ ÆÏÒÍÁÔÁ × 'msgid' ÏÖÉÄÁÅÔ ÏÔÏÂÒÁÖÅÎÉÅ, Á × '%s' -- ËÏÒÔÅÖ" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " "mapping" msgstr "ÓÐÅÃÉÆÉËÁÃÉÑ ÆÏÒÍÁÔÁ × 'msgid' ÏÖÉÄÁÅÔ ËÏÒÔÅÖ, Á × '%s' -- ÏÔÏÂÒÁÖÅÎÉÅ" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "× 'msgid' ÎÅÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ ÄÌÑ ÁÒÇÕÍÅÎÔÁ '%s', ËÁË × '%s'" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "ÄÌÑ ÁÒÇÕÍÅÎÔÁ '%s' ÎÅÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ × '%s'" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "× 'msgid' É '%s' ÎÅ ÓÏ×ÐÁÄÁÀÔ ÓÐÅÃÉÆÉËÁÃÉÉ ÆÏÒÍÁÔÁ ÄÌÑ ÁÒÇÕÍÅÎÔÁ %s" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:404 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -260,46 +461,51 @@ msgstr "" "× ÉÓÈÏÄÎÏÍ ÔÅËÓÔÅ. íÙ îå ÐÒÅÄÏÓÔÁ×ÌÑÅÍ ÇÁÒÁÎÔÉÊ; ÄÁÖÅ ÇÁÒÁÎÔÉÊ\n" "ëïííåòþåóëïê ãåîîïóôé ÉÌÉ ðòéçïäîïóôé äìñ ëïîëòåôîïê ãåìé.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:409 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "á×ÔÏÒ ÐÒÏÇÒÁÍÍÙ -- %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÁÒÇÕÍÅÎÔÏ×" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:600 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "ðÏÐÒÏÂÕÊÔÅ `%s --help' ÄÌÑ ÐÏÌÕÞÅÎÉÑ ÂÏÌÅÅ ÐÏÄÒÏÂÎÏÇÏ ÏÐÉÓÁÎÉÑ.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "ðÅÞÁÔÁÅÔ ÉÍÑ ÄÁÎÎÏÊ ÍÁÛÉÎÙ.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "æÏÒÍÁÔ ×Ù×ÏÄÁ:\n" " -s, --short ËÏÒÏÔËÏÅ ÉÍÑ ÍÁÛÉÎÙ\n" @@ -307,53 +513,72 @@ msgstr "" " ÄÏÍÅÎÎÏÅ ÉÍÑ É ÐÓÅ×ÄÏÎÉÍÙ\n" " -i, --ip-address ÁÄÒÅÓÁ ÄÌÑ ÚÁÄÁÎÎÏÇÏ ÉÍÅÎÉ\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" " -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" " -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:706 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "ï ÏÛÉÂËÁÈ ÓÏÏÂÝÁÊÔÅ ÐÏ ÁÄÒÅÓÕ .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "ÎÅ×ÏÚÍÏÖÎÏ ÐÏÌÕÞÉÔØ ÉÍÑ ÍÁÛÉÎÙ" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "ÐÒÉÎÉÍÁÅÔÓÑ ÎÅ ÂÏÌÅÅ ÏÄÎÏÇÏ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:419 -#: src/xgettext.c:423 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s É %s ×ÚÁÉÍÎÏ ÉÓËÌÀÞÁÀÔ ÄÒÕÇ ÄÒÕÇÁ" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] [÷èïäîïê-æáêì]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -362,127 +587,251 @@ msgstr "" "æÉÌØÔÒÕÅÔ ÓÏÏÂÝÅÎÉÑ ËÁÔÁÌÏÇÁ ÐÅÒÅ×ÏÄÏ× × ÓÏÏÔ×ÅÔÓÔ×ÉÉ Ó ÉÈ ÁÔÒÉÂÕÔÁÍÉ\n" "É ÍÁÎÉÐÕÌÉÒÕÅÔ ÜÔÉÍÉ ÁÔÒÉÂÕÔÁÍÉ.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "áÒÇÕÍÅÎÔÙ, ÏÂÑÚÁÔÅÌØÎÙÅ ÄÌÑ ÄÌÉÎÎÙÈ ËÌÀÞÅÊ, ÏÂÑÚÁÔÅÌØÎÙ É ÄÌÑ ËÏÒÏÔËÉÈ.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"áÒÇÕÍÅÎÔÙ, ÏÂÑÚÁÔÅÌØÎÙÅ ÄÌÑ ÄÌÉÎÎÙÈ ËÌÀÞÅÊ, ÏÂÑÚÁÔÅÌØÎÙ É ÄÌÑ ËÏÒÏÔËÉÈ.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "ÎÅ ÚÁÄÁÎ ×ÈÏÄÎÏÊ ÆÁÊÌ" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" ÷èïäîïê-æáêì ×ÈÏÄÎÏÊ PO-ÆÁÊÌ\n" -" -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" +" æáêì ... ×ÈÏÄÎÙÅ .mo-ÆÁÊÌÙ\n" "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ ÉÌÉ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" +" -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" "òÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ, ÅÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ\n" "ÉÌÉ ÚÁÄÁÎ ËÁË -.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"÷ÙÂÏÒ ÓÏÏÂÝÅÎÉÊ:\n" -" --translated ÓÏÈÒÁÎÉÔØ ÐÅÒÅ×ÅÄÅÎÎÙÅ, ÕÄÁÌÉÔØ ÎÅÐÅÒÅ×ÅÄÅÎÎÙÅ\n" -" --untranslated ÓÏÈÒÁÎÉÔØ ÎÅÐÅÒÅ×ÅÄÅÎÎÙÅ, ÕÄÁÌÉÔØ ÐÅÒÅ×ÅÄÅÎÎÙÅ\n" -" --no-fuzzy ÕÄÁÌÉÔØ ÓÏÏÂÝÅÎÉÑ ÐÏÍÅÞÅÎÎÙÅ ËÁË 'ÎÅÔÏÞÎÙÅ'\n" -" --only-fuzzy ÓÏÈÒÁÎÉÔØ ÓÏÏÂÝÅÎÉÑ ÐÏÍÅÞÅÎÎÙÅ ËÁË 'ÎÅÔÏÞÎÙÅ'\n" -" --no-obsolete ÕÄÁÌÉÔØ ÓÏÏÂÝÅÎÉÑ, ÐÏÍÅÞÅÎÎÙÅ ËÁË 'ÓÔÁÒÙÅ'\n" -" --only-obsolete ÓÏÈÒÁÎÉÔØ ÓÏÏÂÝÅÎÉÑ, ÐÏÍÅÞÅÎÎÙÅ 'ÓÔÁÒÙÅ'\n" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"íÁÎÉÐÕÌÑÃÉÑ ÁÔÒÉÂÕÔÁÍÉ:\n" -" --set-fuzzy ÐÏÍÅÔÉÔØ ×ÓÅ ÓÏÏÂÝÅÎÉÑ ËÁË 'ÎÅÔÏÞÎÙÅ'\n" -" --clear-fuzzy ÓÎÑÔØ ×ÓÅ ÐÏÍÅÔËÉ 'ÎÅÔÏÞÎÏÅ'\n" -" --set-obsolete ÐÏÍÅÔÉÔØ ×ÓÅ ÓÏÏÂÝÅÎÉÑ ËÁË 'ÓÔÁÒÙÅ'\n" -" --clear-obsolete ÓÎÑÔØ ×ÓÅ ÐÏÍÅÔËÉ 'ÓÔÁÒÏÅ'\n" -" --only-file=æáêì.po ÏÂÒÁÂÏÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ÐÅÒÅÞÉÓÌÅÎÎÙÅ × æáêìå.po\n" -" --ignore-file=æáêì.po ÏÂÒÁÂÏÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ÎÅ ÐÅÒÅÞÉÓÌÅÎÎÙÅ × æáêìå.po\n" -" --fuzzy ÓÉÎÏÎÉÍ ÄÌÑ --only-fuzzy --clear-fuzzy\n" -" --obsolete ÓÉÎÏÎÉÍ ÄÌÑ --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" -" ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" -" --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" -" -n, --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" +" -l, --locale=LL_CC ÚÁÄÁÅÔ ÃÅÌÅ×ÕÀ ÌÏËÁÌØ\n" +" --no-translator ÐÒÅÄÐÏÌÁÇÁÔØ, ÞÔÏ PO-ÆÁÊÌ ÓÇÅÎÅÒÉÒÏ×ÁÎ " +"Á×ÔÏÍÁÔÉÞÅÓËÉ\n" " -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -" -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" -" -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "ÚÁÄÁÎ ÎÅÄÏÐÕÓÔÉÍÙÊ ËÒÉÔÅÒÉÊ ×ÙÂÏÒÁ (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:605 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] [÷èïäîïê-æáêì]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -506,119 +855,67 @@ msgstr "" "ÂÙÌÉ ÏÐÒÅÄÅÌÅÎÙ. ëÏÍÍÅÎÔÁÒÉÉ, ÓÏÄÅÒÖÁÝÉÅ ÉÍÑ ÆÁÊÌÁ É ÎÏÍÅÒ ÓÔÒÏËÉ\n" "ÓÏÈÒÁÎÑÀÔÓÑ ÄÌÑ ×ÓÅÈ PO-ÆÁÊÌÏ×.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:621 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" ÷èïäîïê-æáêì ... ×ÈÏÄÎÙÅ ÆÁÊÌÙ\n" -" -f, --files-from=æáêì ÐÏÌÕÞÉÔØ ÓÐÉÓÏË ×ÈÏÄÎÙÈ ÆÁÊÌÏ× ÉÚ æáêìá\n" -" -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" -"åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" -"òÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ, ÅÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ\n" -"ÉÌÉ ÚÁÄÁÎ ËÁË -.\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"÷ÙÂÏÒ ÓÏÏÂÝÅÎÉÊ:\n" -" -<, --less-than=þéóìï ÐÅÞÁÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ËÏÌÉÞÅÓÔ×Ï ÏÐÒÅÄÅÌÅÎÉÊ Õ \n" -" ËÏÔÏÒÙÈ ÍÅÎØÛÅ ÚÁÄÁÎÎÏÇÏ ÞÉÓÌÁ, ÐÏ ÕÍÏÌÞÁÎÉÀ\n" -" ÂÅÓËÏÎÅÞÎÏ\n" -" ->, --more-than=þéóìï ÐÅÞÁÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ËÏÌÉÞÅÓÔ×Ï ÏÐÒÅÄÅÌÅÎÉÊ Õ \n" -" ËÏÔÏÒÙÈ ÂÏÌØÛÅ ÚÁÄÁÎÎÏÇÏ ÞÉÓÌÁ, ÐÏ ÕÍÏÌÞÁÎÉÀ 0\n" -" -u, --unique ÓÏËÒÁÝÅÎÉÅ ÄÌÑ --less-than=2, ÚÁÐÒÁÛÉ×ÁÅÔ \n" -" ÐÅÞÁÔØ ÔÏÌØËÏ ÕÎÉËÁÌØÎÙÈ ÓÏÏÂÝÅÎÉÊ\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" -t, --to-code=éíñ ×ÙÈÏÄÎÁÑ ËÏÄÉÒÏ×ËÁ\n" -" --use-first ÉÓÐÏÌØÚÏ×ÁÔØ ÐÅÒ×ÙÊ ÄÏÓÔÕÐÎÙÊ ÐÅÒÅ×ÏÄ ÄÌÑ ËÁÖÄÏÇÏ\n" -" ÓÏÏÂÝÅÎÉÑ, Á ÎÅ ÓÌÉ×ÁÔØ ÐÅÒÅ×ÏÄÙ × ÏÄÉÎ\n" -" -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" -" ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" -" --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" -" -n, --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" -" -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -" -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" -" -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:700 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" -" -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" -" -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "ÎÅ ÚÁÄÁÎÙ ×ÈÏÄÎÙÅ ÆÁÊÌÙ" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "ÎÅÏÂÈÏÄÉÍÏ ÚÁÄÁÔØ Ä×Á ×ÈÏÄÎÙÈ ÆÁÊÌÁ" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -636,46 +933,45 @@ msgstr "" "äÌÑ ÕÌÕÞÛÅÎÉÑ ÄÉÁÇÎÏÓÔÉËÉ ÉÓÐÏÌØÚÕÅÔÓÑ ÐÒÉÂÌÉÚÉÔÅÌØÎÏÅ ÓÒÁ×ÎÅÎÉÅ, ÅÓÌÉ\n" "ÎÅÌØÚÑ ÎÁÊÔÉ ÔÏÞÎÏÅ ÓÏ×ÐÁÄÅÎÉÅ.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×:\n" -" def.po ÐÅÒÅ×ÏÄÙ\n" -" ref.pot ÓÓÙÌËÉ ÎÁ ÉÓÈÏÄÎÉËÉ\n" -" -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "íÏÄÉÆÉËÁÔÏÒÙ:\n" " -m, --multi-domain ÐÒÉÍÅÎÉÔØ ref.pot ËÏ ×ÓÅÍ ÄÏÍÅÎÁÍ ÉÚ def.po\n" -#: src/msgcmp.c:265 src/msgmerge.c:881 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "ÜÔÏ ÓÏÏÂÝÅÎÉÅ ÉÓÐÏÌØÚÕÅÔÓÑ ÐÒÏÇÒÁÍÍÏÊ, ÎÏ ÎÅ ÂÙÌÏ ÏÐÒÅÄÅÌÅÎÏ..." -#: src/msgcmp.c:267 src/msgmerge.c:883 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...ÏÄÎÁËÏ ÚÄÅÓØ ÏÐÒÅÄÅÌÅÎÏ ÐÏÈÏÖÅÅ ÓÏÏÂÝÅÎÉÅ" -#: src/msgcmp.c:272 src/msgmerge.c:910 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "ÜÔÏ ÓÏÏÂÝÅÎÉÅ ÎÅ ÂÙÌÏ ÏÐÒÅÄÅÌÅÎÏ × %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÜÔÏ ÓÏÏÂÝÅÎÉÅ ÎÅ ÉÓÐÏÌØÚÕÅÔÓÑ" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" @@ -683,11 +979,11 @@ msgstr[0] " msgstr[1] "ÎÁÊÄÅÎÏ %d ËÒÉÔÉÞÅÓËÉÅ ÏÛÉÂËÉ" msgstr[2] "ÎÁÊÄÅÎÏ %d ËÒÉÔÉÞÅÓËÉÈ ÏÛÉÂÏË" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "ÎÅÏÂÈÏÄÉÍÏ ÚÁÄÁÔØ ÎÅ ÍÅÎÅÅ Ä×ÕÈ ÆÁÊÌÏ×" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -707,161 +1003,94 @@ msgstr "" "ÔÏÌØËÏ ÉÚ ÐÅÒ×ÏÇÏ PO-ÆÁÊÌÁ, × ËÏÔÏÒÏÍ ÏÎÉ ÂÙÌÉ ÏÐÒÅÄÅÌÅÎÙ. ëÏÍÍÅÎÔÁÒÉÉ,\n" "ÓÏÄÅÒÖÁÝÉÅ ÉÍÑ ÆÁÊÌÁ É ÎÏÍÅÒ ÓÔÒÏËÉ ÓÏÈÒÁÎÑÀÔÓÑ ÄÌÑ ×ÓÅÈ PO-ÆÁÊÌÏ×.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" -msgstr "" -" -<, --less-than=þéóìï ×Ù×ÅÓÔÉ ÔÅ ÓÏÏÂÝÅÎÉÑ, ÄÌÑ ËÏÔÏÒÙÈ ÞÉÓÌÏ\n" -" ÏÐÒÅÄÅÌÅÎÉÊ ÍÅÎØÛÅ ÚÁÄÁÎÏÇÏ þéóìá (ÐÏ ÕÍÏÌÞÁÎÉÀ\n" -" ÎÅ ÏÇÒÁÎÉÞÅÎÏ)\n" -" ->, --more-than=þéóìï ×Ù×ÅÓÔÉ ÔÅ ÓÏÏÂÝÅÎÉÑ, ÄÌÑ ËÏÔÏÒÙÈ ÞÉÓÌÏ\n" -" ÏÐÒÅÄÅÌÅÎÉÊ ÂÏÌØÛÅ ÚÁÄÁÎÏÇÏ þéóìá (ÐÏ ÕÍÏÌÞÁÎÉÀ\n" -" ÂÏÌØÛÅ ÏÄÎÏÇÏ)\n" -" -u, --unique ÓÏËÒÁÝÅÎÉÅ ÄÌÑ --less-than=2, ÚÁÐÒÁÛÉ×ÁÅÔ\n" -" ÐÅÞÁÔØ ÔÏÌØËÏ ÕÎÉËÁÌØÎÙÈ ÓÏÏÂÝÅÎÉÊ\n" - -#: src/msgcomm.c:363 -#, no-wrap +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" +msgstr "" + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-\n" -" ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ\n" -" ÕÍÏÌÞÁÎÉÀ)\n" -" -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ, ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" -i, --indent ÄÅÌÁÔØ ÏÔÓÔÕÐÙ × ×Ù×ÏÄÅ\n" -" --no-location ÎÅ ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line'\n" -" -n, --add-location ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line' (ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" -" -w, --width=þéóìï ÕÓÔÁÎÏ×ÉÔØ ÛÉÒÉÎÕ ÓÔÒÁÎÉÃÙ ×Ù×ÏÄÁ ÒÁ×ÎÏÊ þéóìõ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -" -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" -" -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" -" --omit-header ÎÅ ×Ù×ÏÄÉÔØ ÚÁÇÏÌÏ×ÏË Ó ÐÏÌÅÍ `msgid \"\"'\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "ðÒÅÏÂÒÁÚÕÅÔ ËÁÔÁÌÏÇ ÐÅÒÅ×ÏÄÏ× × ÄÒÕÇÕÀ ËÏÄÉÒÏ×ËÕ.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "ÐÒÅÏÂÒÁÚÏ×ÁÎÉÅ ÎÅÕÓÐÅÛÎÏ" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "ãÅÌØ ÐÒÅÏÂÒÁÚÏ×ÁÎÉÑ:\n" " -t, --to-code=éíñ ×ÙÈÏÄÎÁÑ ËÏÄÉÒÏ×ËÁ\n" "ðÏ ÕÍÏÌÞÁÎÉÀ ÉÓÐÏÌØÚÕÅÔÓÑ ËÏÄÉÒÏ×ËÁ ÔÅËÕÝÅÊ ÌÏËÁÌÉ.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -" -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-\n" -" ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ\n" -" ÕÍÏÌÞÁÎÉÀ)\n" -" -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ, ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" -i, --indent ÄÅÌÁÔØ ÏÔÓÔÕÐÙ × ×Ù×ÏÄÅ\n" -" --no-location ÎÅ ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line'\n" -" --add-location ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line' (ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" -" -w, --width=þéóìï ÕÓÔÁÎÏ×ÉÔØ ÛÉÒÉÎÕ ÓÔÒÁÎÉÃÙ ×Ù×ÏÄÁ ÒÁ×ÎÏÊ þéóìõ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -" -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" -" -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" - -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:440 +msgstr "" + +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "ÎÅ ÚÁÄÁÎ ×ÈÏÄÎÏÊ ÆÁÊÌ" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "ÎÅÏÂÈÏÄÉÍÏ ÚÁÄÁÔØ ÒÏ×ÎÏ ÏÄÉÎ ×ÈÏÄÎÏÊ ÆÁÊÌ" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] ÷èïäîïê-æáêì\n" -#: src/msgen.c:242 -#, no-wrap +#: src/msgen.c:252 +#, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "óÏÚÄÁÅÔ ËÁÔÁÌÏÇ ÁÎÇÌÉÊÓËÉÈ ÐÅÒÅ×ÏÄÏ×. ÷ÈÏÄÎÏÊ ÆÁÊÌ -- ÜÔÏ ÐÏÓÌÅÄÎÉÊ\n" "ÓÏÚÄÁÎÎÙÊ ÁÎÇÌÉÊÓËÉÊ po-ÆÁÊÌ ÉÌÉ ÛÁÂÌÏÎ po-ÆÁÊÌÁ (ÏÂÙÞÎÏ ÓÏÚÄÁ×ÁÅÍÙÊ\n" "ÐÒÏÇÒÁÍÍÏÊ xgettext). îÅÐÅÒÅ×ÅÄÅÎÎÙÍ ÓÏÏÂÝÅÎÉÑÍ ÄÁÅÔÓÑ ÐÅÒÅ×ÏÄ,\n" "ÓÏ×ÐÁÄÁÀÝÉÊ Ó msgid, É ÏÎÉ ÐÏÍÅÞÁÀÔÓÑ ËÁË ÎÅÔÏÞÎÙÅ.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" ÷èïäîïê-æáêì ×ÈÏÄÎÏÊ PO- ÉÌÉ POT-ÆÁÊÌ\n" -" -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" -"åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "ÎÅ ÚÁÄÁÎÁ ËÏÍÁÎÄÁ" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] ëïíáîäá [ëìàþ-ëïíáîäù]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -876,7 +1105,7 @@ msgstr "" "×Ù×ÏÄ ÏÔÐÒÁ×ÌÑÅÔÓÑ ÎÁ ×ÙÈÏÄ msgexec. úÎÁÞÅÎÉÅ, ×ÏÚ×ÒÁÝÁÅÍÏÅ msgexec --\n" "ÜÔÏ ÍÁËÓÉÍÁÌØÎÙÊ ËÏÄ ×ÏÚ×ÒÁÔÁ ÓÒÅÄÉ ×ÓÅÈ ×ÙÚÏ×Ï×.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -885,122 +1114,101 @@ msgstr "" "óÐÅÃÉÁÌØÎÁÑ ×ÓÔÒÏÅÎÎÁÑ ËÏÍÁÎÄÁ '0' ×Ù×ÏÄÉÔ ÐÅÒÅ×ÏÄ É ÚÁ ÎÉÍ ÎÕÌÅ×ÏÊ\n" "ÂÁÊÔ. ÷Ù×ÏÄ \"msgexec 0\" ÐÏÄÈÏÄÉÔ ÄÌÑ ÐÅÒÅÄÁÞÉ ÎÁ ×ÈÏÄ \"xargs -0\".\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -i, --input=÷èïäîïê-æáêì ×ÈÏÄÎÏÊ PO-ÆÁÊÌ\n" -" -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" -"åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ ÉÌÉ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "ÚÁÐÉÓØ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ ÎÅÕÓÐÅÛÎÁ" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "ÚÁÐÉÓØ ÄÏÞÅÒÎÅÍÕ ÐÒÏÃÅÓÓÕ %s ÎÅÕÓÐÅÛÎÁ" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "ÎÅ ÚÁÄÁÎÏ ÉÍÑ ÆÉÌØÔÒÁ" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "ÎÅÏÂÈÏÄÉÍÏ ÚÁÄÁÔØ ÈÏÔÑ ÂÙ ÏÄÉÎ ÓÃÅÎÁÒÉÊ sed" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] æéìøôò [ëìàþ-æéìøôòá]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "ðÒÉÍÅÎÑÅÔ ÆÉÌØÔÒ ËÏ ×ÓÅÍ ÐÅÒÅ×ÏÄÁÍ ËÁÔÁÌÏÇÁ.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" msgstr "" -"æÉÌØÔÒ ÍÏÖÅÔ ÂÙÔØ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÏÊ, ÞÉÔÁÀÝÅÊ ÐÅÒÅ×ÏÄ ÓÏ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ É\n" +"æÉÌØÔÒ ÍÏÖÅÔ ÂÙÔØ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÏÊ, ÞÉÔÁÀÝÅÊ ÐÅÒÅ×ÏÄ ÓÏ ÓÔÁÎÄÁÒÔÎÏÇÏ ××ÏÄÁ " +"É\n" "ÐÅÞÁÔÁÀÝÅÊ ÉÚÍÅÎÅÎÎÙÊ ÐÅÒÅ×ÏÄ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"ðÏÌÅÚÎÙÅ ëìàþé-æéìøôòá × ÓÌÕÞÁÅ, ÅÓÌÉ æéìøôòïí Ñ×ÌÑÅÔÓÑ 'sed':\n" -" -e, --expression=óãåî ÄÏÂÁ×ÉÔØ óãåî Ë ×ÙÐÏÌÎÑÅÍÙÍ ËÏÍÁÎÄÁÍ\n" -" -f, --file=æáêì-óãåî ÄÏÂÁ×ÉÔØ ÓÏÄÅÒÖÉÍÏÅ ÆÁÊÌÁ æáêì-óãåî Ë \n" -" ×ÙÐÏÌÎÑÅÍÙÍ ËÏÍÁÎÄÁÍ\n" -" -n, --quiet, --silent ×ÙËÌÀÞÉÔØ Á×ÔÏÍÁÔÉÞÅÓËÕÀ ÐÅÞÁÔØ ÏÂÒÁÚÃÁ\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" -" ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" -" --keep-header ÎÅ ÏÂÒÁÂÁÔÙ×ÁÔØ ÚÁÇÏÌÏ×ÏË\n" -" --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" -" --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" -" -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -" -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" -" -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "" "ÎÅ×ÏÚÍÏÖÎÏ ÏÒÇÁÎÉÚÏ×ÁÔØ ÎÅÂÌÏËÉÒÕÀÝÉÊ ××ÏÄ/×Ù×ÏÄ ÄÌÑ ÄÏÞÅÒÎÅÇÏ ÐÒÏÃÅÓÓÁ %s" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "ÐÏÐÙÔËÁ Ó×ÑÚÉ Ó ÄÏÞÅÒÎÉÍ ÐÒÏÃÅÓÓÏÍ %s ÎÅÕÓÐÅÛÎÁ" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "ÞÔÅÎÉÅ ÏÔ ÄÏÞÅÒÎÅÇÏ ÐÒÏÃÅÓÓÁ %s ÎÅÕÓÐÅÛÎÁ" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "ÄÏÞÅÒÎÉÊ ÐÒÏÃÅÓÓ %s ÚÁ×ÅÒÛÉÌÓÑ Ó ×ÙÈÏÄÎÙÍ ËÏÄÏÍ %d" @@ -1010,18 +1218,18 @@ msgstr " msgid "the argument to %s should be a single punctuation character" msgstr "ÁÒÇÕÍÅÎÔ %s ÄÏÌÖÅÎ ÂÙÔØ ÏÄÉÎÏÞÎÙÍ ÐÕÎËÔÕÁÃÉÏÎÎÙÍ ÚÎÁËÏÍ" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s ÔÒÅÂÕÅÔ ÕËÁÚÁÎÉÑ \"-d ËÁÔÁÌÏÇ\"" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s ÔÒÅÂÕÅÔ ÕËÁÚÁÎÉÑ \"-l ÌÏËÁÌØ\"" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s ÄÏÐÕÓÔÉÍÏ ÔÏÌØËÏ Ó %s" @@ -1031,7 +1239,7 @@ msgstr "%s msgid "%s is only valid with %s or %s" msgstr "%s ÄÏÐÕÓÔÉÍÏ ÔÏÌØËÏ Ó %s ÉÌÉ %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" @@ -1039,7 +1247,7 @@ msgstr[0] "%d msgstr[1] "%d ÐÅÒÅ×ÅÄÅÎÎÙÈ ÓÏÏÂÝÅÎÉÑ" msgstr[2] "%d ÐÅÒÅ×ÅÄÅÎÎÙÈ ÓÏÏÂÝÅÎÉÊ" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" @@ -1047,7 +1255,7 @@ msgstr[0] ", %d msgstr[1] ", %d ÎÅÔÏÞÎÙÈ ÐÅÒÅ×ÏÄÁ" msgstr[2] ", %d ÎÅÔÏÞÎÙÈ ÐÅÒÅ×ÏÄÏ×" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" @@ -1055,63 +1263,81 @@ msgstr[0] ", %d msgstr[1] ", %d ÎÅÐÅÒÅ×ÅÄÅÎÎÙÈ ÓÏÏÂÝÅÎÉÑ" msgstr[2] ", %d ÎÅÐÅÒÅ×ÅÄÅÎÎÙÈ ÓÏÏÂÝÅÎÉÊ" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] ÉÍÑ-ÆÁÊÌÁ.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "óÏÚÄÁÅÔ Ä×ÏÉÞÎÙÊ ËÁÔÁÌÏÇ ÓÏÏÂÝÅÎÉÊ ÉÚ ÔÅËÓÔÏ×ÏÇÏ ÏÐÉÓÁÎÉÑ ÐÅÒÅ×ÏÄÏ×.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"áÒÇÕÍÅÎÔÙ, ÏÂÑÚÁÔÅÌØÎÙÅ ÄÌÑ ÄÌÉÎÎÙÈ ËÌÀÞÅÊ, ÏÂÑÚÁÔÅÌØÎÙ É ÄÌÑ ËÏÒÏÔËÉÈ.\n" +"ôÏ ÖÅ É ÄÌÑ ÎÅÏÂÑÚÁÔÅÌØÎÙÈ ÁÒÇÕÍÅÎÔÏ×.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" +msgstr "" + +#: src/msgfmt.c:525 +msgid "" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" +msgstr "" + +#: src/msgfmt.c:527 +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" +msgstr "" + +#: src/msgfmt.c:541 +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" ÉÍÑ-ÆÁÊÌÁ.po ... ×ÈÏÄÎÙÅ ÆÁÊÌÙ\n" -" -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" -"åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" -#: src/msgfmt.c:525 -#, no-wrap +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" msgstr "" -"òÅÖÉÍ ÒÁÂÏÔÙ:\n" -" -j, --java ÒÅÖÉÍ Java: ÓÏÚÄÁÅÔ ËÌÁÓÓ ResourceBundle\n" -" --java2 ËÁË --java, ÎÏ ÐÒÅÄÐÏÌÁÇÁÅÔ Java2 (JDK 1.2 ÉÌÉ ×ÙÛÅ)\n" -" --tcl ÒÅÖÉÍ Tcl: ÓÏÚÄÁÅÔ .msg-ÆÁÊÌ ÄÌÑ tcl/msgcat\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:547 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" -d DIRECTORY base directory of classes directory hierarchy\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" -" --strict ×ËÌÀÞÉÔØ ÒÅÖÉÍ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ Uniforum\n" -"åÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÐÅÞÁÔÁÅÔ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ.\n" -#: src/msgfmt.c:541 -#, no-wrap +#: src/msgfmt.c:549 +#, fuzzy msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" @@ -1119,98 +1345,117 @@ msgstr "" " -r, --resource=òåóõòó ÉÍÑ ÒÅÓÕÒÓÁ\n" " -l, --locale=ìïëáìø ÉÍÑ ÌÏËÁÌÉ, ÜÔÏ ÌÉÂÏ ÑÚÙË, ÌÉÂÏ ÑÚÙË_óôòáîá\n" " -d ëáôáìïç ËÏÒÎÅ×ÏÊ ËÁÔÁÌÏÇ ÉÅÒÁÒÈÉÉ ËÁÔÁÌÏÇÏ× ËÌÁÓÓÏ×\n" -"éÍÑ ËÌÁÓÓÁ ÏÐÒÅÄÅÌÑÅÔÓÑ ÐÕÔÅÍ ÄÏÂÁ×ÌÅÎÉÑ ÉÍÅÎÉ ÌÏËÁÌÉ Ë ÉÍÅÎÉ ÒÅÓÕÒÓÁ ÐÏÓÌÅ \n" +"éÍÑ ËÌÁÓÓÁ ÏÐÒÅÄÅÌÑÅÔÓÑ ÐÕÔÅÍ ÄÏÂÁ×ÌÅÎÉÑ ÉÍÅÎÉ ÌÏËÁÌÉ Ë ÉÍÅÎÉ ÒÅÓÕÒÓÁ " +"ÐÏÓÌÅ \n" "ÚÎÁËÁ ÐÏÄÞÅÒËÉ×ÁÎÉÑ. ëÌÀÞ -d ÏÂÑÚÁÔÅÌÅÎ. ëÌÁÓÓ ÚÁÐÉÓÙ×ÁÅÔÓÑ × ÕËÁÚÁÎÎÙÊ\n" "ËÁÔÁÌÏÇ.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ × ÒÅÖÉÍÅ Tcl:\n" -" -l, --locale=ìïëáìø ÉÍÑ ÌÏËÁÌÉ, ÜÔÏ ÌÉÂÏ ÑÚÙË, ÌÉÂÏ ÑÚÙË_óôòáîá\n" -" -d ëáôáìïç ËÏÒÎÅ×ÏÊ ËÁÔÁÌÏÇ ÉÅÒÁÒÈÉÉ ËÁÔÁÌÏÇÏ× ËÌÁÓÓÏ×\n" -"ëÌÀÞÉ -l É -d ÏÂÑÚÁÔÅÌØÎÙ. .msg-ÆÁÊÌ ÚÁÐÉÓÙ×ÁÅÔÓÑ × ÕËÁÚÁÎÎÙÊ ËÁÔÁÌÏÇ.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"éÎÔÅÒÐÒÅÔÁÃÉÑ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -c, --check ÐÒÏÉÚ×ÅÓÔÉ ×ÓÅ ÐÒÏ×ÅÒËÉ, ÐÏÄÒÁÚÕÍÅ×ÁÅÍÙÅ ËÌÀÞÁÍÉ\n" -" --check-format, --check-header, --check-domain\n" -" --check-format ÐÒÏ×ÅÒÉÔØ ÚÁ×ÉÓÑÝÉÅ ÏÔ ÑÚÙËÁ ÆÏÒÍÁÔÎÙÅ ÓÔÒÏËÉ\n" -" --check-header ÐÒÏ×ÅÒÉÔØ ÎÁÌÉÞÉÅ É ÓÏÄÅÒÖÉÍÏÅ ÚÁÇÏÌÏ×ËÁ\n" -" --check-domain ÐÒÏ×ÅÒÉÔØ ÎÁ ËÏÎÆÌÉËÔÙ ÍÅÖÄÕ ÄÉÒÅËÔÉ×ÁÍÉ ÄÏÍÅÎÁ \n" -" É ËÌÀÞÏÍ --output-file\n" -" -C, --check-compatibility ÐÒÏ×ÅÒÉÔØ, ÞÔÏ GNU msgfmt ×ÅÄÅÔ ÓÅÂÑ ÔÁË ÖÅ, \n" -" ËÁË X/Open msgfmt\n" -" --check-accelerators[=úîáë] ÐÒÏ×ÅÒÉÔØ ÎÁÌÉÞÉÅ ËÌÁ×ÉÁÔÕÒÎÙÈ ÜË×É×ÁÌÅÎÔÏ× \n" -" ÄÌÑ ÐÕÎËÔÏ× ÍÅÎÀ\n" -" -f, --use-fuzzy ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ ÎÅÔÏÞÎÙÅ ÐÅÒÅ×ÏÄÙ\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap +msgstr "" + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" -a, --alignment=þéóìï ×ÙÒÁ×ÎÉ×ÁÔØ ÓÔÒÏËÉ ÐÏ þéóìõ ÂÁÊÔ (ÐÏ ÕÍÏÌÞÁÎÉÀ: %d)\n" +" -a, --alignment=þéóìï ×ÙÒÁ×ÎÉ×ÁÔØ ÓÔÒÏËÉ ÐÏ þéóìõ ÂÁÊÔ (ÐÏ " +"ÕÍÏÌÞÁÎÉÀ: %d)\n" " --no-hash Ä×ÏÉÞÎÙÊ ÆÁÊÌ ÎÅ ÂÕÄÅÔ ×ËÌÀÞÁÔØ ÈÜÛ-ÔÁÂÌÉÃÕ\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +" -a, --alignment=þéóìï ×ÙÒÁ×ÎÉ×ÁÔØ ÓÔÒÏËÉ ÐÏ þéóìõ ÂÁÊÔ (ÐÏ " +"ÕÍÏÌÞÁÎÉÀ: %d)\n" +" --no-hash Ä×ÏÉÞÎÙÊ ÆÁÊÌ ÎÅ ÂÕÄÅÔ ×ËÌÀÞÁÔØ ÈÜÛ-ÔÁÂÌÉÃÕ\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" msgstr "" -"éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" -" -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" -" -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" -" --statistics ÎÁÐÅÞÁÔÁÔØ ÓÔÁÔÉÓÔÉËÕ Ï ÐÅÒÅ×ÏÄÁÈ\n" -" -v, --verbose Õ×ÅÌÉÞÉÔØ ÐÏÄÒÏÂÎÏÓÔØ ÄÉÁÇÎÏÓÔÉÞÅÓËÉÈ ÓÏÏÂÝÅÎÉÊ\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "×ÙÒÁÖÅÎÉÅ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ ÍÏÖÅÔ ÄÁ×ÁÔØ ÏÔÒÉÃÁÔÅÌØÎÙÅ ÚÎÁÞÅÎÉÑ" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "" "nplurals = %lu, ÎÏ ×ÙÒÁÖÅÎÉÅ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ ÍÏÖÅÔ ÄÁ×ÁÔØ ÚÎÁÞÅÎÉÑ ÄÏ " "%lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "×ÙÒÁÖÅÎÉÅ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ ÍÏÖÅÔ ÄÁ×ÁÔØ ÄÅÌÅÎÉÅ ÎÁ ÎÏÌØ" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "×ÙÒÁÖÅÎÉÅ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ ÍÏÖÅÔ ÄÁÔØ ÐÅÒÅÐÏÌÎÉÅ ÃÅÌÏÇÏ" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" @@ -1218,32 +1463,32 @@ msgstr "" "×ÙÒÁÖÅÎÉÅ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ ÍÏÖÅÔ ÄÁ×ÁÔØ ÉÓËÌÀÞÉÔÅÌØÎÙÅ ÓÉÔÕÁÃÉÉ × " "ÁÒÉÆÍÅÔÉËÅ, ×ÏÚÍÏÖÎÏ, ÄÅÌÅÎÉÅ ÎÁ ÎÏÌØ" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "ËÁÔÁÌÏÇ ÓÏÏÂÝÅÎÉÊ ÓÏÄÅÒÖÉÔ ÐÅÒÅ×ÏÄÙ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...ÎÏ × ÚÁÇÏÌÏ×ËÅ ÎÅÔ ÁÔÒÉÂÕÔÁ \"plural=÷ùòáöåîéå\"" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...ÎÏ × ÚÁÇÏÌÏ×ËÅ ÎÅÔ ÁÔÒÉÂÕÔÁ \"nplurals=ãåìïå\"" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "ÎÅ×ÅÒÎÁÑ ÚÎÁÞÅÎÉÅ nplurals" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "ÎÅ×ÅÒÎÏÅ ×ÙÒÁÖÅÎÉÅ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" @@ -1253,7 +1498,7 @@ msgstr[1] "" "...ÎÏ × ÎÅËÏÔÏÒÙÈ ÓÏÏÂÝÅÎÉÑÈ ÔÏÌØËÏ %lu ÆÏÒÍÙ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ" msgstr[2] " ...ÎÏ ÎÅËÏÔÏÒÙÈ ÓÏÏÂÝÅÎÉÑÈ ÔÏÌØËÏ %lu ÆÏÒÍ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" @@ -1261,12 +1506,12 @@ msgstr[0] "... msgstr[1] "...ÎÏ × ÎÅËÏÔÏÒÙÈ ÓÏÏÂÝÅÎÉÑÈ ÅÓÔØ %lu ÆÏÒÍÙ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ" msgstr[2] " ...ÎÏ ÎÅËÏÔÏÒÙÈ ÓÏÏÂÝÅÎÉÑÈ ÅÓÔØ %lu ÆÏÒÍ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "ðÏÐÒÏÂÕÊÔÅ ÓÌÅÄÕÀÝÅÅ, ÐÏÄÈÏÄÉÔ ÄÌÑ %s:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1274,142 +1519,134 @@ msgstr "" "ËÁÔÁÌÏÇ ÓÏÏÂÝÅÎÉÊ ÓÏÄÅÒÖÉÔ ÐÅÒÅ×ÏÄÙ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ, ÎÏ × ÎÅÍ " "ÚÁÇÏÌÏ×ËÁ Ó \"Plural-Forms: nplurals=ãåìïå; plural=÷ùòáöåîéå;\"" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "" "ÏÄÎÏ ÉÚ ÐÏÌÅÊ `msgid' ÉÌÉ `msgid_plural' ÎÁÞÉÎÁÅÔÓÑ Ó '\\n', ÔÏÇÄÁ ËÁË " "ÄÒÕÇÏÅ -- ÎÅÔ" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "" "ÏÄÎÏ ÉÚ ÐÏÌÅÊ `msgid' ÉÌÉ `msgstr[%u]' ÎÁÞÉÎÁÅÔÓÑ Ó '\\n', ÔÏÇÄÁ ËÁË ÄÒÕÇÏÅ " "-- ÎÅÔ" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "" "ÏÄÎÏ ÉÚ ÐÏÌÅÊ `msgid' ÉÌÉ `msgstr' ÎÁÞÉÎÁÅÔÓÑ Ó '\\n', ÔÏÇÄÁ ËÁË ÄÒÕÇÏÅ -- " "ÎÅÔ" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "" "ÏÄÎÏ ÉÚ ÐÏÌÅÊ `msgid' ÉÌÉ `msgid_plural' ÚÁ×ÅÒÛÁÅÔÓÑ '\\n', ÔÏÇÄÁ ËÁË ÄÒÕÇÏÅ " "-- ÎÅÔ" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "" "ÏÄÎÏ ÉÚ ÐÏÌÅÊ `msgid' ÉÌÉ `msgstr[%u]' ÚÁ×ÅÒÛÁÅÔÓÑ '\\n', ÔÏÇÄÁ ËÁË ÄÒÕÇÏÅ " "-- ÎÅÔ" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "" "ÏÄÎÏ ÉÚ ÐÏÌÅÊ `msgid' ÉÌÉ `msgstr' ÚÁ×ÅÒÛÁÅÔÓÑ '\\n', ÔÏÇÄÁ ËÁË ÄÒÕÇÏÅ -- ÎÅÔ" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "ÏÂÒÁÂÏÔËÁ ÆÏÒÍ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ Ñ×ÌÑÅÔÓÑ ÒÁÓÛÉÒÅÎÉÅÍ GNU gettext" -#: src/msgfmt.c:1159 -#, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +#: src/msgfmt.c:1178 +#, fuzzy, c-format +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "'%s' ÎÅ Ñ×ÌÑÅÔÓÑ ÄÏÐÕÓÔÉÍÏÊ ÆÏÒÍÁÔÎÏÊ ÓÔÒÏËÏÊ %s × ÏÔÌÉÞÉÅ ÏÔ 'msgid'" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "× msgstr ÎÅÄÏÓÔÁÅÔ ÏÔÍÅÔËÉ ËÌÁ×ÉÁÔÕÒÎÏÇÏ ÜË×É×ÁÌÅÎÔÁ '%c'" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "× msgstr ÓÌÉÛËÏÍ ÍÎÏÇÏ ÏÔÍÅÔÏË ËÌÁ×ÉÁÔÕÒÎÙÈ ÜË×É×ÁÌÅÎÔÏ× '%c'" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "× ÚÁÇÏÌÏ×ËÅ ÐÒÏÐÕÝÅÎÏ ÐÏÌÅ `%s'\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "ÐÏÌÅ ÚÁÇÏÌÏ×ËÁ `%s' ÄÏÌÖÎÏ ÎÁÞÉÎÁÔØÓÑ Ó ÎÏ×ÏÊ ÓÔÒÏËÉ\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "" "ÎÅËÏÔÏÒÙÅ ÐÏÌÑ ÚÁÇÏÌÏ×ËÁ ×ÓÅ ÅÝÅ ÉÍÅÀÔ ÐÅÒ×ÏÎÁÞÁÌØÎÏÅ ÛÁÂÌÏÎÎÏÅ ÚÎÁÞÅÎÉÅ\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "ÐÏÌÅ ÚÁÇÏÌÏ×ËÁ `%s' ×ÓÅ ÅÝÅ ÉÍÅÅÔ ÐÅÒ×ÏÎÁÞÁÌØÎÏÅ ÛÁÂÌÏÎÎÏÅ ÚÎÁÞÅÎÉÅ\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÚÁÇÏÌÏ×ÏË PO-ÆÁÊÌÁ ÏÔÓÕÔÓÔ×ÕÅÔ ÉÌÉ ÎÅÐÒÁ×ÉÌÅÎ\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÐÒÅÏÂÒÁÚÏ×ÁÎÉÅ ËÏÄÉÒÏ×ÏË ÎÅ ÂÕÄÅÔ ÒÁÂÏÔÁÔØ\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÚÁÇÏÌÏ×ÏË PO-ÆÁÊÌÁ ÐÏÍÅÞÅÎ ËÁË ÎÅÔÏÞÎÙÊ\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÂÏÌÅÅ ÓÔÁÒÙÅ ×ÅÒÓÉÉ msgfmt ×ÙÄÁÄÕÔ ÚÄÅÓØ ÏÛÉÂËÕ\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "ÉÍÑ ÄÏÍÅÎÁ \"%s\" ÎÅ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎÏ × ËÁÞÅÓÔ×Å ÉÍÅÎÉ ÆÁÊÌÁ" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "" "ÉÍÑ ÄÏÍÅÎÁ \"%s\" ÎÅÄÏÐÕÓÔÉÍÏ × ËÁÞÅÓÔ×Å ÉÍÅÎÉ ÆÁÊÌÁ, ÂÕÄÅÔ ÉÓÐÏÌØÚÏ×ÁÎÏ\n" "ÞÁÓÔÉÞÎÏ ÕÓÅÞÅÎÎÏÅ ÉÍÑ ÄÏÍÅÎÁ" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "ÄÉÒÅËÔÉ×Á `domain %s' ÉÇÎÏÒÉÒÏ×ÁÎÁ" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÒÅÄÅÌÅÎÉÅ ÓÏÏÂÝÅÎÉÑ" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...ÍÅÓÔÏ ÐÏÑ×ÌÅÎÉÑ ÐÅÒ×ÏÇÏ ÏÐÒÅÄÅÌÅÎÉÑ" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "ÐÕÓÔÏÅ ×ÈÏÖÄÅÎÉÅ `msgstr' ÉÇÎÏÒÉÒÏ×ÁÎÏ" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "ÎÅÔÏÞÎÏÅ ×ÈÏÖÄÅÎÉÅ `msgstr' ÉÇÎÏÒÉÒÏ×ÁÎÏ" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÉÓÈÏÄÎÙÊ ÆÁÊÌ ÓÏÄÅÒÖÉÔ ÎÅÔÏÞÎÙÅ ÐÅÒÅ×ÏÄÙ" -#: src/msggrep.c:383 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "ËÌÀÞ '%c' ÎÅÌØÚÑ ÉÓÐÏÌØÚÏ×ÁÔØ ÄÏ ÔÏÇÏ, ËÁË ÚÁÄÁÎÙ 'K' ÉÌÉ 'T'" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1419,8 +1656,8 @@ msgstr "" "ÚÁÄÁÎÎÏÍÕ ÏÂÒÁÚÃÕ ÉÌÉ ÐÒÉÎÁÄÌÅÖÁÔ ÚÁÄÁÎÎÙÍ ÉÓÈÏÄÎÙÍ ÆÁÊÌÁÍ.\n" "\n" -#: src/msggrep.c:431 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1443,6 +1680,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1480,44 +1718,24 @@ msgstr "" " -f, --file=æáêì ÐÏÌÕÞÉÔØ ïâòáúåã ÉÚ æáêìá\n" " -i, --ignore-case ÉÇÎÏÒÉÒÏ×ÁÔØ ÒÅÇÉÓÔÒ ÂÕË×\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" -" ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" -" --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" -" --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" -" -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -" --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" -" --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "ÚÁÐÉÓØ ÄÏÞÅÒÎÅÍÕ ÐÒÏÃÅÓÓÕ grep ÎÅÕÓÐÅÛÎÁ" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1527,7 +1745,7 @@ msgstr "" "ÕÓÔÁÎÏ×ÉÔÅ ÐÅÒÅÍÅÎÎÕÀ ÓÒÅÄÙ LANG ËÁË ÏÐÉÓÁÎÏ × ÆÁÊÌÅ ABOUT-NLS. üÔÏ\n" "ÎÅÏÂÈÏÄÉÍÏ, ÞÔÏÂÙ ×Ù ÍÏÇÌÉ ÐÒÏ×ÅÒÉÔØ Ó×ÏÉ ÐÅÒÅ×ÏÄÙ.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1538,12 +1756,12 @@ msgstr "" "ðÏÖÁÊÌÕÊÓÔÁ, ÕËÁÖÉÔÅ ÌÏËÁÌØ Ó ÐÏÍÏÝØÀ ËÌÀÞÁ --locale ÉÌÉ ×ÙÈÏÄÎÏÊ\n" "po-ÆÁÊÌ Ó ÐÏÍÏÝØÀ ËÌÀÞÁ --output-file.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "óÏÚÄÁÎÏ %s.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1552,12 +1770,15 @@ msgstr "" "óÏÚÄÁÅÔ ÎÏ×ÙÊ PO-ÆÁÊÌ, ÉÎÉÃÉÁÌÉÚÉÒÕÑ ÍÅÔÁÉÎÆÏÒÍÁÃÉÀ ÉÓÈÏÄÑ ÉÚ\n" "ÐÏÌØÚÏ×ÁÔÅÌØÓËÏÊ ÓÒÅÄÙ.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" @@ -1565,11 +1786,13 @@ msgstr "" "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ, ÏÎ ÉÝÅÔÓÑ × ÔÅËÕÝÅÍ ËÁÔÁÌÏÇÅ.\n" "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" @@ -1579,23 +1802,16 @@ msgstr "" "ÕÓÔÁÎÏ×ÌÅÎÎÏÊ ÌÏËÁÌÉ. åÓÌÉ ÏÎ ÚÁÄÁÎ ËÁË -, ÒÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ\n" "ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" -l, --locale=LL_CC ÚÁÄÁÅÔ ÃÅÌÅ×ÕÀ ÌÏËÁÌØ\n" -" --no-translator ÐÒÅÄÐÏÌÁÇÁÔØ, ÞÔÏ PO-ÆÁÊÌ ÓÇÅÎÅÒÉÒÏ×ÁÎ Á×ÔÏÍÁÔÉÞÅÓËÉ\n" -" -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1603,11 +1819,11 @@ msgstr "" "îÁÊÄÅÎÏ ÂÏÌÅÅ ÏÄÎÏÇÏ pot-ÆÁÊÌÁ.\n" "ðÏÖÁÌÕÊÓÔÁ, ÕËÁÖÉÔÅ ×ÈÏÄÎÏÊ pot-ÆÁÊÌ Ó ÐÏÍÏÝØÀ ËÌÀÞÁ --input.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "ÏÛÉÂËÁ ÐÒÉ ÞÔÅÎÉÉ ÔÅËÕÝÅÇÏ ËÁÔÁÌÏÇÁ" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1615,23 +1831,23 @@ msgstr "" "÷ ÔÅËÕÝÅÍ ËÁÔÁÌÏÇÅ ÎÅ ÎÁÊÄÅÎ pot-ÆÁÊÌ.\n" "ðÏÖÁÌÕÊÓÔÁ, ÕËÁÖÉÔÅ ×ÈÏÄÎÏÊ pot-ÆÁÊÌ Ó ÐÏÍÏÝØÀ ËÌÀÞÁ --input.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "×ÙÚÏ× fdopen() ÎÁ×ÅÒÛÉÌÓÑ ÎÅÕÓÐÅÈÏÍ" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "ÏÛÉÂËÁ ××ÏÄÁ/×Ù×ÏÄÁ × ÄÏÞÅÒÎÅÍ ÐÒÏÃÅÓÓÅ %s" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "ÄÏÞÅÒÎÉÊ ÐÒÏÃÅÓÓ %s ÚÁ×ÅÒÛÉÌÓÑ ÎÅÕÓÐÅÈÏÍ Ó ×ÙÈÏÄÎÙÍ ËÏÄÏÍ %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1647,28 +1863,28 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "áÎÇÌÉÊÓËÉÅ ÐÅÒÅ×ÏÄÙ ÄÌÑ ÐÁËÅÔÁ %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "ÔÅËÕÝÁÑ ËÏÄÉÒÏ×ËÁ \"%s\" ÎÅ Ñ×ÌÑÅÔÓÑ ÐÅÒÅÎÏÓÉÍÙÍ ÉÍÅÎÅÍ ËÏÄÉÒÏ×ËÉ" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "×Ï ×ÈÏÄÎÏÍ ÆÁÊÌÅ Ä×Å ÒÁÚÎÙÅ ËÏÄÉÒÏ×ËÉ \"%s\" É \"%s\"" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "×ÈÏÄÎÏÊ ÆÁÊÌ `%s' ÎÅ ÓÏÄÅÒÖÉÔ ÐÏÌÅ ÚÁÇÏÌÏ×ËÁ Ó ÏÐÉÓÁÎÉÅÍ ËÏÄÉÒÏ×ËÉ" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1677,18 +1893,18 @@ msgstr "" "ÄÏÍÅÎ \"%s\" ×Ï ×ÈÏÄÎÏÍ ÆÁÊÌÅ `%s' ÎÅ ÓÏÄÅÒÖÉÔ ÐÏÌÑ ÚÁÇÏÌÏ×ËÁ Ó ÏÐÉÓÁÎÉÅÍ " "ËÏÄÉÒÏ×ËÉ" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "ÃÅÌÅ×ÁÑ ËÏÄÉÒÏ×ËÁ \"%s\" ÎÅ Ñ×ÌÑÅÔÓÑ ÐÅÒÅÎÏÓÉÍÙÍ ÉÍÅÎÅÍ ËÏÄÉÒÏ×ËÉ." -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 -#: src/xgettext.c:1259 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1696,7 +1912,7 @@ msgstr "" "÷ÈÏÄÎÙÅ ÆÁÊÌÙ ÓÏÄÅÒÖÁÔ ÓÏÏÂÝÅÎÉÑ × ÒÁÚÎÙÈ ËÏÄÉÒÏ×ËÁÈ, × ÔÏÍ ÞÉÓÌÅ ×\n" "UTF-8. ÷Ù×ÏÄ ÐÒÅÏÂÒÁÚÕÅÔÓÑ Ë UTF-8.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1761,15 +1977,15 @@ msgstr "" "÷Ù×ÏÄ '%s' ÍÏÖÅÔ ÂÙÔØ ÎÅÐÒÁ×ÉÌØÎÙÍ.\n" "÷ÏÚÍÏÖÎÙÊ ÍÅÔÏÄ ÏÂÏÊÔÉ ÜÔÕ ÓÉÔÕÁÃÉÀ -- ÕÓÔÁÎÏ×ÉÔØ LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "ÐÒÅÏÂÒÁÚÏ×ÁÎÉÅ ÎÅÕÓÐÅÛÎÏ" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "×ÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÓÏÄÅÒÖÉÔ ÐÏÌÅ ÚÁÇÏÌÏ×ËÁ Ó ÏÐÉÓÁÎÉÅÍ ËÏÄÉÒÏ×ËÉ" -#: src/msgl-iconv.c:353 src/xgettext.c:494 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1778,7 +1994,7 @@ msgstr "" "îÅ×ÏÚÍÏÖÎÏ ÐÒÅÏÂÒÁÚÏ×ÁÔØ ÉÚ \"%s\" × \"%s\". %s ÐÏÌÁÇÁÅÔÓÑ ÎÁ iconv(), ÎÏ " "iconv() ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔ ÜÔÏ ÐÒÅÏÂÒÁÚÏ×ÁÎÉÅ." -#: src/msgl-iconv.c:370 src/xgettext.c:501 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1787,11 +2003,11 @@ msgstr "" "îÅ×ÏÚÍÏÖÎÏ ÐÒÅÏÂÒÁÚÏ×ÁÔØ ÉÚ \"%s\" × \"%s\". %s ÐÏÌÁÇÁÅÔÓÑ ÎÁ iconv(). üÔÁ " "×ÅÒÓÉÑ ÂÙÌÁ ÓÏÂÒÁÎÁ ÂÅÚ iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "ÔÉÐ ÒÅÚÅÒ×ÎÏÇÏ ËÏÐÉÒÏ×ÁÎÉÑ" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1816,27 +2032,23 @@ msgstr "" "ÉÓÐÏÌØÚÕÅÔÓÑ ÐÒÉÂÌÉÚÉÔÅÌØÎÏÅ ÓÒÁ×ÎÅÎÉÅ, ÅÓÌÉ ÎÅÌØÚÑ ÎÁÊÔÉ ÔÏÞÎÏÅ\n" "ÓÏ×ÐÁÄÅÎÉÅ.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" def.po ÐÅÒÅ×ÏÄÙ, ÓÓÙÌÁÀÝÉÅÓÑ ÎÁ ÓÔÁÒÙÅ ÉÓÈÏÄÎÉËÉ\n" -" ref.pot ÓÓÙÌËÉ ÎÁ ÎÏ×ÙÅ ÉÓÈÏÄÎÉËÉ\n" -" -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" -" -C, --compendium=æáêì ÄÏÐÏÌÎÉÔÅÌØÎÁÑ ÂÉÂÌÉÏÔÅËÁ ÐÅÒÅ×ÏÄÏ× ÓÏÏÂÝÅÎÉÊ, \n" -" ÍÏÖÎÏ ÕËÁÚÙ×ÁÔØ ÎÅÓËÏÌØËÏ ÒÁÚ\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" @@ -1844,21 +2056,32 @@ msgstr "" " -U, --update ÏÂÎÏ×ÉÔØ def.po,\n" " ÎÉÞÅÇÏ ÎÅ ÄÅÌÁÔØ, ÅÓÌÉ def.po ÕÖÅ ÏÂÎÏ×ÌÅÎ\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ × ÒÅÖÉÍÅ ÏÂÎÏ×ÌÅÎÉÑ:\n" "òÅÚÕÌØÔÁÔ ÚÁÐÉÓÙ×ÁÅÔÓÑ ÏÂÒÁÔÎÏ × def.po.\n" @@ -1866,50 +2089,41 @@ msgstr "" " --suffix=óõææéëó ÐÅÒÅËÒÙÔØ ÏÂÙÞÎÙÊ ÓÕÆÆÉËÓ ÒÅÚÅÒ×ÎÏÊ ËÏÐÉÉ\n" "\n" "íÅÔÏÄ ÕÐÒÁ×ÌÅÎÉÑ ×ÅÒÓÉÑÍÉ ÍÏÖÎÏ \n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" "environment variable.\n" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"íÏÄÉÆÉËÁÔÏÒÙ:\n" -" -m, --multi-domain ÐÒÉÍÅÎÉÔØ ref.pot ËÏ ×ÓÅÍ ÄÏÍÅÎÁÍ ÉÚ def.po\n" -" -N, --no-fuzzy-matching ÎÅ ÐÒÉÍÅÎÑÔØ ÎÅÞÅÔËÏÅ ÓÏÐÏÓÔÁ×ÌÅÎÉÅ\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -"éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" -" -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" -" -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" -" -v, --verbose Õ×ÅÌÉÞÉÔØ ÐÏÄÒÏÂÎÏÓÔØ ÄÉÁÇÎÏÓÔÉÞÅÓËÉÈ ÓÏÏÂÝÅÎÉÊ\n" -" -q, --quiet, --silent ÎÅ ×Ù×ÏÄÉÔØ ÉÎÄÉËÁÔÏÒ ÐÒÏÇÒÅÓÓÁ\n" -#: src/msgmerge.c:963 +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" +msgstr "" + +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "ÄÁÎÎÏÅ ÓÏÏÂÝÅÎÉÅ ÄÏÌÖÎÏ ÏÐÒÅÄÅÌÑÔØ ÆÏÒÍÙ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ" -#: src/msgmerge.c:986 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "ÄÁÎÎÏÅ ÓÏÏÂÝÅÎÉÅ ÎÅ ÄÏÌÖÎÏ ÏÐÒÅÄÅÌÑÔØ ÆÏÒÍÙ ×Ï ÍÎÏÖÅÓÔ×ÅÎÎÏÍ ÞÉÓÌÅ" -#: src/msgmerge.c:1148 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1918,54 +2132,56 @@ msgstr "" "%sðÒÏÞÉÔÁÎÏ ÓÏÏÂÝÅÎÉÊ: ÓÔÁÒÙÈ %ld + ÎÏ×ÙÈ %ld; ÏÂßÅÄÉÎÅÎÏ %ld, ÐÏÍÅÞÅÎÏ " "ÎÅÔÏÞÎÙÍÉ %ld, ÎÅÄÏÓÔÁÀÝÉÈ %ld, ÎÅÄÅÊÓÔ×ÉÔÅÌØÎÙÈ %ld.\n" -#: src/msgmerge.c:1156 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " ÚÁ×ÅÒÛÅÎÏ.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s É Ñ×ÎÏ ÚÁÄÁÎÎÏÅ ÉÍÑ ÆÁÊÌÁ ×ÚÁÉÍÎÏ ÉÓËÌÀÞÁÀÔ ÄÒÕÇ ÄÒÕÇÁ" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] [æáêì]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "ðÒÅÏÂÒÁÚÕÅÔ Ä×ÏÉÞÎÙÊ ËÁÔÁÌÏÇ ÓÏÏÂÝÅÎÉÊ × .po-ÆÁÊÌ × ÓÔÉÌÅ Uniforum.\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "òÅÖÉÍ ÒÁÂÏÔÙ:\n" " -j, --java ÒÅÖÉÍ Java: ÓÏÚÄÁÅÔ ËÌÁÓÓ ResourceBundle\n" " --tcl ÒÅÖÉÍ Tcl: ÓÏÚÄÁÅÔ .msg-ÆÁÊÌ ÄÌÑ tcl/msgcat\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" æáêì ... ×ÈÏÄÎÙÅ .mo-ÆÁÊÌÙ\n" -"åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ ÉÌÉ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" +"òÅÖÉÍ ÒÁÂÏÔÙ:\n" +" -j, --java ÒÅÖÉÍ Java: ÓÏÚÄÁÅÔ ËÌÁÓÓ ResourceBundle\n" +" --tcl ÒÅÖÉÍ Tcl: ÓÏÚÄÁÅÔ .msg-ÆÁÊÌ ÄÌÑ tcl/msgcat\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ × ÒÅÖÉÍÅ Java:\n" @@ -1974,74 +2190,25 @@ msgstr "" "éÍÑ ËÌÁÓÓÁ ÏÐÒÅÄÅÌÑÅÔÓÑ ÐÕÔÅÍ ÄÏÂÁ×ÌÅÎÉÑ ÉÍÅÎÉ ÌÏËÁÌÉ Ë ÉÍÅÎÉ ÒÅÓÕÒÓÁ ÐÏÓÌÅ\n" "ÚÎÁËÁ ÐÏÄÞÅÒËÉ×ÁÎÉÑ. ëÌÁÓÓ ÉÝÅÔÓÑ Ó ÐÏÍÏÝØÀ CLASSPATH.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ × ÒÅÖÉÍÅ Tcl:\n" -" -l, --locale=ìïëáìø ÉÍÑ ÌÏËÁÌÉ, ÜÔÏ ÌÉÂÏ ÑÚÙË, ÌÉÂÏ ÑÚÙË_óôòáîá\n" -" -d ëáôáìïç ËÏÒÎÅ×ÏÊ ËÁÔÁÌÏÇ ÉÅÒÁÒÈÉÉ .msg-ÆÁÊÌÏ×\n" -"ëÌÀÞÉ -l É -d ÏÂÑÚÁÔÅÌØÎÙ. .msg-ÆÁÊÌ ÉÝÅÔÓÑ × ÕËÁÚÁÎÎÏÍ ËÁÔÁÌÏÇÅ.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" -"òÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ, ÅÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ\n" -"ÉÌÉ ÚÁÄÁÎ ËÁË -.\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" -" ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" -" -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" -" -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" -" -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" -" -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" -" -v, --verbose Õ×ÅÌÉÞÉÔØ ÐÏÄÒÏÂÎÏÓÔØ ÄÉÁÇÎÏÓÔÉÞÅÓËÉÈ ÓÏÏÂÝÅÎÉÊ\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2064,18 +2231,22 @@ msgstr "" "ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ËÌÀÞÁ --unique, ÏÔÂÒÁÓÙ×ÁÀÔÓÑ ÄÕÂÌÉÒÏ×ÁÎÎÙÅ\n" "ÓÏÏÂÝÅÎÉÑ.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "÷ÙÂÏÒ ÓÏÏÂÝÅÎÉÊ:\n" " -d, --repeated ÐÅÞÁÔÁÔØ ÔÏÌØËÏ ÄÕÂÌÉÒÏ×ÁÎÎÙÅ\n" -" -u, --unique ÐÅÞÁÔÁÔØ ÔÏÌØËÏ ÕÎÉËÁÌØÎÙÅ, ÐÒÏÐÕÓËÁÑ ÄÕÂÌÉËÁÔÙ\n" +" -u, --unique ÐÅÞÁÔÁÔØ ÔÏÌØËÏ ÕÎÉËÁÌØÎÙÅ, ÐÒÏÐÕÓËÁÑ " +"ÄÕÂÌÉËÁÔÙ\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "<ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ>" @@ -2141,73 +2312,73 @@ msgstr "" "÷ ÚÁÇÏÌÏ×ËÅ ÎÅ ÕËÁÚÁÎÁ ËÏÄÉÒÏ×ËÁ.\n" "ðÒÅÏÂÒÁÚÏ×ÁÎÉÅ ÓÏÏÂÝÅÎÉÊ Ë ËÏÄÉÒÏ×ËÅ ÐÏÌØÚÏ×ÁÔÅÌÑ ÎÅ ÓÒÁÂÏÔÁÅÔ.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "ÎÅÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÅ ÐÒÉÍÅÎÅÎÉÅ #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "ÐÒÏÐÕÝÅÎÁ ÓÅËÃÉÑ `msgstr[]'" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "ÐÒÏÐÕÝÅÎÁ ÓÅËÃÉÑ `msgid_plural'" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "ÐÒÏÐÕÝÅÎÁ ÓÅËÃÉÑ `msgstr'" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "ÐÅÒ×ÁÑ ÆÏÒÍÁ ÍÎÏÖÅÓÔ×ÅÎÎÏÇÏ ÞÉÓÌÁ ÉÍÅÅÔ ÎÅÎÕÌÅ×ÏÊ ÉÎÄÅËÓ" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "ÆÏÒÍÁ ÍÎÏÖÅÓÔ×ÅÎÎÏÇÏ ÞÉÓÌÁ ÉÍÅÅÔ ÎÅÐÒÁ×ÉÌØÎÙÊ ÉÎÄÅËÓ" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÏÛÉÂÏË, ÚÁ×ÅÒÛÅÎÉÅ" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "ÎÅ×ÅÒÎÁÑ ÍÎÏÇÏÂÁÊÔÏ×ÁÑ ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "ÎÅÐÏÌÎÁÑ ÍÎÏÇÏÂÁÊÔÏ×ÁÑ ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ × ËÏÎÃÅ ÆÁÊÌÁ" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "ÎÅÐÏÌÎÁÑ ÍÎÏÇÏÂÁÊÔÏ×ÁÑ ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ × ËÏÎÃÅ ÓÔÒÏËÉ" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "×ÙÚÏ× iconv ÚÁ×ÅÒÛÉÌÓÑ ÎÅÕÓÐÅÈÏÍ" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "ÏÛÉÂËÁ ÞÔÅÎÉÑ \"%s\"" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "ÎÅÉÚ×ÅÓÔÎÏÅ ËÌÀÞÅ×ÏÅ ÓÌÏ×Ï \"%s\"" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "ÎÅ×ÅÒÎÁÑ ÕÐÒÁ×ÌÑÀÝÁÑ ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "ÓÉÍ×ÏÌ ËÏÎÃÁ ÆÁÊÌÁ ×ÓÔÒÅÞÅÎ ×ÎÕÔÒÉ ÓÔÒÏËÉ" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "ÓÉÍ×ÏÌ ËÏÎÃÁ ÓÔÒÏËÉ ×ÓÔÒÅÞÅÎ ×ÎÕÔÒÉ ÓÔÒÏËÉ" @@ -2231,12 +2402,25 @@ msgstr " msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "ÆÁÊÌ \"%s\" ÓÏÄÅÒÖÉÔ ÓÔÒÏËÕ, ÎÅ ÚÁ×ÅÒÛÅÎÎÕÀ ÎÕÌÅÍ, × ÐÏÚÉÃÉÉ %s" -#: src/urlget.c:143 +# ÜÔÏ ÓÏÏÂÝÅÎÉÅ ÐÏËÁ ÎÅ ÉÓÐÏÌØÚÕÅÔÓÑ +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "ÜÔÏÔ ÆÁÊÌ ÎÅ ÍÏÖÅÔ ÓÏÄÅÒÖÁÔØ ÄÉÒÅËÔÉ×Ù ÄÏÍÅÎÁ" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÒÅÄÅÌÅÎÉÅ ÓÏÏÂÝÅÎÉÑ" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...ÍÅÓÔÏ ÐÏÑ×ÌÅÎÉÑ ÐÅÒ×ÏÇÏ ÏÐÒÅÄÅÌÅÎÉÑ" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "ÏÖÉÄÁÅÔÓÑ Ä×Á ÁÒÇÕÍÅÎÔÁ" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþ] URL æáêì\n" @@ -2272,7 +2456,7 @@ msgstr "%s msgid "failed to create \"%s\"" msgstr "ÐÏÐÙÔËÁ ÓÏÚÄÁÎÉÑ \"%s\" ÚÁ×ÅÒÛÉÌÁÓØ ÎÅÕÓÐÅÈÏÍ" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2284,19 +2468,19 @@ msgstr "" "ËÏÍÐÉÌÑÃÉÑ Java-ËÌÁÓÓÁ ÚÁ×ÅÒÛÉÌÁÓØ ÎÅÕÓÐÅÈÏÍ, ÐÏÐÒÏÂÕÊÔÅ --verbose ÉÌÉ " "ÕÓÔÁÎÏ×ÉÔÅ $JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "ÏÛÉÂËÁ ÏÔËÒÙÔÉÑ ÆÁÊÌÁ \"%s\" ÄÌÑ ÚÁÐÉÓÉ" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "ðÅÒÅ×ÏÄÉÍÙÅ ÓÏÏÂÝÅÎÉÑ ÎÅ ÄÏÌÖÎÙ ÓÏÄÅÒÖÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ `\\%c'" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2309,12 +2493,25 @@ msgstr "" "ËÏÄÉÒÏ×ËÕ, ÞÔÏ É ×Ù. ðÏÄÕÍÁÊÔÅ Ï ÉÓÐÏÌØÚÏ×ÁÎÉÉ × msgid ÞÉÓÔÏÊ ASCII.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "ÎÅ×ÏÚÍÏÖÎÏ ÓÏÚÄÁÔØ ÆÁÊÌ ×Ù×ÏÄÁ \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ" @@ -2328,7 +2525,7 @@ msgstr "" "ËÁÔÁÌÏÇÏ× ÓÏÏÂÝÅÎÉÊ ÄÌÑ Tcl ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔ ÏÂÒÁÂÏÔËÕ ÍÎÏÖÅÓÔ×ÅÎÎÏÇÏ\n" "ÞÉÓÌÁ\n" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÎÅÚÁ×ÅÒÛÅÎÎÁÑ ÓÔÒÏËÁ" @@ -2362,12 +2559,7 @@ msgstr "" "ñÚÙË \"glade\" ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ. %s ÐÏÌÁÇÁÅÔÓÑ ÎÁ expat.\n" "üÔÁ ×ÅÒÓÉÑ ÓÏÂÒÁÎÁ ÂÅÚ expat.\n" -# ÜÔÏ ÓÏÏÂÝÅÎÉÅ ÐÏËÁ ÎÅ ÉÓÐÏÌØÚÕÅÔÓÑ -#: src/x-po.c:85 src/xgettext.c:718 -msgid "this file may not contain domain directives" -msgstr "ÜÔÏÔ ÆÁÊÌ ÎÅ ÍÏÖÅÔ ÓÏÄÅÒÖÁÔØ ÄÉÒÅËÔÉ×Ù ÄÏÍÅÎÁ" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÎÅ×ÅÒÎÙÊ Unicode-ÚÎÁË" @@ -2387,173 +2579,169 @@ msgstr "%s:%d: msgid "%s:%d: invalid string expression" msgstr "%s:%d: ÎÅ×ÅÒÎÏÅ ÓÔÒÏËÏ×ÏÅ ×ÙÒÁÖÅÎÉÅ" -#: src/xgettext.c:427 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "ËÌÀÞ --join-existing ÎÅ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÐÒÉ ÚÁÐÉÓÉ × ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ" -#: src/xgettext.c:432 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext ÎÅ ÍÏÖÅÔ ÒÁÂÏÔÁÔØ, ÎÅ ÚÎÁÑ ÉÓËÏÍÙÈ ËÌÀÞÅ×ÙÈ ÓÌÏ×" -#: src/xgettext.c:559 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "" "ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÆÁÊÌ `%s' ÉÍÅÅÔ ÎÅÉÚ×ÅÓÔÎÏÅ ÒÁÓÛÉÒÅÎÉÅ `%s'; ÔÒÁËÔÕÅÔÓÑ ËÁË C" -#: src/xgettext.c:610 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "éÚ×ÌÅËÁÅÔ ÐÅÒÅ×ÏÄÉÍÙÅ ÓÔÒÏËÉ ÉÚ ÕËÁÚÁÎÎÙÈ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×.\n" -#: src/xgettext.c:615 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"áÒÇÕÍÅÎÔÙ, ÏÂÑÚÁÔÅÌØÎÙÅ ÄÌÑ ÄÌÉÎÎÙÈ ËÌÀÞÅÊ, ÏÂÑÚÁÔÅÌØÎÙ É ÄÌÑ ËÏÒÏÔËÉÈ.\n" -"ôÏ ÖÅ É ÄÌÑ ÎÅÏÂÑÚÁÔÅÌØÎÙÈ ÁÒÇÕÍÅÎÔÏ×.\n" -#: src/xgettext.c:630 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -d, --default-domain=éíñ ×Ù×ÏÄÉÔØ × ÆÁÊÌ éíñ.po (×ÍÅÓÔÏ messages.po)\n" -" -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" -" -p, --output-dir=ëáô ÐÏÍÅÓÔÉÔØ ×ÙÈÏÄÎÙÅ ÆÁÊÌÙ × ËÁÔÁÌÏÇ ëáô\n" -"òÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ, ÅÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ\n" -"ÉÌÉ ÚÁÄÁÎ ËÁË -.\n" -#: src/xgettext.c:639 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "ÎÅ ÚÁÄÁÎ ×ÈÏÄÎÏÊ ÆÁÊÌ" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "÷ÙÂÏÒ ÑÚÙËÁ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" -" -L, --language=éíñ ÚÁÄÁÅÔ ÑÚÙË (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk, YCP,\n" +" -L, --language=éíñ ÚÁÄÁÅÔ ÑÚÙË (C, C++, ObjectiveC, PO, Python, " +"Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java, awk, " +"YCP,\n" " Tcl, PHP, RST, Glade)\n" " -C, --c++ ÓÉÎÏÎÉÍ --language=C++\n" "ðÏ ÕÍÏÌÞÁÎÉÀ ÑÚÙË ÏÐÒÅÄÅÌÑÅÔÓÑ ÐÏ ÒÁÓÛÉÒÅÎÉÀ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ.\n" -#: src/xgettext.c:650 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" +msgstr "" + +#: src/xgettext.c:661 +#, fuzzy +msgid "" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" "éÎÔÅÒÐÒÅÔÁÃÉÑ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×:\n" " --from-code=éíñ ËÏÄÉÒÏ×ËÁ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×\n" " (ËÒÏÍÅ Python, Tcl, Glade)\n" "ðÏ ÕÍÏÌÞÁÎÉÀ ÓÞÉÔÁÅÔÓÑ, ÞÔÏ ×ÈÏÄÎÙÅ ÆÁÊÌÙ ÓÏÄÅÒÖÁÔ ÔÏÌØËÏ ASCII.\n" -#: src/xgettext.c:658 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "òÅÖÉÍ ÒÁÂÏÔÙ:\n" " -j, --join-existing ÓÌÉÔØ ÓÏÏÂÝÅÎÉÑ Ó ÓÕÝÅÓÔ×ÕÀÝÉÍ ÆÁÊÌÏÍ\n" " -x, --exclude-file=æáêì.po ÎÅ ÉÚ×ÌÅËÁÔØ ×ÈÏÖÄÅÎÉÑ ÉÚ æáêì.po\n" -" -c, --add-comments[=ôåç] ÚÁÐÉÓÁÔØ × ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÂÌÏË ËÏÍÍÅÎÔÁÒÉÑ Ó\n" -" ôåçïí (ÉÌÉ Ó ËÏÍÍÅÎÔÁÒÉÑÍÉ, ÐÒÅÄÛÅÓÔ×ÕÀÝÉÍÉ\n" +" -c, --add-comments[=ôåç] ÚÁÐÉÓÁÔØ × ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÂÌÏË ËÏÍÍÅÎÔÁÒÉÑ " +"Ó\n" +" ôåçïí (ÉÌÉ Ó ËÏÍÍÅÎÔÁÒÉÑÍÉ, " +"ÐÒÅÄÛÅÓÔ×ÕÀÝÉÍÉ\n" " ËÌÀÞÅ×ÏÊ ÓÔÒÏËÅ)\n" -#: src/xgettext.c:667 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"ëÌÀÞÉ ÄÌÑ ÑÚÙËÏ× C/C++:\n" -" -a, --extract-all ÉÚ×ÌÅÞØ ×ÓÅ ÓÔÒÏËÉ\n" -" -k, --keyword[=óìï÷ï] ÄÏÐÏÌÎÉÔÅÌØÎÏÅ ËÌÀÞÅ×ÏÅ ÓÌÏ×Ï ÄÌÑ ÐÏÉÓËÁ (ÂÅÚ\n" -" ÚÁÄÁÎÉÑ óìï÷á ÏÂÏÚÎÁÞÁÅÔ, ÞÔÏ ÎÅ ÎÕÖÎÏ \n" -" ÉÓÐÏÌØÚÏ×ÁÔØ ËÌÀÞÅ×ÙÅ ÓÌÏ×Á ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" -T, --trigraphs ÐÏÎÉÍÁÔØ ÎÁ ×ÈÏÄÅ ÔÒÉÇÒÁÆÙ ANSI C\n" -" --debug ÂÏÌÅÅ ÐÏÄÒÏÂÎÙÊ ÒÅÚÕÌØÔÁÔ ÒÁÚÂÏÒÁ ÆÏÒÍÁÔÎÏÊ\n" -" ÓÔÒÏËÉ\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" -#: src/xgettext.c:677 -#, no-wrap +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" msgstr "" -"ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" -" -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" -" ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" -" ÒÁÓÛÉÒÅÎÎÙÅ ÚÎÁËÉ\n" -" --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ, ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" -" -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ, ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" -" --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" -" -n, --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" -" --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" -" Uniforum\n" -" -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" -" --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÓÔÒÏËÉ, ÐÒÅ×ÏÓÈÏÄÑÝÉÅ ÐÏ ÄÌÉÎÅ ÛÉÒÉÎÕ\n" -" ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" -" -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" -" -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" -" --omit-header ÎÅ ×Ù×ÏÄÉÔØ ÚÁÇÏÌÏ×ÏË Ó ÐÏÌÅÍ `msgid \"\"'\n" -" --copyright-holder=óôòïëá\n" -" ÚÁÄÁÅÔ ÎÁÉÍÅÎÏ×ÁÎÉÅ ÏÂÌÁÄÁÔÅÌÑ Á×ÔÏÒÓËÉÈ ÐÒÁ×\n" -" --foreign-user ÎÅ ×Ù×ÏÄÉÔØ Õ×ÅÄÏÍÌÅÎÉÅ Ï Á×ÔÏÒÓËÉÈ ÐÒÁ×ÁÈ FSF\n" -" --msgid-bugs-address=áäòåó@üìåëôòïîîïê.ðïþôù\n" -" ÚÁÄÁÅÔ ÁÄÒÅÓ, ËÕÄÁ ÓÌÅÄÕÅÔ ÏÔÐÒÁ×ÌÑÔØ ÏÔÞÅÔ Ï ÏÛÉÂËÁÈ\n" -" × ÏÒÉÇÉÎÁÌØÎÙÈ ÓÏÏÂÝÅÎÉÑÈ\n" -" -m, --msgstr-prefix[=óôòïëá]\n" -" ÉÓÐÏÌØÚÏ×ÁÔØ óôòïëõ ÉÌÉ \"\" ËÁË ÐÒÅÆÉËÓ Ë ×ÈÏÖÄÅÎÉÑÍ msgstr\n" -" -M, --msgstr-suffix[=óôòïëá]\n" -" ÉÓÐÏÌØÚÏ×ÁÔØ óôòïëõ ÉÌÉ \"\" ËÁË ÓÕÆÆÉËÓ Ë ×ÈÏÖÄÅÎÉÑÍ msgstr\n" - -#: src/xgettext.c:887 + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ" -#: src/xgettext.c:980 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" @@ -2562,12 +2750,12 @@ msgstr "" "îÅ-ASCII-ÓÔÒÏËÁ × %s%s.\n" "ðÏÖÁÌÕÊÓÔÁ, ÕËÁÖÉÔÅ ×ÈÏÄÎÕÀ ËÏÄÉÒÏ×ËÕ Ó ÐÏÍÏÝØÀ ËÌÀÞÁ --from-code." -#: src/xgettext.c:1035 +#: src/xgettext.c:1070 #, c-format msgid "%s%s: warning: " msgstr "%s%s: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: " -#: src/xgettext.c:1037 +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2577,7 +2765,7 @@ msgstr "" "gettext(\"\") ×ÏÚ×ÒÁÝÁÅÔ ÔÅËÓÔ ÚÁÇÏÌÏ×ËÁ Ó ÍÅÔÁÉÎÆÏÒÍÁÃÉÅÊ,\n" "Á ÎÅ ÐÕÓÔÕÀ ÓÔÒÏËÕ.\n" -#: src/xgettext.c:1260 +#: src/xgettext.c:1303 msgid "" "The option --msgid-bugs-address was not specified.\n" "If you are using a `Makevars' file, please specify\n" @@ -2588,7 +2776,769 @@ msgstr "" "`Makevars', ÕÓÔÁÎÏ×ÉÔÅ × ÎÅÍ ÐÅÒÅÍÅÎÎÕÀ MSGID_BUGS_ADDRESS, ×\n" "ÐÒÏÔÉ×ÎÏÍ ÓÌÕÞÁÅ ÚÁÄÁÊÔÅ × ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÅ ËÌÀÞ --msgid-bugs-address.\n" -#: src/xgettext.c:1430 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "ÑÚÙË `%s' ÎÅÉÚ×ÅÓÔÅÎ" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " ÷èïäîïê-æáêì ×ÈÏÄÎÏÊ PO-ÆÁÊÌ\n" +#~ " -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ " +#~ "ÆÁÊÌÏ×\n" +#~ "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ ÉÌÉ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" +#~ "òÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ, ÅÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ\n" +#~ "ÉÌÉ ÚÁÄÁÎ ËÁË -.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "÷ÙÂÏÒ ÓÏÏÂÝÅÎÉÊ:\n" +#~ " --translated ÓÏÈÒÁÎÉÔØ ÐÅÒÅ×ÅÄÅÎÎÙÅ, ÕÄÁÌÉÔØ " +#~ "ÎÅÐÅÒÅ×ÅÄÅÎÎÙÅ\n" +#~ " --untranslated ÓÏÈÒÁÎÉÔØ ÎÅÐÅÒÅ×ÅÄÅÎÎÙÅ, ÕÄÁÌÉÔØ " +#~ "ÐÅÒÅ×ÅÄÅÎÎÙÅ\n" +#~ " --no-fuzzy ÕÄÁÌÉÔØ ÓÏÏÂÝÅÎÉÑ ÐÏÍÅÞÅÎÎÙÅ ËÁË " +#~ "'ÎÅÔÏÞÎÙÅ'\n" +#~ " --only-fuzzy ÓÏÈÒÁÎÉÔØ ÓÏÏÂÝÅÎÉÑ ÐÏÍÅÞÅÎÎÙÅ ËÁË " +#~ "'ÎÅÔÏÞÎÙÅ'\n" +#~ " --no-obsolete ÕÄÁÌÉÔØ ÓÏÏÂÝÅÎÉÑ, ÐÏÍÅÞÅÎÎÙÅ ËÁË 'ÓÔÁÒÙÅ'\n" +#~ " --only-obsolete ÓÏÈÒÁÎÉÔØ ÓÏÏÂÝÅÎÉÑ, ÐÏÍÅÞÅÎÎÙÅ 'ÓÔÁÒÙÅ'\n" + +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "íÁÎÉÐÕÌÑÃÉÑ ÁÔÒÉÂÕÔÁÍÉ:\n" +#~ " --set-fuzzy ÐÏÍÅÔÉÔØ ×ÓÅ ÓÏÏÂÝÅÎÉÑ ËÁË 'ÎÅÔÏÞÎÙÅ'\n" +#~ " --clear-fuzzy ÓÎÑÔØ ×ÓÅ ÐÏÍÅÔËÉ 'ÎÅÔÏÞÎÏÅ'\n" +#~ " --set-obsolete ÐÏÍÅÔÉÔØ ×ÓÅ ÓÏÏÂÝÅÎÉÑ ËÁË 'ÓÔÁÒÙÅ'\n" +#~ " --clear-obsolete ÓÎÑÔØ ×ÓÅ ÐÏÍÅÔËÉ 'ÓÔÁÒÏÅ'\n" +#~ " --only-file=æáêì.po ÏÂÒÁÂÏÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ÐÅÒÅÞÉÓÌÅÎÎÙÅ × æáêìå." +#~ "po\n" +#~ " --ignore-file=æáêì.po ÏÂÒÁÂÏÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ÎÅ ÐÅÒÅÞÉÓÌÅÎÎÙÅ × " +#~ "æáêìå.po\n" +#~ " --fuzzy ÓÉÎÏÎÉÍ ÄÌÑ --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete ÓÉÎÏÎÉÍ ÄÌÑ --only-obsolete --clear-" +#~ "obsolete\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +#~ " -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-" +#~ "ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" +#~ " ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" +#~ " --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" +#~ " -n, --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" +#~ " -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" +#~ " -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " ÷èïäîïê-æáêì ... ×ÈÏÄÎÙÅ ÆÁÊÌÙ\n" +#~ " -f, --files-from=æáêì ÐÏÌÕÞÉÔØ ÓÐÉÓÏË ×ÈÏÄÎÙÈ ÆÁÊÌÏ× ÉÚ æáêìá\n" +#~ " -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ " +#~ "ÆÁÊÌÏ×\n" +#~ "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" +#~ "òÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ, ÅÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ\n" +#~ "ÉÌÉ ÚÁÄÁÎ ËÁË -.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "÷ÙÂÏÒ ÓÏÏÂÝÅÎÉÊ:\n" +#~ " -<, --less-than=þéóìï ÐÅÞÁÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ËÏÌÉÞÅÓÔ×Ï " +#~ "ÏÐÒÅÄÅÌÅÎÉÊ Õ \n" +#~ " ËÏÔÏÒÙÈ ÍÅÎØÛÅ ÚÁÄÁÎÎÏÇÏ ÞÉÓÌÁ, ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ\n" +#~ " ÂÅÓËÏÎÅÞÎÏ\n" +#~ " ->, --more-than=þéóìï ÐÅÞÁÔÁÔØ ÓÏÏÂÝÅÎÉÑ, ËÏÌÉÞÅÓÔ×Ï " +#~ "ÏÐÒÅÄÅÌÅÎÉÊ Õ \n" +#~ " ËÏÔÏÒÙÈ ÂÏÌØÛÅ ÚÁÄÁÎÎÏÇÏ ÞÉÓÌÁ, ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ 0\n" +#~ " -u, --unique ÓÏËÒÁÝÅÎÉÅ ÄÌÑ --less-than=2, " +#~ "ÚÁÐÒÁÛÉ×ÁÅÔ \n" +#~ " ÐÅÞÁÔØ ÔÏÌØËÏ ÕÎÉËÁÌØÎÙÈ ÓÏÏÂÝÅÎÉÊ\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +#~ " -t, --to-code=éíñ ×ÙÈÏÄÎÁÑ ËÏÄÉÒÏ×ËÁ\n" +#~ " --use-first ÉÓÐÏÌØÚÏ×ÁÔØ ÐÅÒ×ÙÊ ÄÏÓÔÕÐÎÙÊ ÐÅÒÅ×ÏÄ ÄÌÑ " +#~ "ËÁÖÄÏÇÏ\n" +#~ " ÓÏÏÂÝÅÎÉÑ, Á ÎÅ ÓÌÉ×ÁÔØ ÐÅÒÅ×ÏÄÙ × ÏÄÉÎ\n" +#~ " -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-" +#~ "ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" +#~ " ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" +#~ " --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" +#~ " -n, --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" +#~ " -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" +#~ " -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" +#~ " -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" +#~ " -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÙÈ ÆÁÊÌÏ×:\n" +#~ " def.po ÐÅÒÅ×ÏÄÙ\n" +#~ " ref.pot ÓÓÙÌËÉ ÎÁ ÉÓÈÏÄÎÉËÉ\n" +#~ " -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ " +#~ "ÆÁÊÌÏ×\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -<, --less-than=þéóìï ×Ù×ÅÓÔÉ ÔÅ ÓÏÏÂÝÅÎÉÑ, ÄÌÑ ËÏÔÏÒÙÈ ÞÉÓÌÏ\n" +#~ " ÏÐÒÅÄÅÌÅÎÉÊ ÍÅÎØÛÅ ÚÁÄÁÎÏÇÏ þéóìá (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ\n" +#~ " ÎÅ ÏÇÒÁÎÉÞÅÎÏ)\n" +#~ " ->, --more-than=þéóìï ×Ù×ÅÓÔÉ ÔÅ ÓÏÏÂÝÅÎÉÑ, ÄÌÑ ËÏÔÏÒÙÈ ÞÉÓÌÏ\n" +#~ " ÏÐÒÅÄÅÌÅÎÉÊ ÂÏÌØÛÅ ÚÁÄÁÎÏÇÏ þéóìá (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ\n" +#~ " ÂÏÌØÛÅ ÏÄÎÏÇÏ)\n" +#~ " -u, --unique ÓÏËÒÁÝÅÎÉÅ ÄÌÑ --less-than=2, " +#~ "ÚÁÐÒÁÛÉ×ÁÅÔ\n" +#~ " ÐÅÞÁÔØ ÔÏÌØËÏ ÕÎÉËÁÌØÎÙÈ ÓÏÏÂÝÅÎÉÊ\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +#~ " -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-\n" +#~ " ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ\n" +#~ " ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á " +#~ "ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ, ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " -i, --indent ÄÅÌÁÔØ ÏÔÓÔÕÐÙ × ×Ù×ÏÄÅ\n" +#~ " --no-location ÎÅ ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line'\n" +#~ " -n, --add-location ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line' (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÕÓÔÁÎÏ×ÉÔØ ÛÉÒÉÎÕ ÓÔÒÁÎÉÃÙ ×Ù×ÏÄÁ ÒÁ×ÎÏÊ " +#~ "þéóìõ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" +#~ " -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" +#~ " -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" +#~ " --omit-header ÎÅ ×Ù×ÏÄÉÔØ ÚÁÇÏÌÏ×ÏË Ó ÐÏÌÅÍ `msgid \"\"'\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ " -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-\n" +#~ " ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ\n" +#~ " ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á " +#~ "ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ, ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " -i, --indent ÄÅÌÁÔØ ÏÔÓÔÕÐÙ × ×Ù×ÏÄÅ\n" +#~ " --no-location ÎÅ ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line'\n" +#~ " --add-location ×Ù×ÏÄÉÔØ ÓÔÒÏËÉ '#: filename:line' (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÕÓÔÁÎÏ×ÉÔØ ÛÉÒÉÎÕ ÓÔÒÁÎÉÃÙ ×Ù×ÏÄÁ ÒÁ×ÎÏÊ " +#~ "þéóìõ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" +#~ " -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" +#~ " -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " ÷èïäîïê-æáêì ×ÈÏÄÎÏÊ PO- ÉÌÉ POT-ÆÁÊÌ\n" +#~ " -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ " +#~ "ÆÁÊÌÏ×\n" +#~ "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " -i, --input=÷èïäîïê-æáêì ×ÈÏÄÎÏÊ PO-ÆÁÊÌ\n" +#~ " -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ " +#~ "ÆÁÊÌÏ×\n" +#~ "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ ÉÌÉ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "ðÏÌÅÚÎÙÅ ëìàþé-æéìøôòá × ÓÌÕÞÁÅ, ÅÓÌÉ æéìøôòïí Ñ×ÌÑÅÔÓÑ 'sed':\n" +#~ " -e, --expression=óãåî ÄÏÂÁ×ÉÔØ óãåî Ë ×ÙÐÏÌÎÑÅÍÙÍ ËÏÍÁÎÄÁÍ\n" +#~ " -f, --file=æáêì-óãåî ÄÏÂÁ×ÉÔØ ÓÏÄÅÒÖÉÍÏÅ ÆÁÊÌÁ æáêì-óãåî Ë \n" +#~ " ×ÙÐÏÌÎÑÅÍÙÍ ËÏÍÁÎÄÁÍ\n" +#~ " -n, --quiet, --silent ×ÙËÌÀÞÉÔØ Á×ÔÏÍÁÔÉÞÅÓËÕÀ ÐÅÞÁÔØ ÏÂÒÁÚÃÁ\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +#~ " --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-" +#~ "ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" +#~ " ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" +#~ " --keep-header ÎÅ ÏÂÒÁÂÁÔÙ×ÁÔØ ÚÁÇÏÌÏ×ÏË\n" +#~ " --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" +#~ " --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" +#~ " -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" +#~ " -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " ÉÍÑ-ÆÁÊÌÁ.po ... ×ÈÏÄÎÙÅ ÆÁÊÌÙ\n" +#~ " -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ " +#~ "ÆÁÊÌÏ×\n" +#~ "åÓÌÉ ×ÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÞÉÔÁÅÔÓÑ ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "òÅÖÉÍ ÒÁÂÏÔÙ:\n" +#~ " -j, --java ÒÅÖÉÍ Java: ÓÏÚÄÁÅÔ ËÌÁÓÓ ResourceBundle\n" +#~ " --java2 ËÁË --java, ÎÏ ÐÒÅÄÐÏÌÁÇÁÅÔ Java2 (JDK 1.2 " +#~ "ÉÌÉ ×ÙÛÅ)\n" +#~ " --tcl ÒÅÖÉÍ Tcl: ÓÏÚÄÁÅÔ .msg-ÆÁÊÌ ÄÌÑ tcl/" +#~ "msgcat\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" +#~ " --strict ×ËÌÀÞÉÔØ ÒÅÖÉÍ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "Uniforum\n" +#~ "åÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÚÁÄÁÎ ËÁË -, ÐÅÞÁÔÁÅÔ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ × ÒÅÖÉÍÅ Tcl:\n" +#~ " -l, --locale=ìïëáìø ÉÍÑ ÌÏËÁÌÉ, ÜÔÏ ÌÉÂÏ ÑÚÙË, ÌÉÂÏ " +#~ "ÑÚÙË_óôòáîá\n" +#~ " -d ëáôáìïç ËÏÒÎÅ×ÏÊ ËÁÔÁÌÏÇ ÉÅÒÁÒÈÉÉ ËÁÔÁÌÏÇÏ× " +#~ "ËÌÁÓÓÏ×\n" +#~ "ëÌÀÞÉ -l É -d ÏÂÑÚÁÔÅÌØÎÙ. .msg-ÆÁÊÌ ÚÁÐÉÓÙ×ÁÅÔÓÑ × ÕËÁÚÁÎÎÙÊ ËÁÔÁÌÏÇ.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "éÎÔÅÒÐÒÅÔÁÃÉÑ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " -c, --check ÐÒÏÉÚ×ÅÓÔÉ ×ÓÅ ÐÒÏ×ÅÒËÉ, ÐÏÄÒÁÚÕÍÅ×ÁÅÍÙÅ " +#~ "ËÌÀÞÁÍÉ\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format ÐÒÏ×ÅÒÉÔØ ÚÁ×ÉÓÑÝÉÅ ÏÔ ÑÚÙËÁ ÆÏÒÍÁÔÎÙÅ " +#~ "ÓÔÒÏËÉ\n" +#~ " --check-header ÐÒÏ×ÅÒÉÔØ ÎÁÌÉÞÉÅ É ÓÏÄÅÒÖÉÍÏÅ ÚÁÇÏÌÏ×ËÁ\n" +#~ " --check-domain ÐÒÏ×ÅÒÉÔØ ÎÁ ËÏÎÆÌÉËÔÙ ÍÅÖÄÕ ÄÉÒÅËÔÉ×ÁÍÉ " +#~ "ÄÏÍÅÎÁ \n" +#~ " É ËÌÀÞÏÍ --output-file\n" +#~ " -C, --check-compatibility ÐÒÏ×ÅÒÉÔØ, ÞÔÏ GNU msgfmt ×ÅÄÅÔ ÓÅÂÑ ÔÁË " +#~ "ÖÅ, \n" +#~ " ËÁË X/Open msgfmt\n" +#~ " --check-accelerators[=úîáë] ÐÒÏ×ÅÒÉÔØ ÎÁÌÉÞÉÅ ËÌÁ×ÉÁÔÕÒÎÙÈ " +#~ "ÜË×É×ÁÌÅÎÔÏ× \n" +#~ " ÄÌÑ ÐÕÎËÔÏ× ÍÅÎÀ\n" +#~ " -f, --use-fuzzy ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ ÎÅÔÏÞÎÙÅ ÐÅÒÅ×ÏÄÙ\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" +#~ " -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" +#~ " -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" +#~ " --statistics ÎÁÐÅÞÁÔÁÔØ ÓÔÁÔÉÓÔÉËÕ Ï ÐÅÒÅ×ÏÄÁÈ\n" +#~ " -v, --verbose Õ×ÅÌÉÞÉÔØ ÐÏÄÒÏÂÎÏÓÔØ ÄÉÁÇÎÏÓÔÉÞÅÓËÉÈ " +#~ "ÓÏÏÂÝÅÎÉÊ\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +#~ " --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-" +#~ "ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" +#~ " ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" +#~ " --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" +#~ " --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" +#~ " --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" +#~ " --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " def.po ÐÅÒÅ×ÏÄÙ, ÓÓÙÌÁÀÝÉÅÓÑ ÎÁ ÓÔÁÒÙÅ ÉÓÈÏÄÎÉËÉ\n" +#~ " ref.pot ÓÓÙÌËÉ ÎÁ ÎÏ×ÙÅ ÉÓÈÏÄÎÉËÉ\n" +#~ " -D, --directory=ëáôáìïç ÄÏÂÁ×ÉÔØ ëáôáìïç Ë ÐÕÔÉ ÐÏÉÓËÁ ×ÈÏÄÎÙÈ " +#~ "ÆÁÊÌÏ×\n" +#~ " -C, --compendium=æáêì ÄÏÐÏÌÎÉÔÅÌØÎÁÑ ÂÉÂÌÉÏÔÅËÁ ÐÅÒÅ×ÏÄÏ× " +#~ "ÓÏÏÂÝÅÎÉÊ, \n" +#~ " ÍÏÖÎÏ ÕËÁÚÙ×ÁÔØ ÎÅÓËÏÌØËÏ ÒÁÚ\n" + +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "íÏÄÉÆÉËÁÔÏÒÙ:\n" +#~ " -m, --multi-domain ÐÒÉÍÅÎÉÔØ ref.pot ËÏ ×ÓÅÍ ÄÏÍÅÎÁÍ ÉÚ def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching ÎÅ ÐÒÉÍÅÎÑÔØ ÎÅÞÅÔËÏÅ ÓÏÐÏÓÔÁ×ÌÅÎÉÅ\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" +#~ " -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" +#~ " -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" +#~ " -v, --verbose Õ×ÅÌÉÞÉÔØ ÐÏÄÒÏÂÎÏÓÔØ ÄÉÁÇÎÏÓÔÉÞÅÓËÉÈ " +#~ "ÓÏÏÂÝÅÎÉÊ\n" +#~ " -q, --quiet, --silent ÎÅ ×Ù×ÏÄÉÔØ ÉÎÄÉËÁÔÏÒ ÐÒÏÇÒÅÓÓÁ\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ × ÒÅÖÉÍÅ Tcl:\n" +#~ " -l, --locale=ìïëáìø ÉÍÑ ÌÏËÁÌÉ, ÜÔÏ ÌÉÂÏ ÑÚÙË, ÌÉÂÏ " +#~ "ÑÚÙË_óôòáîá\n" +#~ " -d ëáôáìïç ËÏÒÎÅ×ÏÊ ËÁÔÁÌÏÇ ÉÅÒÁÒÈÉÉ .msg-ÆÁÊÌÏ×\n" +#~ "ëÌÀÞÉ -l É -d ÏÂÑÚÁÔÅÌØÎÙ. .msg-ÆÁÊÌ ÉÝÅÔÓÑ × ÕËÁÚÁÎÎÏÍ ËÁÔÁÌÏÇÅ.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +#~ " -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-" +#~ "ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" +#~ " ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÓÉÍ×ÏÌÙ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ " +#~ "ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÄÌÉÎÎÙÅ ÓÔÒÏËÉ\n" +#~ " -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "éÎÆÏÒÍÁÃÉÏÎÎÙÊ ×Ù×ÏÄ:\n" +#~ " -h, --help ÐÏËÁÚÁÔØ ÜÔÕ ÓÐÒÁ×ËÕ É ×ÙÊÔÉ\n" +#~ " -V, --version ÐÏËÁÚÁÔØ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n" +#~ " -v, --verbose Õ×ÅÌÉÞÉÔØ ÐÏÄÒÏÂÎÏÓÔØ ÄÉÁÇÎÏÓÔÉÞÅÓËÉÈ " +#~ "ÓÏÏÂÝÅÎÉÊ\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "îÁÈÏÖÄÅÎÉÅ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ:\n" +#~ " -d, --default-domain=éíñ ×Ù×ÏÄÉÔØ × ÆÁÊÌ éíñ.po (×ÍÅÓÔÏ messages." +#~ "po)\n" +#~ " -o, --output-file=æáêì ÚÁÐÉÓÁÔØ ×Ù×ÏÄ × ÕËÁÚÁÎÎÙÊ ÆÁÊÌ\n" +#~ " -p, --output-dir=ëáô ÐÏÍÅÓÔÉÔØ ×ÙÈÏÄÎÙÅ ÆÁÊÌÙ × ËÁÔÁÌÏÇ ëáô\n" +#~ "òÅÚÕÌØÔÁÔÙ ×Ù×ÏÄÑÔÓÑ ÎÁ ÓÔÁÎÄÁÒÔÎÙÊ ×Ù×ÏÄ, ÅÓÌÉ ×ÙÈÏÄÎÏÊ ÆÁÊÌ ÎÅ ÚÁÄÁÎ\n" +#~ "ÉÌÉ ÚÁÄÁÎ ËÁË -.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "ëÌÀÞÉ ÄÌÑ ÑÚÙËÏ× C/C++:\n" +#~ " -a, --extract-all ÉÚ×ÌÅÞØ ×ÓÅ ÓÔÒÏËÉ\n" +#~ " -k, --keyword[=óìï÷ï] ÄÏÐÏÌÎÉÔÅÌØÎÏÅ ËÌÀÞÅ×ÏÅ ÓÌÏ×Ï ÄÌÑ ÐÏÉÓËÁ " +#~ "(ÂÅÚ\n" +#~ " ÚÁÄÁÎÉÑ óìï÷á ÏÂÏÚÎÁÞÁÅÔ, ÞÔÏ ÎÅ ÎÕÖÎÏ \n" +#~ " ÉÓÐÏÌØÚÏ×ÁÔØ ËÌÀÞÅ×ÙÅ ÓÌÏ×Á ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -T, --trigraphs ÐÏÎÉÍÁÔØ ÎÁ ×ÈÏÄÅ ÔÒÉÇÒÁÆÙ ANSI C\n" +#~ " --debug ÂÏÌÅÅ ÐÏÄÒÏÂÎÙÊ ÒÅÚÕÌØÔÁÔ ÒÁÚÂÏÒÁ " +#~ "ÆÏÒÍÁÔÎÏÊ\n" +#~ " ÓÔÒÏËÉ\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "ðÏÄÒÏÂÎÏÓÔÉ ×ÙÈÏÄÎÏÇÏ ÆÏÒÍÁÔÁ:\n" +#~ " -e, --no-escape ÎÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÉ ×Ù×ÏÄÅ escape-" +#~ "ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ\n" +#~ " ÑÚÙËÁ C (ÕÓÔÁÎÏ×ÌÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ)\n" +#~ " -E, --escape ÉÓÐÏÌØÚÏ×ÁÔØ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔÉ, Á ÎÅ\n" +#~ " ÒÁÓÛÉÒÅÎÎÙÅ ÚÎÁËÉ\n" +#~ " --force-po ÚÁÐÉÓÁÔØ PO-ÆÁÊÌ, ÄÁÖÅ ÅÓÌÉ ÏÎ ÐÕÓÔ\n" +#~ " -i, --indent ÆÏÒÍÁÔÉÒÏ×ÁÔØ PO-ÆÁÊÌ, ÉÓÐÏÌØÚÕÑ ÏÔÓÔÕÐÙ\n" +#~ " --no-location ÎÅ ÐÉÓÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ'\n" +#~ " -n, --add-location ÇÅÎÅÒÉÒÏ×ÁÔØ ÓÔÒÏËÉ '#: ÆÁÊÌ:ÓÔÒÏËÁ' (ÐÏ " +#~ "ÕÍÏÌÞÁÎÉÀ)\n" +#~ " --strict ×Ù×ÏÄ × ÒÅÖÉÍÅ ÓÔÒÏÇÏÇÏ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÓÔÁÎÄÁÒÔÕ\n" +#~ " Uniforum\n" +#~ " -w, --width=þéóìï ÚÁÄÁÅÔ ÛÉÒÉÎÕ ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" +#~ " --no-wrap ÎÅ ÒÁÚÂÉ×ÁÔØ ÓÔÒÏËÉ, ÐÒÅ×ÏÓÈÏÄÑÝÉÅ ÐÏ ÄÌÉÎÅ ÛÉÒÉÎÕ\n" +#~ " ×ÙÈÏÄÎÏÊ ÓÔÒÁÎÉÃÙ\n" +#~ " -s, --sort-output ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ\n" +#~ " -F, --sort-by-file ÓÏÒÔÉÒÏ×ÁÔØ ×Ù×ÏÄ ÐÏ ÉÍÅÎÁÍ ÆÁÊÌÏ×\n" +#~ " --omit-header ÎÅ ×Ù×ÏÄÉÔØ ÚÁÇÏÌÏ×ÏË Ó ÐÏÌÅÍ `msgid \"\"'\n" +#~ " --copyright-holder=óôòïëá\n" +#~ " ÚÁÄÁÅÔ ÎÁÉÍÅÎÏ×ÁÎÉÅ ÏÂÌÁÄÁÔÅÌÑ Á×ÔÏÒÓËÉÈ ÐÒÁ×\n" +#~ " --foreign-user ÎÅ ×Ù×ÏÄÉÔØ Õ×ÅÄÏÍÌÅÎÉÅ Ï Á×ÔÏÒÓËÉÈ ÐÒÁ×ÁÈ FSF\n" +#~ " --msgid-bugs-address=áäòåó@üìåëôòïîîïê.ðïþôù\n" +#~ " ÚÁÄÁÅÔ ÁÄÒÅÓ, ËÕÄÁ ÓÌÅÄÕÅÔ ÏÔÐÒÁ×ÌÑÔØ ÏÔÞÅÔ Ï " +#~ "ÏÛÉÂËÁÈ\n" +#~ " × ÏÒÉÇÉÎÁÌØÎÙÈ ÓÏÏÂÝÅÎÉÑÈ\n" +#~ " -m, --msgstr-prefix[=óôòïëá]\n" +#~ " ÉÓÐÏÌØÚÏ×ÁÔØ óôòïëõ ÉÌÉ \"\" ËÁË ÐÒÅÆÉËÓ Ë " +#~ "×ÈÏÖÄÅÎÉÑÍ msgstr\n" +#~ " -M, --msgstr-suffix[=óôòïëá]\n" +#~ " ÉÓÐÏÌØÚÏ×ÁÔØ óôòïëõ ÉÌÉ \"\" ËÁË ÓÕÆÆÉËÓ Ë " +#~ "×ÈÏÖÄÅÎÉÑÍ msgstr\n" diff --git a/gettext-tools/po/sk.po b/gettext-tools/po/sk.po index 10aad57fb..2669c474a 100644 --- a/gettext-tools/po/sk.po +++ b/gettext-tools/po/sk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-tools 0.12-pre4\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-05-06 14:06+0200\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-05-07 11:29+0200\n" "Last-Translator: Marcel Telka \n" "Language-Team: Slovak \n" @@ -57,11 +57,11 @@ msgstr "chyba pri zápise \"%s\"" msgid "error after reading \"%s\"" msgstr "chyba po čítaní \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Neznáma systémová chyba" -#: lib/execute.c:176 lib/execute.c:227 lib/execute.c:262 lib/pipe-bidi.c:174 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 #: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 #: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 #: lib/wait-process.c:147 @@ -470,7 +470,7 @@ msgstr "Znak, ktorý ukončuje direktívu číslo %u nie je číslica medzi 1 a #: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 #: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 -#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:245 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 #: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 #: src/xgettext.c:411 #, c-format, no-wrap @@ -486,27 +486,27 @@ msgstr "" #: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 #: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 -#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:250 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 #: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 #: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Napísal %s.\n" -#: src/hostname.c:187 src/msginit.c:260 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "príliÅ¡ veľa parametrov" #: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 #: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 -#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:335 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 #: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 #: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Skúste `%s --help' a dozviete sa viac informácií.\n" -#: src/hostname.c:204 src/msginit.c:339 +#: src/hostname.c:204 src/msginit.c:344 #, c-format msgid "Usage: %s [OPTION]\n" msgstr "Použitie: %s [VOĽBA]\n" @@ -539,7 +539,7 @@ msgstr " -i, --ip-address adresy pre meno hostiteľa\n" #: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 #: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 -#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:387 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 #: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 #: src/xgettext.c:729 msgid "Informative output:\n" @@ -547,7 +547,7 @@ msgstr "Informatívny výstup:\n" #: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 #: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 -#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:389 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 #: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 #: src/xgettext.c:731 msgid " -h, --help display this help and exit\n" @@ -555,7 +555,7 @@ msgstr " -h, --help zobraziÅ¥ túto nápovedu a skončiÅ¥\n" #: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 #: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 -#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:391 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 #: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 #: src/xgettext.c:733 msgid " -V, --version output version information and exit\n" @@ -563,7 +563,7 @@ msgstr " -V, --version zobraziÅ¥ informáciu o verzii a skončiÅ¥ #: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 #: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 -#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:394 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 #: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 #: src/xgettext.c:736 msgid "Report bugs to .\n" @@ -578,7 +578,7 @@ msgid "could not get host name" msgstr "Nemôžem získaÅ¥ meno hostiteľa" #: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 -#: src/msggrep.c:316 src/msginit.c:191 src/msguniq.c:244 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "povolený najviac jeden vstupný súbor" @@ -609,7 +609,7 @@ msgstr "" #: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 #: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 -#: src/msggrep.c:429 src/msginit.c:349 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 #: src/msguniq.c:305 msgid "" "Mandatory arguments to long options are mandatory for short options too.\n" @@ -617,7 +617,7 @@ msgstr "Povinné parametre pre dlhé voľby sú povinnými aj pre skrátené vo #: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 #: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 -#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:352 src/msgmerge.c:423 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 #: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 msgid "Input file location:\n" msgstr "Umiestnenie vstupného súboru:\n" @@ -644,7 +644,7 @@ msgstr "" #: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 #: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 -#: src/msginit.c:360 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 #: src/xgettext.c:636 msgid "Output file location:\n" msgstr "Umiestnenie výstupného súboru:\n" @@ -747,13 +747,13 @@ msgstr "" #: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 #: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 -#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:368 src/msgmerge.c:476 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 #: src/msguniq.c:332 msgid "Input file syntax:\n" msgstr "Syntax vstupného súboru:\n" #: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 -#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:370 src/msguniq.c:334 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 msgid "" " -P, --properties-input input file is in Java .properties syntax\n" msgstr "" @@ -761,7 +761,7 @@ msgstr "" #: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 #: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 -#: src/msginit.c:373 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 #: src/xgettext.c:689 msgid "Output details:\n" msgstr "Podrobnosti výstupu:\n" @@ -820,19 +820,19 @@ msgstr "" " Uniforum\n" #: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 -#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:379 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 #: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 msgid " -p, --properties-output write out a Java .properties file\n" msgstr " -p, --properties-output zapísaÅ¥ Java súbor .properties\n" #: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 -#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:381 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 #: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 msgid " -w, --width=NUMBER set output page width\n" msgstr " -w, --width=ČÍSLO nastaviÅ¥ šírku výstupnej strany\n" #: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 -#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:383 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 #: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 msgid "" " --no-wrap do not break long message lines, longer than\n" @@ -1784,7 +1784,7 @@ msgstr "" msgid "write to grep subprocess failed" msgstr "zlyhal zápis do podprocesu grep" -#: src/msginit.c:273 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1795,7 +1795,7 @@ msgstr "" "ABOUT-NLS. Toto je potrebné na to, aby ste mohli otestovaÅ¥\n" "vaÅ¡e preklady.\n" -#: src/msginit.c:301 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1806,12 +1806,12 @@ msgstr "" "Zadajte, prosím, národné prostredie pomocou voľby --locale alebo\n" "výstupný .po súbor pomocou voľby --output-file.\n" -#: src/msginit.c:324 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Vytvorený %s.\n" -#: src/msginit.c:344 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1820,11 +1820,11 @@ msgstr "" "Vytvorí nový PO súbor, inicializuje meta informácie podľa hodnôt z prostredia\n" "používateľa.\n" -#: src/msginit.c:354 +#: src/msginit.c:359 msgid " -i, --input=INPUTFILE input POT file\n" msgstr " -i, --input=VSTUPNÝSÚBOR vstupný POT súbor\n" -#: src/msginit.c:356 +#: src/msginit.c:361 msgid "" "If no input file is given, the current directory is searched for the POT " "file.\n" @@ -1834,11 +1834,11 @@ msgstr "" "adresári.\n" "Ak je -, načítaný je Å¡tandardný vstup.\n" -#: src/msginit.c:362 +#: src/msginit.c:367 msgid " -o, --output-file=FILE write output to specified PO file\n" msgstr " -o, --output-file=SÚBOR zapísaÅ¥ výstup do zadaného PO súboru\n" -#: src/msginit.c:364 +#: src/msginit.c:369 msgid "" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" @@ -1847,18 +1847,18 @@ msgstr "" "nastavenia národného prostredia používateľa. Ak je -, výstup je zapísaný na\n" "Å¡tandardný výstup.\n" -#: src/msginit.c:375 +#: src/msginit.c:380 msgid " -l, --locale=LL_CC set target locale\n" msgstr " -l, --locale=LL_CC nastaviÅ¥ cieľové národné prostredie\n" -#: src/msginit.c:377 +#: src/msginit.c:382 msgid "" " --no-translator assume the PO file is automatically generated\n" msgstr "" " --no-translator označiÅ¥, že PO súbor je generovaný " "automaticky\n" -#: src/msginit.c:431 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1866,11 +1866,11 @@ msgstr "" "Nájdených viac ako jeden .pot súbor.\n" "Prosím zadajte vstupný .pot súbor pomocou voľby --input.\n" -#: src/msginit.c:439 src/msginit.c:444 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "chyba pri čítaní adresára" -#: src/msginit.c:452 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1878,23 +1878,23 @@ msgstr "" "V aktuálnom adresári nebol nájdený žiaden .pot súbor.\n" "Prosím zadajte vstupný .pot súbor pomocou voľby --input.\n" -#: src/msginit.c:900 src/msginit.c:952 src/msginit.c:1095 src/msginit.c:1162 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 #: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() zlyhalo" -#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "V/V chyba podprocesu %s" -#: src/msginit.c:914 src/msginit.c:966 src/msginit.c:1109 src/msginit.c:1176 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 #: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "podproces %s zlyhal s ukončovacím kódom %d" -#: src/msginit.c:1085 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1911,17 +1911,17 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1444 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Slovenské preklady pre balík %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "aktuálna znaková sada \"%s\" nie je prenositeľné meno kódovania" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "dve rozdielne znakové sady \"%s\" a \"%s\" vo vstupnom súbore" @@ -1940,7 +1940,7 @@ msgid "" msgstr "" "doména \"%s\" vo vstupnom súbore \"%s\" nemá v hlavičke uvedenú znakovú sadu" -#: src/msgl-cat.c:380 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "cieľová znaková sada \"%s\" nie je prenositeľné meno kódovania." @@ -2027,15 +2027,15 @@ msgstr "" "Výstup z '%s' môže byÅ¥ nesprávny.\n" "Možnou obchádzkou je nastavenie LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "konverzia zlyhala" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "vstupný súbor nemá v hlavičke uvedenú znakovú sadu" -#: src/msgl-iconv.c:353 src/xgettext.c:501 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -2044,7 +2044,7 @@ msgstr "" "Nemôžem konvertovaÅ¥ z \"%s\" do \"%s\". %s spolieha na iconv() a iconv() " "nepodporuje takúto konverziu." -#: src/msgl-iconv.c:370 src/xgettext.c:508 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " diff --git a/gettext-tools/po/sl.po b/gettext-tools/po/sl.po index 855df37b6..a02459e10 100644 --- a/gettext-tools/po/sl.po +++ b/gettext-tools/po/sl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext-tools 0.12-pre4\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-05-06 14:06+0200\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-05-08 16:11+0200\n" "Last-Translator: Primo¾ Peterlin \n" "Language-Team: Slovenian \n" @@ -59,11 +59,11 @@ msgstr "napaka pri pisanju na \"%s\"" msgid "error after reading \"%s\"" msgstr "napaka po branju \"%s\"" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Neznana sistemska napaka" -#: lib/execute.c:176 lib/execute.c:227 lib/execute.c:262 lib/pipe-bidi.c:174 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 #: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 #: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 #: lib/wait-process.c:147 @@ -450,7 +450,7 @@ msgstr "" #: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 #: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 -#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:245 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 #: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 #: src/xgettext.c:411 #, c-format, no-wrap @@ -466,27 +466,27 @@ msgstr "" #: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 #: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 -#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:250 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 #: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 #: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Avtor %s.\n" -#: src/hostname.c:187 src/msginit.c:260 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "preveè argumentov" #: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 #: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 -#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:335 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 #: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 #: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Poskusite ,%s --help` za izèrpnej¹a navodila\n" -#: src/hostname.c:204 src/msginit.c:339 +#: src/hostname.c:204 src/msginit.c:344 #, c-format msgid "Usage: %s [OPTION]\n" msgstr "Uporaba: %s [IZBIRA]\n" @@ -519,7 +519,7 @@ msgstr " -i, --ip-address internetni naslov za gostiteljsko ime\n" #: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 #: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 -#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:387 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 #: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 #: src/xgettext.c:729 msgid "Informative output:\n" @@ -527,7 +527,7 @@ msgstr "Informativni izpis:\n" #: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 #: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 -#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:389 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 #: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 #: src/xgettext.c:731 msgid " -h, --help display this help and exit\n" @@ -535,7 +535,7 @@ msgstr " -h, --help ta navodila\n" #: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 #: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 -#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:391 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 #: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 #: src/xgettext.c:733 msgid " -V, --version output version information and exit\n" @@ -543,7 +543,7 @@ msgstr " -V, --version razli #: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 #: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 -#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:394 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 #: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 #: src/xgettext.c:736 msgid "Report bugs to .\n" @@ -554,7 +554,7 @@ msgid "could not get host name" msgstr "gostiteljskega imena ni moè ugotoviti" #: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 -#: src/msggrep.c:316 src/msginit.c:191 src/msguniq.c:244 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "dovoljena je najveè ena vhodna datoteka" @@ -585,7 +585,7 @@ msgstr "" #: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 #: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 -#: src/msggrep.c:429 src/msginit.c:349 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 #: src/msguniq.c:305 msgid "" "Mandatory arguments to long options are mandatory for short options too.\n" @@ -595,7 +595,7 @@ msgstr "" #: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 #: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 -#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:352 src/msgmerge.c:423 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 #: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 msgid "Input file location:\n" msgstr "Izbira vhodne datoteke:\n" @@ -622,7 +622,7 @@ msgstr "" #: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 #: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 -#: src/msginit.c:360 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 #: src/xgettext.c:636 msgid "Output file location:\n" msgstr "Izbira izhodne datoteke:\n" @@ -728,20 +728,20 @@ msgstr "" #: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 #: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 -#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:368 src/msgmerge.c:476 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 #: src/msguniq.c:332 msgid "Input file syntax:\n" msgstr "" #: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 -#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:370 src/msguniq.c:334 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 msgid "" " -P, --properties-input input file is in Java .properties syntax\n" msgstr "" #: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 #: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 -#: src/msginit.c:373 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 #: src/xgettext.c:689 msgid "Output details:\n" msgstr "Podrobnosti izpisa:\n" @@ -798,19 +798,19 @@ msgstr "" "GNU\n" #: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 -#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:379 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 #: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 msgid " -p, --properties-output write out a Java .properties file\n" msgstr "" #: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 -#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:381 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 #: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 msgid " -w, --width=NUMBER set output page width\n" msgstr " -w, --width=©TEVILO ¹irina strani pri izpisu, v znakih\n" #: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 -#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:383 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 #: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 msgid "" " --no-wrap do not break long message lines, longer than\n" @@ -1772,7 +1772,7 @@ msgstr "" msgid "write to grep subprocess failed" msgstr "pisanje podprocesu grep neuspe¹no" -#: src/msginit.c:273 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1782,7 +1782,7 @@ msgstr "" "spremenljivko LANG, kot je opisano v datoteki ABOUT-NLS.\n" "Brez tega ne morete preizkusiti va¹ih prevodov.\n" -#: src/msginit.c:301 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1793,12 +1793,12 @@ msgstr "" "Prosim, izberite jezikovno okolje z izbiro --locale, ali pa\n" "doloèite izhodno datoteko PO z izbiro --output-file.\n" -#: src/msginit.c:324 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Ustvarjena datoteka %s.\n" -#: src/msginit.c:344 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1807,11 +1807,11 @@ msgstr "" "Ustvarimo novo datoteko PO in metainformacije dopolnimo z vrednostmi iz\n" "uporabnikovega jezikovnega okolja.\n" -#: src/msginit.c:354 +#: src/msginit.c:359 msgid " -i, --input=INPUTFILE input POT file\n" msgstr " -i, --input=DATOTEKA vhodna datoteka POT\n" -#: src/msginit.c:356 +#: src/msginit.c:361 msgid "" "If no input file is given, the current directory is searched for the POT " "file.\n" @@ -1821,11 +1821,11 @@ msgstr "" "imeniku.\n" "Èe je enaka -, se bere standardni vhod.\n" -#: src/msginit.c:362 +#: src/msginit.c:367 msgid " -o, --output-file=FILE write output to specified PO file\n" msgstr " -o, --output-file=DATOTEKA izhod zapisujemo v navedeno DATOTEKO\n" -#: src/msginit.c:364 +#: src/msginit.c:369 msgid "" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" @@ -1834,18 +1834,18 @@ msgstr "" "nastavitev uporabnikovega jezikovnega okolja. Èe je kot izhodna datoteka \n" "podan -, se rezultat izpi¹e na standardni izhod.\n" -#: src/msginit.c:375 +#: src/msginit.c:380 msgid " -l, --locale=LL_CC set target locale\n" msgstr " -l, --locale=JJ_DD doloèitev ciljnega jezikovnega okolja\n" -#: src/msginit.c:377 +#: src/msginit.c:382 msgid "" " --no-translator assume the PO file is automatically generated\n" msgstr "" " --no-translator privzamemo, da je datoteka PO samodejno " "ustvarjena\n" -#: src/msginit.c:431 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1853,11 +1853,11 @@ msgstr "" "Na¹li smo veè kot eno datoteko .pot.\n" "Prosim, doloèite vhodno datoteko .pot z izbiro --input.\n" -#: src/msginit.c:439 src/msginit.c:444 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "napaka pri branju trenutnega imenika" -#: src/msginit.c:452 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1865,23 +1865,23 @@ msgstr "" "V trenutnem imeniku ni najti nobene datoteke .pot.\n" "Prosim, doloèite vhodno datoteko .pot z izbiro --input.\n" -#: src/msginit.c:900 src/msginit.c:952 src/msginit.c:1095 src/msginit.c:1162 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 #: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "klic fdopen() neuspe¹en" -#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "V/I napaka v podprocesu %s" -#: src/msginit.c:914 src/msginit.c:966 src/msginit.c:1109 src/msginit.c:1176 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 #: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "podproces %s neuspe¹en z izhodno kodo %d" -#: src/msginit.c:1085 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1896,17 +1896,17 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1444 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Slovenski prevodi paketa %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "trenutno izbrani nabor \"%s\" ni prenosljivo ime kodnega nabora" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "v vhodni datoteki sta dva razlièna nabora znakov, \"%s\" in \"%s\"" @@ -1926,7 +1926,7 @@ msgstr "" "domena \"%s\" v vhodni datoteki ,%s` ne vsebuje glave z doloèitvijo nabora " "znakov<" -#: src/msgl-cat.c:380 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "ciljni nabor \"%s\" ni prenosljivo ime kodnega nabora." @@ -2012,15 +2012,15 @@ msgstr "" "Izhod ,%s` bo morda napaèen.\n" "Mogoèa re¹itev za to te¾avo je, da nastavite LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "pretvorba neuspe¹na" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "v vhodni datoteki manjka glava z doloèilom kodnega nabora" -#: src/msgl-iconv.c:353 src/xgettext.c:501 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -2029,7 +2029,7 @@ msgstr "" "Pretvorba iz \"%s\" v \"%s\" ni mogoèa. %s klièe iconv(), ta pa ne podpira " "te pretvorbe." -#: src/msgl-iconv.c:370 src/xgettext.c:508 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " diff --git a/gettext-tools/po/sv.po b/gettext-tools/po/sv.po index dc99e37c2..73e77c4d3 100644 --- a/gettext-tools/po/sv.po +++ b/gettext-tools/po/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: gettext-tools 0.12-pre1\n" "Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" -"POT-Creation-Date: 2003-03-13 13:29+0100\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2003-02-26 19:42+0100\n" "Last-Translator: Jan Djärv \n" "Language-Team: Swedish \n" @@ -30,9 +30,9 @@ msgstr "tvetydigt argument \"%s\" f msgid "Valid arguments are:" msgstr "Giltiga argument är:" -#: lib/copy-file.c:64 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:896 src/xgettext.c:909 -#: src/xgettext.c:919 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "fel uppstod när \"%s\" öppnades för läsning" @@ -57,13 +57,14 @@ msgstr "fel vid skrivning till \"%s\"" msgid "error after reading \"%s\"" msgstr "fel efter \"%s\" lästes" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Okänt systemfel" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s-barnprocess misslyckades" @@ -123,7 +124,7 @@ msgstr "%s: flaggan \"-W %s\" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flaggan \"-W %s\" tar inget argument\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "Javakompilator hittades inte, försök installera gcj eller sätt $JAVAC" @@ -132,22 +133,23 @@ msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "" "Virtuell Javamaskin hittades inte, försök installera gij eller sätt $JAVA" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "minnet slut" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "kan inte skapa rör" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s-barnprocess" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s-barnprocess fick ödesdiger signal %d" @@ -452,11 +454,11 @@ msgid "" "1 and 9." msgstr "" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:404 +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -468,101 +470,126 @@ msgstr "" "INGEN garanti; inte ens för SÄLJBARHET eller LÄMPLIGHET FÖR NÅGOT SPECIELLT\n" "ÄNDAMÅL.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:409 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "Skrivet av %s.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "för många argument" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:403 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:600 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Försök med \"%s --help\" för mer information.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Användning: %s [FLAGGA]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Visa maskinens värdnamn.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Resultatformat:\n" " -s, --short kort värdnamn\n" -" -f, --fqdn, --long långt värdnamn, innehåller hela domännamnet och alias\n" +" -f, --fqdn, --long långt värdnamn, innehåller hela domännamnet och " +"alias\n" " -i, --ip-address adresser för värdnamnet\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:487 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Informativ utskrift:\n" " -h, --help visa denna hjälptext och avsluta\n" " -V, --version visa versionsinformation och avsluta\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:493 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:706 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "" "Rapportera fel till .\n" "Rapportera fel och synpunkter på översättningen till .\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "kunde inte hämta värdnamn" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "högst en infil tillåten" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:419 -#: src/xgettext.c:423 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s och %s är ömsesidigt uteslutande" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:408 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Användning: %s [FLAGGA] [INFIL]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -571,126 +598,250 @@ msgstr "" "Filtrerar meddelanden i en meddelandekatalog efter deras attribut och\n" "manipulerar attributen.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:419 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Obligatoriska argument för långa flaggor är obligatoriska även för korta.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Obligatoriska argument för långa flaggor är obligatoriska även för korta.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:424 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "inga infiler givna" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "Plats för infil:\n" -" INFIL PO-infil\n" -" -D, --directory=KATALOG sök infiler även i KATALOG\n" +" FIL ... .mo-infiler\n" "Om ingen infil är given eller om den är - läses standard in.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:432 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "Plats för utfil:\n" -" -o, --output-file=FIL skriv resultat till angiven fil\n" +" -o, --output-file=FIL skriv resultat till angiven fil\n" "Resultatet skrivs till standard ut om ingen utfil anges eller om den är -.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"Meddelandeval:\n" -" --translated behåll översatta, ta bort oöversatta meddelanden\n" -" --untranslated behåll oöversatta, ta bort översatta meddelanden\n" -" --no-fuzzy ta bort meddelanden markerade som \"fuzzy\"\n" -" --only-fuzzy behåll meddelanden markerade som \"fuzzy\"\n" -" --no-obsolete ta bort föråldrade #~ meddelanden\n" -" --only-obsolete behåll föråldrade #~ meddelanden\n" #: src/msgattrib.c:394 -#, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Attributmanipulation:\n" -" --set-fuzzy markera alla meddelanden som \"fuzzy\"\n" -" --clear-fuzzy ta bort \"fuzzy\"-markering från alla meddelanden\n" -" --set-obsolete markera alla meddelanden som föråldrade\n" -" --clear-obsolete ta bort föråldrad-markering från alla meddelanden\n" -" --only-file=FIL.po bearbeta bara poster som finns i FIL.po\n" -" --ignore-file=FIL.po bearbeta bara poster som inte finns i FIL.po\n" -" --fuzzy samma som --only-fuzzy --clear-fuzzy\n" -" --obsolete samma som --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Resultatdetaljer:\n" -" -e, --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" -E, --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" -i, --indent indentera resultatet\n" -" --no-location skriv inte rader med \"#: filnamn:rad\"\n" -" -n, --add-location skriv rader med \"#: filnamn:rad\" (normalläge)\n" -" --strict strikt Uniforum-format på resultatet\n" +msgstr "" +"Utdatadetaljer:\n" +" -l, --locale=LL_CC sätt mållokal\n" +" --no-translator antag att PO-filen är automatgenererad\n" " -w, --width=ANTAL välj antal kolumner i resultatet\n" " --no-wrap dela inte meddelanden som är längre än\n" " resultatets kolumnantal i flera rader\n" -" -s, --sort-output sortera resultatet\n" -" -F, --sort-by-file sortera resultatet efter filposition\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "omöjligt urvalskriterium angivet (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:605 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Användning: %s [FLAGGA] [INFIL]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -713,117 +864,67 @@ msgstr "" "utom om --use-first ges. Då tas de endast från den första PO-filen som\n" "definierar dem. Filpositioner från alla filer bevaras.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:621 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Plats för infil:\n" -" INFIL ... infiler\n" -" -f, --files-from=FIL läs lista av infiler från FIL\n" -" -D, --directory=KATALOG sök infiler även i KATALOG\n" -"Om infil är - läses standard in.\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Plats för utfil:\n" -" -o, --output-file=FIL skriv resultat till angiven fil\n" -"Resultatet skrivs till standard ut om ingen utfil anges eller om den är -.\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"Meddelandeval:\n" -" -<, --less-than=ANTAL skriv meddelanden med färre än ANTAL\n" -" definitioner. Standardvärde: oändligt\n" -" ->, --more-than=ANTAL skriv meddelanden med fler än ANTAL\n" -" definitioner. Standardvärde: 0\n" -" -u, --unique samma som --less-than=2, begär att\n" -" endast unika meddelanden skrivs\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Resultatdetaljer:\n" -" -t, --to-code=NAMN kodning för resultatet\n" -" --use-first använd först hittade översättning för varje\n" -" meddelande, slå inte ihop översättningar\n" -" -e, --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" -E, --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" -i, --indent indentera resultatet\n" -" --no-location skriv inte rader med \"#: filnamn:rad\"\n" -" -n, --add-location skriv rader med \"#: filnamn:rad\" (normalläge)\n" -" --strict strikt Uniforum-format på resultatet\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -" -s, --sort-output sortera resultatet\n" -" -F, --sort-by-file sortera resultatet efter filposition \n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:700 -#, no-wrap +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Informativ utskrift:\n" -" -h, --help visa denna hjälptext och avsluta\n" -" -V, --version visa versionsinformation och avsluta\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "inga infiler givna" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "exakt 2 infiler krävs" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Användning: %s [FLAGGA] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -841,57 +942,56 @@ msgstr "" "programmet. Om en exakt likhet inte kan hittas används luddig jämförelse \n" "för att ge bättre felmeddelanden.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"Plats för infil:\n" -" def.po översättningar\n" -" ref.pot referenser till källkod\n" -" -D, --directory=KATALOG sök infiler även i KATALOG\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "Bearbetningsvarianter:\n" " -m, --multi-domain tillämpa ref.pot till alla domäner i def.po\n" -#: src/msgcmp.c:265 src/msgmerge.c:888 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "detta meddelande används men är inte definierat..." -#: src/msgcmp.c:267 src/msgmerge.c:890 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...men denna definition är likartad" -#: src/msgcmp.c:272 src/msgmerge.c:917 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "detta meddelande används men är inte definierat i %s" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "varning: detta meddelande används inte" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "%d allvarligt fel hittat" msgstr[1] "%d allvarliga fel hittades" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "minst två filer måste anges" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -912,124 +1012,68 @@ msgstr "" "endast från den första PO-filen som definierar dem. Filpositioner från\n" "alla filer bevaras.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"Meddelandeval:\n" -" -<, --less-than=ANTAL skriv meddelanden med färre än ANTAL\n" -" definitioner. Standardvärde: oändligt\n" -" ->, --more-than=ANTAL skriv meddelanden med fler än ANTAL\n" -" definitioner. Standardvärde: 1\n" -" -u, --unique samma som --less-than=2, begär att\n" -" endast unika meddelanden skrivs\n" - -#: src/msgcomm.c:363 -#, no-wrap + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -msgstr "" -"Resultatdetaljer:\n" -" -e, --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" -E, --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" -i, --indent indentera resultatet\n" -" --no-location skriv inte rader med \"#: filnamn:rad\"\n" -" -n, --add-location skriv rader med \"#: filnamn:rad\" (normalläge)\n" -" --strict strikt Uniforum-format på resultatet\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -" -s, --sort-output sortera resultatet\n" -" -F, --sort-by-file sortera resultatet efter filposition\n" -" --omit-header skriv inte ut huvudet med 'msgid \"\"'\n" - -#: src/msgconv.c:257 -#, no-wrap +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "Konverterar en meddelandekatalog till en annan teckenkodning.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "konverteringsfel" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Konverteringsmål:\n" " -t, --to-code=NAMN Kodning för utdata\n" "Standardvärde är nuvarande lokals kodning.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Resultatdetaljer:\n" -" -e, --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" -E, --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" -i, --indent indentera resultatet\n" -" --no-location ta bort rader med \"#: filnamn:rad\"\n" -" --add-location bevara rader med \"#: filnamn:rad\" (normalläge)\n" -" --strict strikt Uniforum-format på resultatet\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -" -s, --sort-output sortera resultatet\n" -" -F, --sort-by-file sortera resultatet efter filposition\n" +msgstr "" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:440 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "inga infiler givna" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "exakt en infil krävs" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Användning: %s [FLAGGA] INFIL\n" -#: src/msgen.c:242 +#: src/msgen.c:252 #, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" @@ -1042,29 +1086,20 @@ msgstr "" "Oöversatta poster ges en översättning som är identisk med msgid samt\n" "markeras som luddig.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"Plats för infil:\n" -" INFIL PO- eller POT-infil\n" -" -D, --directory=KATALOG sök infiler även i KATALOG\n" -"Om infil är - läses standard in.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "kommandonamn saknas" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Användning: %s [FLAGGA] KOMMANDO [KOMMANDOFLAGGOR]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -1079,7 +1114,7 @@ msgstr "" "blir utdata från msgexec. Slutstatusvärdet för msgexec är det maximala\n" "slutstatusvärdet för alla kommandokörningar.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -1089,48 +1124,37 @@ msgstr "" "av ett nolltecken. Utdata för \"msgexec 0\" är lämpligt som indata för\n" "\"xargs -O\"\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"Plats för infil:\n" -" -i, --input=INFIL PO-infil\n" -" -D, --directory=KATALOG sök infiler även i KATALOG\n" -"Om ingen infil är given eller om den är - läses standard in.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "skrivning till standard ut misslyckades" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "skrivning till %s-barnprocess misslyckades" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "filternamn saknas" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "minst ett sed-skript måste anges" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Användning: %s [FLAGGA] FILTER [FILTERFLAGGOR]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Tillämpar ett filter på alla översättningar i en meddelandekatalog.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -1138,72 +1162,61 @@ msgstr "" "FILTER kan vara vilket program som helst som läser en översättning från\n" "standard in och skriver den modifierade översättningen till standard ut.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"Användbara FILTERFLAGGOR när FILTER är \"sed\":\n" -" -e, --expression=SKRIPT lägg till SKRIPT till kommandon att exekvera\n" -" -f, --file=SKRIPTFIL lägg till innehållet i SKRIPTFIL till kommandon\n" -" att exekvera\n" -" -n, --quiet, --silent undertryck automatisk utskrift av resultat\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -msgstr "" -"Resultatdetaljer:\n" -" --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" -E, --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" --indent indentera resultatet\n" -" --keep-header bevara huvudrader oförändrade, filtrera dem inte\n" -" --no-location ta bort rader med \"#: filnamn:rad\"\n" -" --add-location bevara rader med \"#: filnamn:rad\" (normalläge)\n" -" --strict strikt Uniforum-format på resultatet\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -" -s, --sort-output sortera resultatet\n" -" -F, --sort-by-file sortera resultatet efter filposition\n" +msgstr "" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "kan inte sätta upp icke-blockerande I/O till %s-barnprocess" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "kommunikation med %s-barnprocess misslyckades" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "läsning från %s-barnprocess misslyckades" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "%s-barnprocess avslutade med slutstatus %d" @@ -1213,18 +1226,18 @@ msgstr "%s-barnprocess avslutade med slutstatus %d" msgid "the argument to %s should be a single punctuation character" msgstr "argumentet till %s ska vara ett enskilt skiljetecken" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s kräver att \"-d katalog\" anges" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s kräver att \"-l lokal\" anges" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s är endast giltig med %s" @@ -1234,84 +1247,103 @@ msgstr "%s msgid "%s is only valid with %s or %s" msgstr "%s är endast giltig med %s eller %s" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d översatt meddelande" msgstr[1] "%d översatta meddelanden" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d luddig översättning" msgstr[1] ", %d luddiga översättningar" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d oöversatt meddelande" msgstr[1] ", %d oöversatta meddelanden" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Användning: %s [FLAGGA] filnamn.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" -msgstr "Generera en binär meddelandekatalog från en textuell meddelandekatalog.\n" +msgstr "" +"Generera en binär meddelandekatalog från en textuell meddelandekatalog.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"Obligatoriska argument för långa flaggor är obligatoriska även för korta.\n" +"Motsvarande gäller för frivilliga argument.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"Plats för infil:\n" -" filenamn.po ... infiler\n" -" -D, --directory=KATALOG sök infiler även i KATALOG\n" -"Om infil är - läses standard in.\n" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -"Körläge:\n" -" -j, --java Javaläge: generera en Java ResourceBundle-klass\n" -" --java2 som --java, och anta Java2 (JDK 1.2 eller högre)\n" -" --tcl Tcl-läge: generera en .msg-fil av tcl/msgcat-typ\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Plats för utfil:\n" -" -o, --output-file=UTFIL skriv resultatet till UTFIL\n" -" --strict strikt Uniforum-format på resultatet\n" -"Om UTFIL är - skrivs resultatet till standard ut.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" @@ -1323,143 +1355,158 @@ msgstr "" "avskiljt med ett understreck. Flaggan -d är obligatorisk. Klassen skrivs\n" "till den givna katalogen.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Plats för utfil i Tcl-läge:\n" -" -l, --locale=LOKAL lokalnamn, antingen språk eller språk_LAND\n" -" -d KATALOG startkatalog för .msg-meddelandekataloger\n" -"Flaggorna -l och -d är obligatoriska. .msg-filen skrivs till den givna \n" -"katalogen.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"Tolkning av infil:\n" -" -c, --check utför alla kontroller som bestäms av\n" -" --check-format, --check-header, --check-domain\n" -" --check-format kontrollera språkberoende formatsträngar\n" -" --check-header verifiera närvaro och innehåll av huvudrader\n" -" --check-domain kontrollera efter konflikter mellan\n" -" domändirektiv och flaggan --output-file\n" -" -C, --check-compatibility kontrollera att GNU msgfmt uppför sig som\n" -" X/Open msgfmt\n" -" --check-accelerators[=TKN] kontrollera närvaron av tangentkortkommandon\n" -" för menyer\n" -" -f, --use-fuzzy använd luddiga poster i resultatet\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap +msgstr "" + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Utdatadetaljer:\n" " -a, --alignment=TAL lägg strängar på jämna TAL byte (normalt: %d)\n" " --no-hash binärfil innehåller inte hashtabellen\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Utdatadetaljer:\n" +" -a, --alignment=TAL lägg strängar på jämna TAL byte (normalt: %d)\n" +" --no-hash binärfil innehåller inte hashtabellen\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -"Informativ utskrift:\n" -" -h, --help visa denna hjälptext och avsluta\n" -" -V, --version visa versionsinformation och avsluta\n" -" --statistics skriv ut statistik om översättningarna\n" -" -v, --verbose öka mängden information i meddelanden\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "pluraluttryck kan producera negativa värden" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "nplurals = %lu men pluraluttryck kan ge värden upp till %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "pluraluttryck kan ge division med noll" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "pluraluttryck kan ge överflöde av heltal" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "pluraluttryck kan ge aritmetiska fel, möjligen division med noll" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "meddelandekatalog har översättningar med pluralform..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...men huvudrader saknar attribut av typ \"plurals=UTTRYCK\"" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...men huvudrader saknar attribut av typ \"plurals=HELTAL\"" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "ogiltigt värde för nplurals" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "ogiltigt pluraluttryck" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...men några meddelanden har bara en pluralform" msgstr[1] "...men några meddelanden har bara %lu pluralformer" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...men några meddelanden har en pluralform" msgstr[1] "...men några meddelanden har %lu pluralformer" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Försök använda den här, gäller för \"%s\":\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1467,131 +1514,123 @@ msgstr "" "meddelandekatalog har översättningar med pluralformer, men saknar huvudrad " "med \"Plural-Forms: nplurals=HELTAL; plural=UTTRYCK;\"" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "\"msgid\"- och \"msgid_plural\"-raderna börjar inte båda med \"\\n\"" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "\"msgid\"- och \"msgstr[%u]\"-raderna börjar inte båda med \"\\n\"" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "\"msgid\"- och \"msgstr\"-raderna börjar inte båda med \"\\n\"" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "\"msgid\"- och \"msgid_plural\"-raderna slutar inte båda med \"\\n\"" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "\"msgid\"- och \"msgstr[%u]\"-raderna slutar inte båda med \"\\n\"" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "\"msgid\"- och \"msgstr\"-raderna slutar inte båda med \"\\n\"" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "hantering av plural är en utökning i GNU gettext" -#: src/msgfmt.c:1161 +#: src/msgfmt.c:1178 #, fuzzy, c-format msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" "\"%s\" är inte en giltig formatsträng i %s, till skillnad från \"msgid\"" -#: src/msgfmt.c:1203 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "msgstr saknar märket \"%c\" för tangentkortkommandon" -#: src/msgfmt.c:1211 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "msgstr har för många märken \"%c\" för tangentkortkommandon" -#: src/msgfmt.c:1245 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "huvudrad \"%s\" saknas i huvudet\n" -#: src/msgfmt.c:1249 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "huvudrad \"%s\" bör ligga i början på raden\n" -#: src/msgfmt.c:1260 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "vissa huvudrader har kvar initiala standardvärden\n" -#: src/msgfmt.c:1272 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "huvudrad \"%s\" har kvar initialt standardvärde\n" -#: src/msgfmt.c:1312 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "varning: PO-filens huvudrader saknas eller är ogiltiga\n" -#: src/msgfmt.c:1315 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "" "varning: konvertering till användarens teckenuppsättning kommer att " "misslyckas.\n" -#: src/msgfmt.c:1325 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "varning: PO-filens huvudrader är luddiga\n" -#: src/msgfmt.c:1327 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "varning: äldre versioner av msgfmt ger ett fel för detta\n" -#: src/msgfmt.c:1350 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "domännamnet \"%s\" är inte lämpligt som filnamn" -#: src/msgfmt.c:1355 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "domännamnet \"%s\" är inte lämpligt som filnamn: använder ett prefix" -#: src/msgfmt.c:1366 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "direktivet \"domain %s\" ignoreras" -#: src/msgfmt.c:1402 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "meddelandedefinitionen är dubblerad" - -#: src/msgfmt.c:1403 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...detta är platsen för den första definitionen" - -#: src/msgfmt.c:1437 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "tom \"msgstr\"-rad ignorerad" -#: src/msgfmt.c:1438 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "luddig \"msgstr\"-rad ignorerad" -#: src/msgfmt.c:1505 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: varning: källfilen innehåller luddiga översättningar" -#: src/msggrep.c:392 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "flagga \"%c\" kan inte användas förrän \"K\" eller \"T\" angivits" -#: src/msggrep.c:413 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1600,8 +1639,8 @@ msgstr "" "Extraherar alla meddelanden i en meddelandekatalog som matchar ett visst\n" "mönster eller hör till någon given källkodsfil.\n" -#: src/msggrep.c:440 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1624,6 +1663,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1658,44 +1698,24 @@ msgstr "" " -f, --file=FIL hämta MÖNSTER från FIL\n" " -i, --ignore-case versaler och gemener jämförs lika\n" -#: src/msggrep.c:470 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" -msgstr "" -"Resultatdetaljer:\n" -" --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" --indent indentera resultatet\n" -" --no-location ta bort rader med \"#: filnamn:rad\"\n" -" --add-location bevara rader med \"#: filnamn:rad\" (normalläge)\n" -" --strict strikt Uniforum-format på resultatet\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -" --sort-output sortera resultatet\n" -" --sort-by-file sortera resultatet efter filposition\n" +msgstr "" + +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" -#: src/msggrep.c:554 +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "skrivning till grep barnprocess misslyckades" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1705,7 +1725,7 @@ msgstr "" "LANG såsom beskrivs i filen ABOUT-NLS. Detta är nödvändigt för att\n" "du ska kunna testa dina översättningar.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1716,12 +1736,12 @@ msgstr "" "Ange lokal med flaggan --locale eller\n" ".po-utfilen med flaggan --output-file.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "Skapade %s.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" @@ -1730,12 +1750,15 @@ msgstr "" "Skapar en ny PO-fil och initierar metainformation med värden från\n" "användarens miljövariabler.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "Plats för infil:\n" @@ -1743,11 +1766,13 @@ msgstr "" "Om ingen infil ges söks POT-filen i aktuell katalog.\n" "Om den är - läses standard in.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" @@ -1756,24 +1781,16 @@ msgstr "" "Om ingen utfil ges beror den på flaggan --locale eller användarens\n" "lokalinställning. Om den är - skrivs resultatet till standard ut.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Utdatadetaljer:\n" -" -l, --locale=LL_CC sätt mållokal\n" -" --no-translator antag att PO-filen är automatgenererad\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1781,11 +1798,11 @@ msgstr "" "Hittade fler än en .pot-fil.\n" "Ange .pot-infil med flaggan --input.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "fel vid läsning av aktuell katalog" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1793,23 +1810,23 @@ msgstr "" "Hittade ingen .pot-fil i aktuell katalog.\n" "Ange .pot-infil med flaggan --input.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() misslyckades" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "I/O-fel i %s-barnprocess" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s-barnprocess terminerade med slutstatus %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1824,28 +1841,28 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "Svenska översättningar för paket %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "nuvarande teckenuppsättning \"%s\" är inte ett portabelt kodningsnamn" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "två olika teckenuppsättningar \"%s\" och \"%s\" i infilen" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "infilen \"%s\" saknar en huvudrad som anger teckenuppsättning" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1853,18 +1870,18 @@ msgid "" msgstr "" "domän \"%s\" i infil \"%s\" saknar en huvudrad som anger teckenuppsättning" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "målteckenuppsättning \"%s\" är inte ett portabelt kodningsnamn" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 -#: src/xgettext.c:1267 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "varning: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1872,7 +1889,7 @@ msgstr "" "Infiler har meddelanden med flera kodningar, däribland UTF-8.\n" "Konverterar resultatet till UTF-8.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1937,15 +1954,15 @@ msgstr "" "Resultatet för \"%s\" kan bli felaktigt.\n" "Ett möjligt sätt att komma runt problemet är att sätta LC_ALL=C.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "konverteringsfel" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "infilen saknar en huvudrad som anger teckenuppsättning" -#: src/msgl-iconv.c:353 src/xgettext.c:494 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1954,7 +1971,7 @@ msgstr "" "Kan inte konvertera från \"%s\" till \"%s\". %s beror på iconv()\n" "och iconv() stöder inte denna konvertering." -#: src/msgl-iconv.c:370 src/xgettext.c:501 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1963,11 +1980,11 @@ msgstr "" "Kan inte konvertera från \"%s\" till \"%s\". %s beror på iconv().\n" "Denna version byggdes utan iconv()." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "säkerhetskopieringstyp" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1990,27 +2007,23 @@ msgstr "" "dock bevaras punktkommentarer och filpositioner. Om en exakt likhet\n" "inte kan hittas används luddig jämförelse för att ge bättre resultat.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Plats för infil:\n" -" def.po översättningar som refererar till gamla källkoden\n" -" ref.pot referenser till den nya källkoden\n" -" -D, --directory=KATALOG sök infiler även i KATALOG\n" -" -C, --compendium=FIL ytterligare kataloger med översättningar,\n" -" kan anges flera gånger\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" @@ -2018,21 +2031,32 @@ msgstr "" " -U, --update updatera def.po,\n" " gör ingenting om def.po redan är aktuell\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "Plats för utfil i uppdateringsläge:\n" "Resultatet skrivs tillbaka till def.po.\n" @@ -2042,46 +2066,36 @@ msgstr "" "VERSION_CONTROL. Här är värdena:\n" " none, off gör aldrig säkerhetskopior (även om --backup ges)\n" " numbered, t gör numrerade säkerhetskopior\n" -" existing, nil numrerade säkerhetskopior om det finns sådana, enkla annars\n" +" existing, nil numrerade säkerhetskopior om det finns sådana, enkla " +"annars\n" " simple, never gör alltid enkla säkerhetskopior\n" "Suffix för säkerhetskopior är \"~\", om den inte sätts med --suffix eller\n" "miljövariabeln SIMPLE_BACKUP_SUFFIX.\n" -#: src/msgmerge.c:454 -#, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"Bearbetningsvarianter:\n" -" -m, --multi-domain tillämpa ref.pot till alla domäner i def.po\n" -" -N, --no-fuzzy-matching använd inte luddig jämförelse\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -"Informativ utskrift:\n" -" -h, --help visa denna hjälptext och avsluta\n" -" -V, --version visa versionsinformation och avsluta\n" -" -v, --verbose öka mängden information i meddelanden\n" -" -q, --quiet, --silent visa inte framstegsindikatorer\n" -#: src/msgmerge.c:970 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "detta meddelande ska definiera pluralformer" -#: src/msgmerge.c:993 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "detta meddelande ska inte definiera pluralformer" -#: src/msgmerge.c:1155 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -2090,54 +2104,59 @@ msgstr "" "%sLäste %ld gamla + %ld referenser, %ld sammanslagna, %ld luddiga, %ld " "saknade, %ld föråldrade.\n" -#: src/msgmerge.c:1163 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " klar.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s och explicita filnamn är ömsesidigt uteslutande" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Användning: %s [FLAGGA] [FIL]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" -msgstr "Konvertera en binär meddelandekatalog till en .po-fil av Uniforum-typ\n" +msgstr "" +"Konvertera en binär meddelandekatalog till en .po-fil av Uniforum-typ\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "Körläge:\n" " -j, --java Javaläge: indata är en Java ResourceBundle-klass\n" -" --tcl Tcl-läge: indata är en .msg-fil av tcl/msgcat-typ\n" +" --tcl Tcl-läge: indata är en .msg-fil av tcl/msgcat-" +"typ\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Plats för infil:\n" -" FIL ... .mo-infiler\n" -"Om ingen infil är given eller om den är - läses standard in.\n" +"Körläge:\n" +" -j, --java Javaläge: indata är en Java ResourceBundle-klass\n" +" --tcl Tcl-läge: indata är en .msg-fil av tcl/msgcat-" +"typ\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "Plats för infil i Javaläge:\n" @@ -2146,74 +2165,25 @@ msgstr "" "Klassnamnet härleds genom att lägga till lokalnamnet till resursnamnet\n" "avskiljt med ett understreck. Klassen söks med hjälp av CLASSPATH.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"Plats för infil i Tcl-läge:\n" -" -l, --locale=LOKAL lokalnamn, antingen språk eller språk_LAND\n" -" -d KATALOG startkatalog för .msg-meddelandekataloger\n" -"Flaggorna -l och -d är obligatoriska. .msg-filen ligger i den givna\n" -"katalogen.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"Plats för utfil:\n" -" -o, --output-file=FIL skriv resultat till angiven fil\n" -"Resultatet skrivs till standard ut om ingen utfil anges eller om den är -.\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -msgstr "" -"Resultatdetaljer:\n" -" -e, --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" -E, --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" -i, --indent indentera resultatet\n" -" --strict strikt Uniforum-format på resultatet\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -" -s, --sort-output sortera resultatet\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" +msgstr "" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Informativ utskrift:\n" -" -h, --help visa denna hjälptext och avsluta\n" -" -V, --version visa versionsinformation och avsluta\n" -" -v, --verbose öka mängden information i meddelanden\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2235,18 +2205,22 @@ msgstr "" "översättningen. Filpositioner samlas ihop.\n" "När flaggan --unique anges kastas duplikat bort.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "Meddelandeval:\n" " -d, --repeated skriv bara duplicerade meddelanden\n" -" -u, --unique skriv bara unika meddelanden, duplikat kastas\n" +" -u, --unique skriv bara unika meddelanden, duplikat " +"kastas\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2313,52 +2287,52 @@ msgstr "" "Meddelandekonvertering till användarens teckenuppsättning kommer att " "misslyckas.\n" -#: src/po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "inkonsekvent användning av #~" -#: src/po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "\"msgstr[]\"-delen saknas" -#: src/po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "\"msgid_plural\"-delen saknas" -#: src/po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "\"msgstr\"-delen saknas" -#: src/po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "första pluralformen har index som inte är noll" -#: src/po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "pluralform har fel index" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "för många fel, avbryter körningen" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "ogiltig flerbytesekvens" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "ofullständig flerbytesekvens i slutet på filen" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "ofullständig flerbytesekvens i slutet på raden" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv misslyckades" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 #: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 @@ -2366,20 +2340,20 @@ msgstr "iconv misslyckades" msgid "error while reading \"%s\"" msgstr "fel uppstod då \"%s\" lästes" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "nyckelordet \"%s\" är okänt" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "ogiltig kontrollsekvens" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "filslut inne i en sträng" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "radslut inne i en sträng" @@ -2404,12 +2378,24 @@ msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "" "filen \"%s\" innehåller en sträng som inte avslutas med nolltecknet vid %s" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "denna fil kan inte innehålla domändirektiv" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "meddelandedefinitionen är dubblerad" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...detta är platsen för den första definitionen" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "förväntade två argument" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Användning: %s [FLAGGA] URL FIL\n" @@ -2445,7 +2431,7 @@ msgstr "inte ett giltigt Javaklassnamn: %s" msgid "failed to create \"%s\"" msgstr "misslyckades med att skapa \"%s\"" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2456,19 +2442,19 @@ msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" "kompilering av Javaklass misslyckades, försök med --verbose eller sätt $JAVAC" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "fel uppstod när \"%s\" öppnades för skrivning" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "" "internationaliserade meddelanden bör inte ha kontrollsekvensen \"\\%c\"" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2481,12 +2467,25 @@ msgstr "" "som är en annan än din. Försök använda en ren ASCII-msgid istället.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "kan inte skapa utfilen \"%s\"" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standard ut" @@ -2533,10 +2532,6 @@ msgstr "" "Spräk \"glade\" stöds ej. %s beror på expat.\n" "Denna version byggdes utan expat.\n" -#: src/x-po.c:85 src/xgettext.c:718 -msgid "this file may not contain domain directives" -msgstr "denna fil kan inte innehålla domändirektiv" - #: src/x-python.c:569 #, c-format msgid "%s:%d: warning: invalid Unicode character" @@ -2557,59 +2552,52 @@ msgstr "%s:%d fattas tal efter #" msgid "%s:%d: invalid string expression" msgstr "%s:%d: ogiltigt strängmönster" -#: src/xgettext.c:427 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "" "--join-existing kan inte användas då resultatet skrivs till standard ut" -#: src/xgettext.c:432 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext måste ha nyckelord att söka efter för att fungera" -#: src/xgettext.c:559 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "varning: filtyp \"%s\" med suffix \"%s\" är okänd; försöker med C" -#: src/xgettext.c:610 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Extrahera översättbara strängar från givna infiler.\n" -#: src/xgettext.c:615 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Obligatoriska argument för långa flaggor är obligatoriska även för korta.\n" -"Motsvarande gäller för frivilliga argument.\n" -#: src/xgettext.c:630 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Plats för utfil:\n" -" -d, --default-domain=NAMN använd NAMN.po som utfil (i st.f. messages.po)\n" -" -o, --output=FIL skriv resultatet till FIL\n" -" -p, --output-dir=KATALOG utfiler placeras i katalogen KATALOG\n" -"Om utfilen är - skrivs resultatet till standard ut.\n" -#: src/xgettext.c:639 -#, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "inga infiler givna" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "Språkval i infiler:\n" " -L, --language=NAMN känn igen angivet språk\n" @@ -2619,27 +2607,44 @@ msgstr "" " -C, --c++ samma som --language=C++\n" "I normalläge gissas språket från filändelsen på infilen.\n" -#: src/xgettext.c:650 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" +msgstr "" + +#: src/xgettext.c:661 +#, fuzzy +msgid "" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" msgstr "" "Tolkning av infiler:\n" " --from-code=NAMN kodning av infiler\n" " (utom för Python, Tcl, Glade)\n" "Normalt antas att filer är i ASCII-format.\n" -#: src/xgettext.c:658 -#, no-wrap +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "Körläge:\n" " -j, --join-existing slå ihop meddelanden med existerande fil\n" @@ -2647,73 +2652,64 @@ msgstr "" " -c, --add-comments[=MÄRKE] skriv kommentarsblock med MÄRKE (eller de\n" " före nyckelordsrader) till resultatet\n" -#: src/xgettext.c:667 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" msgstr "" -"Specifika val för C/C++:\n" -" -a, --extract-all extrahera alla strängar\n" -" -k, --keyword[=WORD] extra nyckelord att titta efter (om ORD\n" -" utelämnas, titta inte efter standardnyckelord)\n" -" -T, --trigraphs hantera ANSI C treteckenssekvenser i infiler\n" -" --debug mer detaljerad igenkänning av formatsträngar\n" -#: src/xgettext.c:677 -#, no-wrap +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" -msgstr "" -"Resultatdetaljer:\n" -" -e, --no-escape använd inte C-kontrollsekvenser i resultatet\n" -" (normalläge)\n" -" -E, --escape använd C-kontrollsekvenser i resultatet, men\n" -" inte \\v eller \\a\n" -" --force-po skriv PO-fil även om den är tom\n" -" -i, --indent indentera resultatet\n" -" --no-location skriv inte rader med \"#: filnamn:rad\"\n" -" -n, --add-location skriv rader med \"#: filnamn:rad\" (normalläge)\n" -" --strict skriv ut en .po-fil som strikt följer Uniforum\n" -" -w, --width=ANTAL välj antal kolumner i resultatet\n" -" --no-wrap dela inte meddelanden som är längre än\n" -" resultatets kolumnantal i flera rader\n" -" -s, --sort-output sortera resultatet\n" -" -F, --sort-by-file sortera resultatet efter filposition\n" -" --omit-header skriv inte ut huvudet med 'msgid \"\"'\n" -" --copyright-holder=STRÄNG sätt copyrightinnehavare i resultatet\n" -" --foreign-user utelämna FSF copyright-text i resultatet\n" -" --msgid-bugs-address=EPOST@ADRESS sätt mottagare för msgid-felrapporter\n" -" -m, --msgstr-prefix[=STRÄNG] inled översatta strängar med STRÄNG eller \"\"\n" -" -M, --msgstr-suffix[=STRÄNG] avsluta översatta strängar med STRÄNG eller \"\"\n" - -#: src/xgettext.c:887 +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standard in" -#: src/xgettext.c:980 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" @@ -2722,12 +2718,12 @@ msgstr "" "Sträng är inte i ASCII i %s%s.\n" "Ange kodning med --from-code." -#: src/xgettext.c:1035 +#: src/xgettext.c:1070 #, c-format msgid "%s%s: warning: " msgstr "%s%s: varning: " -#: src/xgettext.c:1037 +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2737,7 +2733,7 @@ msgstr "" "gettext(\"\") returnerar huvudet med metainformation,\n" "inte den tomma strängen.\n" -#: src/xgettext.c:1268 +#: src/xgettext.c:1303 msgid "" "The option --msgid-bugs-address was not specified.\n" "If you are using a `Makevars' file, please specify\n" @@ -2749,7 +2745,737 @@ msgstr "" "på variabeln MSGID_BUGS_ADDRESS där, annars ange\n" "flaggan --msgid-bugs-address på kommandoraden.\n" -#: src/xgettext.c:1438 +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "språket \"%s\" okänt" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Plats för infil:\n" +#~ " INFIL PO-infil\n" +#~ " -D, --directory=KATALOG sök infiler även i KATALOG\n" +#~ "Om ingen infil är given eller om den är - läses standard in.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Plats för utfil:\n" +#~ " -o, --output-file=FIL skriv resultat till angiven fil\n" +#~ "Resultatet skrivs till standard ut om ingen utfil anges eller om den är " +#~ "-.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "Meddelandeval:\n" +#~ " --translated behåll översatta, ta bort oöversatta " +#~ "meddelanden\n" +#~ " --untranslated behåll oöversatta, ta bort översatta " +#~ "meddelanden\n" +#~ " --no-fuzzy ta bort meddelanden markerade som \"fuzzy" +#~ "\"\n" +#~ " --only-fuzzy behåll meddelanden markerade som \"fuzzy\"\n" +#~ " --no-obsolete ta bort föråldrade #~ meddelanden\n" +#~ " --only-obsolete behåll föråldrade #~ meddelanden\n" + +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "Attributmanipulation:\n" +#~ " --set-fuzzy markera alla meddelanden som \"fuzzy\"\n" +#~ " --clear-fuzzy ta bort \"fuzzy\"-markering från alla " +#~ "meddelanden\n" +#~ " --set-obsolete markera alla meddelanden som föråldrade\n" +#~ " --clear-obsolete ta bort föråldrad-markering från alla " +#~ "meddelanden\n" +#~ " --only-file=FIL.po bearbeta bara poster som finns i FIL.po\n" +#~ " --ignore-file=FIL.po bearbeta bara poster som inte finns i FIL." +#~ "po\n" +#~ " --fuzzy samma som --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete samma som --only-obsolete --clear-obsolete\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " -e, --no-escape använd inte C-kontrollsekvenser i " +#~ "resultatet\n" +#~ " (normalläge)\n" +#~ " -E, --escape använd C-kontrollsekvenser i resultatet, " +#~ "men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " -i, --indent indentera resultatet\n" +#~ " --no-location skriv inte rader med \"#: filnamn:rad\"\n" +#~ " -n, --add-location skriv rader med \"#: filnamn:rad" +#~ "\" (normalläge)\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " -s, --sort-output sortera resultatet\n" +#~ " -F, --sort-by-file sortera resultatet efter filposition\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Plats för infil:\n" +#~ " INFIL ... infiler\n" +#~ " -f, --files-from=FIL läs lista av infiler från FIL\n" +#~ " -D, --directory=KATALOG sök infiler även i KATALOG\n" +#~ "Om infil är - läses standard in.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Plats för utfil:\n" +#~ " -o, --output-file=FIL skriv resultat till angiven fil\n" +#~ "Resultatet skrivs till standard ut om ingen utfil anges eller om den är " +#~ "-.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Meddelandeval:\n" +#~ " -<, --less-than=ANTAL skriv meddelanden med färre än ANTAL\n" +#~ " definitioner. Standardvärde: oändligt\n" +#~ " ->, --more-than=ANTAL skriv meddelanden med fler än ANTAL\n" +#~ " definitioner. Standardvärde: 0\n" +#~ " -u, --unique samma som --less-than=2, begär att\n" +#~ " endast unika meddelanden skrivs\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " -t, --to-code=NAMN kodning för resultatet\n" +#~ " --use-first använd först hittade översättning för " +#~ "varje\n" +#~ " meddelande, slå inte ihop " +#~ "översättningar\n" +#~ " -e, --no-escape använd inte C-kontrollsekvenser i " +#~ "resultatet\n" +#~ " (normalläge)\n" +#~ " -E, --escape använd C-kontrollsekvenser i resultatet, " +#~ "men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " -i, --indent indentera resultatet\n" +#~ " --no-location skriv inte rader med \"#: filnamn:rad\"\n" +#~ " -n, --add-location skriv rader med \"#: filnamn:rad" +#~ "\" (normalläge)\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " -s, --sort-output sortera resultatet\n" +#~ " -F, --sort-by-file sortera resultatet efter filposition \n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Informativ utskrift:\n" +#~ " -h, --help visa denna hjälptext och avsluta\n" +#~ " -V, --version visa versionsinformation och avsluta\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "Plats för infil:\n" +#~ " def.po översättningar\n" +#~ " ref.pot referenser till källkod\n" +#~ " -D, --directory=KATALOG sök infiler även i KATALOG\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "Meddelandeval:\n" +#~ " -<, --less-than=ANTAL skriv meddelanden med färre än ANTAL\n" +#~ " definitioner. Standardvärde: oändligt\n" +#~ " ->, --more-than=ANTAL skriv meddelanden med fler än ANTAL\n" +#~ " definitioner. Standardvärde: 1\n" +#~ " -u, --unique samma som --less-than=2, begär att\n" +#~ " endast unika meddelanden skrivs\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " -e, --no-escape använd inte C-kontrollsekvenser i " +#~ "resultatet\n" +#~ " (normalläge)\n" +#~ " -E, --escape använd C-kontrollsekvenser i resultatet, " +#~ "men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " -i, --indent indentera resultatet\n" +#~ " --no-location skriv inte rader med \"#: filnamn:rad\"\n" +#~ " -n, --add-location skriv rader med \"#: filnamn:rad" +#~ "\" (normalläge)\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " -s, --sort-output sortera resultatet\n" +#~ " -F, --sort-by-file sortera resultatet efter filposition\n" +#~ " --omit-header skriv inte ut huvudet med 'msgid \"\"'\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " -e, --no-escape använd inte C-kontrollsekvenser i " +#~ "resultatet\n" +#~ " (normalläge)\n" +#~ " -E, --escape använd C-kontrollsekvenser i resultatet, " +#~ "men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " -i, --indent indentera resultatet\n" +#~ " --no-location ta bort rader med \"#: filnamn:rad\"\n" +#~ " --add-location bevara rader med \"#: filnamn:rad" +#~ "\" (normalläge)\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " -s, --sort-output sortera resultatet\n" +#~ " -F, --sort-by-file sortera resultatet efter filposition\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Plats för infil:\n" +#~ " INFIL PO- eller POT-infil\n" +#~ " -D, --directory=KATALOG sök infiler även i KATALOG\n" +#~ "Om infil är - läses standard in.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Plats för infil:\n" +#~ " -i, --input=INFIL PO-infil\n" +#~ " -D, --directory=KATALOG sök infiler även i KATALOG\n" +#~ "Om ingen infil är given eller om den är - läses standard in.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "Användbara FILTERFLAGGOR när FILTER är \"sed\":\n" +#~ " -e, --expression=SKRIPT lägg till SKRIPT till kommandon att " +#~ "exekvera\n" +#~ " -f, --file=SKRIPTFIL lägg till innehållet i SKRIPTFIL till " +#~ "kommandon\n" +#~ " att exekvera\n" +#~ " -n, --quiet, --silent undertryck automatisk utskrift av resultat\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " --no-escape använd inte C-kontrollsekvenser i " +#~ "resultatet\n" +#~ " (normalläge)\n" +#~ " -E, --escape använd C-kontrollsekvenser i resultatet, " +#~ "men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " --indent indentera resultatet\n" +#~ " --keep-header bevara huvudrader oförändrade, filtrera dem " +#~ "inte\n" +#~ " --no-location ta bort rader med \"#: filnamn:rad\"\n" +#~ " --add-location bevara rader med \"#: filnamn:rad" +#~ "\" (normalläge)\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " -s, --sort-output sortera resultatet\n" +#~ " -F, --sort-by-file sortera resultatet efter filposition\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Plats för infil:\n" +#~ " filenamn.po ... infiler\n" +#~ " -D, --directory=KATALOG sök infiler även i KATALOG\n" +#~ "Om infil är - läses standard in.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "Körläge:\n" +#~ " -j, --java Javaläge: generera en Java ResourceBundle-" +#~ "klass\n" +#~ " --java2 som --java, och anta Java2 (JDK 1.2 eller " +#~ "högre)\n" +#~ " --tcl Tcl-läge: generera en .msg-fil av tcl/" +#~ "msgcat-typ\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Plats för utfil:\n" +#~ " -o, --output-file=UTFIL skriv resultatet till UTFIL\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ "Om UTFIL är - skrivs resultatet till standard ut.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Plats för utfil i Tcl-läge:\n" +#~ " -l, --locale=LOKAL lokalnamn, antingen språk eller språk_LAND\n" +#~ " -d KATALOG startkatalog för .msg-meddelandekataloger\n" +#~ "Flaggorna -l och -d är obligatoriska. .msg-filen skrivs till den givna \n" +#~ "katalogen.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "Tolkning av infil:\n" +#~ " -c, --check utför alla kontroller som bestäms av\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format kontrollera språkberoende formatsträngar\n" +#~ " --check-header verifiera närvaro och innehåll av " +#~ "huvudrader\n" +#~ " --check-domain kontrollera efter konflikter mellan\n" +#~ " domändirektiv och flaggan --output-file\n" +#~ " -C, --check-compatibility kontrollera att GNU msgfmt uppför sig som\n" +#~ " X/Open msgfmt\n" +#~ " --check-accelerators[=TKN] kontrollera närvaron av " +#~ "tangentkortkommandon\n" +#~ " för menyer\n" +#~ " -f, --use-fuzzy använd luddiga poster i resultatet\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Informativ utskrift:\n" +#~ " -h, --help visa denna hjälptext och avsluta\n" +#~ " -V, --version visa versionsinformation och avsluta\n" +#~ " --statistics skriv ut statistik om översättningarna\n" +#~ " -v, --verbose öka mängden information i meddelanden\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " --no-escape använd inte C-kontrollsekvenser i " +#~ "resultatet\n" +#~ " (normalläge)\n" +#~ " --escape använd C-kontrollsekvenser i resultatet, " +#~ "men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " --indent indentera resultatet\n" +#~ " --no-location ta bort rader med \"#: filnamn:rad\"\n" +#~ " --add-location bevara rader med \"#: filnamn:rad" +#~ "\" (normalläge)\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " --sort-output sortera resultatet\n" +#~ " --sort-by-file sortera resultatet efter filposition\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "Plats för infil:\n" +#~ " def.po översättningar som refererar till gamla " +#~ "källkoden\n" +#~ " ref.pot referenser till den nya källkoden\n" +#~ " -D, --directory=KATALOG sök infiler även i KATALOG\n" +#~ " -C, --compendium=FIL ytterligare kataloger med översättningar,\n" +#~ " kan anges flera gånger\n" + +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "Bearbetningsvarianter:\n" +#~ " -m, --multi-domain tillämpa ref.pot till alla domäner i def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching använd inte luddig jämförelse\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Informativ utskrift:\n" +#~ " -h, --help visa denna hjälptext och avsluta\n" +#~ " -V, --version visa versionsinformation och avsluta\n" +#~ " -v, --verbose öka mängden information i meddelanden\n" +#~ " -q, --quiet, --silent visa inte framstegsindikatorer\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Plats för infil i Tcl-läge:\n" +#~ " -l, --locale=LOKAL lokalnamn, antingen språk eller språk_LAND\n" +#~ " -d KATALOG startkatalog för .msg-meddelandekataloger\n" +#~ "Flaggorna -l och -d är obligatoriska. .msg-filen ligger i den givna\n" +#~ "katalogen.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " -e, --no-escape använd inte C-kontrollsekvenser i resultatet\n" +#~ " (normalläge)\n" +#~ " -E, --escape använd C-kontrollsekvenser i resultatet, men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " -i, --indent indentera resultatet\n" +#~ " --strict strikt Uniforum-format på resultatet\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " -s, --sort-output sortera resultatet\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Informativ utskrift:\n" +#~ " -h, --help visa denna hjälptext och avsluta\n" +#~ " -V, --version visa versionsinformation och avsluta\n" +#~ " -v, --verbose öka mängden information i meddelanden\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Plats för utfil:\n" +#~ " -d, --default-domain=NAMN använd NAMN.po som utfil (i st.f. " +#~ "messages.po)\n" +#~ " -o, --output=FIL skriv resultatet till FIL\n" +#~ " -p, --output-dir=KATALOG utfiler placeras i katalogen KATALOG\n" +#~ "Om utfilen är - skrivs resultatet till standard ut.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Specifika val för C/C++:\n" +#~ " -a, --extract-all extrahera alla strängar\n" +#~ " -k, --keyword[=WORD] extra nyckelord att titta efter (om ORD\n" +#~ " utelämnas, titta inte efter " +#~ "standardnyckelord)\n" +#~ " -T, --trigraphs hantera ANSI C treteckenssekvenser i " +#~ "infiler\n" +#~ " --debug mer detaljerad igenkänning av " +#~ "formatsträngar\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Resultatdetaljer:\n" +#~ " -e, --no-escape använd inte C-kontrollsekvenser i " +#~ "resultatet\n" +#~ " (normalläge)\n" +#~ " -E, --escape använd C-kontrollsekvenser i resultatet, " +#~ "men\n" +#~ " inte \\v eller \\a\n" +#~ " --force-po skriv PO-fil även om den är tom\n" +#~ " -i, --indent indentera resultatet\n" +#~ " --no-location skriv inte rader med \"#: filnamn:rad\"\n" +#~ " -n, --add-location skriv rader med \"#: filnamn:rad" +#~ "\" (normalläge)\n" +#~ " --strict skriv ut en .po-fil som strikt följer " +#~ "Uniforum\n" +#~ " -w, --width=ANTAL välj antal kolumner i resultatet\n" +#~ " --no-wrap dela inte meddelanden som är längre än\n" +#~ " resultatets kolumnantal i flera rader\n" +#~ " -s, --sort-output sortera resultatet\n" +#~ " -F, --sort-by-file sortera resultatet efter filposition\n" +#~ " --omit-header skriv inte ut huvudet med 'msgid \"\"'\n" +#~ " --copyright-holder=STRÄNG sätt copyrightinnehavare i resultatet\n" +#~ " --foreign-user utelämna FSF copyright-text i " +#~ "resultatet\n" +#~ " --msgid-bugs-address=EPOST@ADRESS sätt mottagare för msgid-" +#~ "felrapporter\n" +#~ " -m, --msgstr-prefix[=STRÄNG] inled översatta strängar med STRÄNG " +#~ "eller \"\"\n" +#~ " -M, --msgstr-suffix[=STRÄNG] avsluta översatta strängar med STRÄNG " +#~ "eller \"\"\n" diff --git a/gettext-tools/po/tr.po b/gettext-tools/po/tr.po index 2f5cc571b..851b93094 100644 --- a/gettext-tools/po/tr.po +++ b/gettext-tools/po/tr.po @@ -5,7 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: GNU gettext 0.11.5\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2002-09-11 17:27+0300\n" "Last-Translator: Nilgün Belma Bugüner \n" "Language-Team: Turkish \n" @@ -29,40 +30,41 @@ msgstr "argüman `%s' `%s' için belirsiz" msgid "Valid arguments are:" msgstr "Geçerli argümanlar:" -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "\"%s\" okunmak için açılırken hata" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "\"%s\" yedek dosyası yazılmak için açılırken hata" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "\"%s\" okunurken hata" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "\"%s\" yazılırken hata" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "\"%s\" okunduktan sonra hata" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "Bilinmeyen sistem hatası" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s alt süreci başarısız" @@ -122,7 +124,7 @@ msgstr "%s: `-W %s' seçeneği belirsiz\n" msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: `-W %s' seçeneği bir argümanla kullanılmaz\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "" "Java derleyici bulunamadı, ya gcj kurun ya da $JAVAC değişkenini belirleyin" @@ -133,56 +135,176 @@ msgstr "" "Java sanal makinası bulunamadı,\n" "ya gij kurun ya da $JAVA değişkenini belirleyin" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "bellek tükendi" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "veriyolu oluşturulamıyor" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s alt süreci" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s alt süreci ölümcül sinyal %d aldı" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "" "'%2$s' içindeki %1$u.argüman için bir biçem belirteci 'msgid' içinde yok" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "%u. argüman için '%s' içinde bir biçem belirteci yok" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "`msgid' ve '%s' girdilerindeki biçem belirteçleri %u için aynı değil" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "`msgid' ve '%s' girdilerindeki biçem belirteçleri farklı sayıda" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " @@ -190,29 +312,95 @@ msgid "" msgstr "" "'%2$s' içindeki {%1$u}. argüman için bir biçem belirteci 'msgid' içinde yok" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "{%u}.argüman için '%s' içinde bir biçem belirteci yok" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "`msgid' ve '%s' girdilerindeki biçem belirteçleri {%u} için aynı değil" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "`msgid' ve '%s' girdilerindeki biçem belirteçleri aynı değil" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "" "'%s' içindeki biçem belirteçleri 'msgid' içindekilerin bir alt kümesi değil" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -221,7 +409,7 @@ msgstr "" "`msgid' içindeki biçem belirteçleri ile bir eşlem umulurken '%s' " "içindekilerle bir işlem umuluyor" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -230,29 +418,43 @@ msgstr "" "`msgid' içindeki biçem belirteçleri ile bir işlem umulurken '%s' " "içindekilerle bir eşlem umuluyor" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "'%2$s' içinde '%1$s' için 'msgid' içinde bir biçem belirteci yok" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "'%s' için '%s' içinde bir biçem belirteci yok" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "'%2$s' için biçem belirteci 'msgid' ve '%1$s' içinde aynı değil" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -264,46 +466,51 @@ msgstr "" "Hiçbir garantisi yoktur; hatta SATILABİLİRLİĞİ veya ŞAHSİ KULLANIMINIZA\n" "UYGUNLUĞU için bile garanti verilmez.\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "%s tarafından yazıldı.\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "çok fazla argüman" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Daha fazla bilgilendirilmek için `%s --help' yazınız.\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "Kullanımı: %s [SEÇENEK]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "Makina ismini gösterir.\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "Çıktı biçemi:\n" " -s, --short kısa makina ismi\n" @@ -311,55 +518,74 @@ msgstr "" " içerir\n" " -i, --ip-address makinanın IP adresi\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "Bilgilendirme seçenekleri:\n" " -h, --help Bu yardımı gösterir ve çıkar\n" " -V, --version Sürüm bilgilerini gösterir ve çıkar\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "" "Yazılım hatalarını adresine,\n" "Çeviri hatalarını adresine bildiriniz.\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "makina ismi alınamadı" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "en fazla bir girdi dosyasına izin var" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s ile %s bağdaşmıyor" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "Kullanımı: %s [SEÇENEK] [GİRDİDOSYASI]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" @@ -368,124 +594,250 @@ msgstr "" "Çeviri kataloğundaki iletileri belirtilen özelliklere göre süzer,\n" "ve özellikleri uygular.\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Uzun seçeneklerdeki zorunlu argümanlar kısa seçenekler için de zorunludur.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Uzun seçeneklerdeki zorunlu argümanlar kısa seçenekler için de zorunludur.\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "hiç girdi dosyası verilmemiş" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "Girdi dosyası konumu:\n" -" GİRDİDOSYASI PO girdi dosyası\n" -" -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi ekler\n" -"Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi okunur.\n" +" DOSYA ... .mo girdi dosyaları\n" +"Bir DOSYA verilmemişse ya da - verilmişse standart girdi okunur.\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "Çıktı dosyası konumu:\n" -" -o, --output-file=DOSYA Çıktıyı DOSYAya yazar\n" -"Çıktı dosyası verilmemişse ya da yerine - verilmişse sonuçlar standart\n" -"çıktıya yazılır.\n" +" -o, --output-file=DOSYA çıktı belirtilen DOSYAya yazılır\n" +"Sonuçlar DOSYA verilmezse ya da - verilirse standart çıktıya yazılır.\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"İleti seçimi:\n" -" --translated çevrilenler tutulur, çevrilmeyenler silinir.\n" -" --untranslated çevrilmeyenler tutulur, çevrilenler silinir.\n" -" --no-fuzzy 'fuzzy' imli iletiler silinir.\n" -" --only-fuzzy 'fuzzy' imli iletiler tutulur.\n" -" --no-obsolete eski #~ iletileri silinir.\n" -" --only-obsolete eski #~ iletileri tutulur.\n" #: src/msgattrib.c:394 -#, fuzzy, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"Özellik uygulaması:\n" -" --set-fuzzy tüm iletilere 'fuzzy' uygular\n" -" --clear-fuzzy tüm fuzzy imlilerden 'fuzzy' imini kaldırır\n" -" --set-obsolete tüm iletileri eski olarak imler\n" -" --clear-obsolete tüm eski imli iletilerden eski imini kaldırır\n" -" --fuzzy --only-fuzzy --clear-fuzzy için kısaltma\n" -" --obsolete --only-obsolete --clear-obsolete için kısaltma\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "Çıktı ayrıntıları:\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" -" --add-location '#: dosyaismi:satır' başlıkları yazılır\n" -" (öntanımlı)\n" -" --strict Uniforum kipini etkinleştirir\n" +" -l, --locale=tr_TR hedef yerel belirtilir\n" +" --no-translator PO dosyasının otomatik üretildiği varsayılır\n" " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" " --no-wrap sayfa genişliğine sığmayan satırların taşan\n" " kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" -" -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "belirtilen seçim kriteri mümkün değil (%d < n < %d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "Kullanımı: %s [SEÇENEK] [GİRDİDOSYASI]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -509,118 +861,67 @@ msgstr "" "korunur, belirtildiğinde bunlar ilk PO dosyasında belirtildiği şekliyle\n" "alınır.\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"Girdi dosyası konumu:\n" -" GİRDİDOSYASI ... girdi dosyaları\n" -" -f, --files-from=DOSYA girdi dosyalarının listesi DOSYAdan alınır\n" -" -D, --directory=DİZİN girdi dosyalarının arama yoluna DİZİN eklenir\n" -"Girdi dosyası - ise standart girdi okunur.\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"Çıktı dosyası konumu:\n" -" -o, --output-file=DOSYA çıktı DOSYAya yazılır\n" -"Çıktı dosyası verilmezse ya da - verilirse sonuçlar standart çıktıya yazılır.\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"İleti seçimi:\n" -" -<, --less-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" -" SAYI dan az tanımlanmış iletileri gösterir,\n" -" belirtilmezse öntanımlı değer sonsuz kullanılır\n" -" ->, --more-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" -" SAYI dan fazla tanımlanmış iletileri gösterir,\n" -" belirtilmezse öntanımlı değer 1 kullanılır\n" -" -u, --unique --less-than=2 için kısaltma, sadece tek olan\n" -" iletiler gösterilir\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -t, --to-code=İSİM çıktı için kodlama belirtilir\n" -" --use-first çok sayıda çeviri arasından sadece ilk çeviriyi\n" -" kullanır\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" -" --add-location '#: dosyaismi:satır' başlıkları yazılır\n" -" (öntanımlı)\n" -" --strict Uniforum kipini etkinleştirir\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" -" -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"Bilgilendirme seçenekleri:\n" -" -h, --help Bu yardımı gösterir ve çıkar\n" -" -V, --version Sürüm bilgilerini gösterir ve çıkar\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "hiçbir girdi dosyası verilmemiş" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "tam olarak 2 girdi dosyası gerekli" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "Kullanımı: %s [SEÇENEK] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -636,58 +937,56 @@ msgstr "" "ve çevirisini kontrol etmek için kullanışlıdır. Zorunlu eşleşme bulunamazsa,\n" "belirsiz (fuzzy) eşleştirme yapılır.\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"Girdi dosyası konumu:\n" -" def.po çevirilerin bulunduğu dosya\n" -" ref.pot çeviri dosyasına eklenecek girdilerin bulunduğu\n" -" dosya\n" -" -D, --directory=DİZİN girdi dosyaları arama yoluna eklenecek DİZİN\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "İşlem seçenekleri:\n" " -m, --multi-domain ref.pot'u tüm def.po dosyalarına uygular\n" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "bu ileti kullanıldı ama tanımlı değil..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...ama bu tanımlama benzer" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "bu ileti kullanıldı ama %s'de tanımlı değil" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "uyarı: bu ileti kullanılmamış" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "%d ölümcül hata bulundu" msgstr[1] "%d ölümcül hata bulundu" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "en az iki dosya belirtilmelidir" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -709,159 +1008,94 @@ msgstr "" "çıkarma yorumları korunmuş olacaktır. Tüm PO dosyalarındaki dosya konumları\n" "korunmuş olacaktır.\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" msgstr "" -"İleti seçimi:\n" -" -<, --less-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" -" SAYI dan az tanımlanmış iletileri gösterir,\n" -" belirtilmezse öntanımlı değer sonsuz kullanılır\n" -" ->, --more-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" -" SAYI dan fazla tanımlanmış iletileri gösterir,\n" -" belirtilmezse öntanımlı değer 1 kullanılır\n" -" -u, --unique --less-than=2 için kısaltma, sadece tek olan\n" -" iletiler gösterilir\n" - -#: src/msgcomm.c:363 -#, no-wrap + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" -" --add-location '#: dosyaismi:satır' başlıkları yazılır\n" -" (öntanımlı)\n" -" --strict Uniforum kipini etkinleştirir\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" -" -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" -" --omit-header `msgid \"\"' şeklindeki başlığı yazmaz\n" -#: src/msgconv.c:257 -#, no-wrap +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "Bir çeviri kataloğunu başka bir karakter kodlamasına dönüştürür.\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "dönüşüm başarısız" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Dönüşüm hedefi:\n" " -t, --to-code=İSİM çıktı için kodlama belirtilir\n" "Öntanımlı kodlama mevcut yerelin kodlamasıdır.\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" -" --add-location '#: dosyaismi:satır' başlıkları yazılır\n" -" (öntanımlı)\n" -" --strict Uniforum kipini etkinleştirir\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" -" -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "hiç girdi dosyası verilmemiş" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "tam olarak 1 girdi dosyası gerekli" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "Kullanımı: %s [SEÇENEK] GİRDİDOSYASI\n" -#: src/msgen.c:242 -#, no-wrap +#: src/msgen.c:252 +#, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "Bir İngilizce çeviri kataloğu oluşturur. Girdi dosyası ya son oluşturulan\n" "İngilizce PO dosyasıdır ya da genellikle xgettext tarafından oluşturulan\n" "PO Şablon dosyasıdır. Çevirisiz girdilere msgid ile uyuşan bir çeviri\n" "yerleştirilir ve fuzzy olarak imlenir.\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"Girdi dosyası konumu:\n" -" GİRDİDOSYASI PO ya da POT girdi dosyası\n" -" -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi ekler\n" -"Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi okunur.\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "komut ismi eksik" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "Kullanımı: %s [SEÇENEK] KOMUT [KOMUT-SEÇENEĞİ]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -876,7 +1110,7 @@ msgstr "" "çıktısı olarak görünür. msgexec dönüş kodu olarak tüm çağrılardan\n" "elde edilen en yüksek dönüş kodunu verir.\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -885,48 +1119,37 @@ msgstr "" "'0' özel bir yerleşik komuttur ve bir null bayt ile sonlanan çeviri\n" "çıktılar. \"msgexec 0\"ın çıktısı \"xargs -0\"a girdi olarak elverişlidir.\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"Girdi dosyası konumu:\n" -" -i, --input=GİRDİDOSYASI PO girdi dosyası\n" -" -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi ekler\n" -"Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi okunur.\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "standart çıktıya yazılamadı" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "%s alt sürecine yazılamadı" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "süzgeç ismi eksik" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "en az bir sed betiği belirtilmelidir" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "Kullanımı: %s [SEÇENEK] SÜZGEÇ [SÜZGEÇ-SEÇENEĞİ]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "Bir çeviri kataloğunun tüm çevirilerine bir süzgeç uygular.\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -934,71 +1157,61 @@ msgstr "" "SÜZGEÇ çeviriyi standart girdiden okuyabilen ve değiştirilmiş çeviriyi\n" "standart çıktıya yazabilen herhangi bir programdır.\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"SÜZGEÇ olarak 'sed' kullanıldığında faydalı SÜZGEÇ-SEÇENEKLERİ:\n" -" -e, --expression=BETİK çalıştırılacak komutlara BETİĞi ekler\n" -" -f, --file=BETİKDOSYASI çalıştırılacak komutlara BETİKDOSYASInın\n" -" içeriğini ekler\n" -" -n, --quiet, --silent standart çıktı iletilerini engeller\n" -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --keep-header başlık değiştirilmez, süzülmez\n" -" --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" -" --add-location '#: dosyaismi:satır' başlıkları yazılır\n" -" (öntanımlı)\n" -" --strict Uniforum kipini etkinleştirir\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" -" -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "%s alt sürecine bloklanmayan G/Ç belirtilemez" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "%s alt süreci ile haberleşilemedi" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "%s alt sürecinden okunamadı" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "%s alt süreci %d çıkış kodu ile sonlandırıldı" @@ -1008,18 +1221,18 @@ msgstr "%s alt süreci %d çıkış kodu ile sonlandırıldı" msgid "the argument to %s should be a single punctuation character" msgstr "%s argümanı bir noktalama işareti olmalıydı" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s bir \"-d dizin\" uygulanmasını gerektiriyor" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s bir \"-l yerel\" belirtilmesini gerektiriyor" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s sadece %s ile geçerlidir" @@ -1029,84 +1242,102 @@ msgstr "%s sadece %s ile geçerlidir" msgid "%s is only valid with %s or %s" msgstr "%s sadece %s ya da %s ile geçerlidir" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d çevrilmiş ileti" msgstr[1] "%d çevrilmiş ileti" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] ", %d belirsiz çeviri" msgstr[1] ", %d belirsiz çeviri" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] ", %d çevrilmemiş ileti" msgstr[1] ", %d çevrilmemiş ileti" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "Kullanımı: %s [SEÇENEK] dosyaismi.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "Çevirilerin bulunduğu dosyadan ikilik ileti kataloğunu üretir.\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "" +"Uzun seçeneklerdeki zorunlu argümanlar kısa seçeneklerde de zorunludur.\n" +"Benzer durum seçimlik argümanlar içinde geçerlidir.\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"Girdi dosyası konumu:\n" -" dosyaismi.po ... girdi dosyası\n" -" -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi ekler\n" -"Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi okunur.\n" #: src/msgfmt.c:525 -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" -"İşlem kipi:\n" -" -j, --java Java kipi: bir Java ÖzkaynakPaketi sınıfı üretir\n" -" --java2 --java gibi, ama Java2 (JDK 1.2 ve üstü) kabul eder\n" -" --tcl Tcl kipi: bir tcl/msgcat .msg dosyası üretir\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"Çıktı dosyası konumu:\n" -" -o, --output-file=DOSYA çıktı DOSYAya yazılır\n" -" --strict Uniforum kipini etkinleştirir\n" -"Çıktı dosyası verilmemişse ya da yerine - verilmişse standart çıktıya yazılır.\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" @@ -1117,144 +1348,159 @@ msgstr "" "Sınıf ismi, özkaynak ismine yerel isminin bir altçizgi ile eklenmesiyle\n" "saptanır. Sınıf DİZİNe yazılacağından -d seçeneği zorunludur.\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Tcl kipinde çıktı dosyası konumu:\n" -" -l, --locale=YEREL YEREL ismi, dil ya da dil_ÜLKE\n" -" -d DİZİN .msg ileti kataloglarının ana dizini\n" -".msg dosyası DİZİNde olacağından -l ve -d seçenekleri zorunludur.\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"Girdi dosyası yorumlama:\n" -" -c, --check tüm denetimleri uygular:\n" -" --check-format, --check-header, --check-domain\n" -" --check-format dile bağımlı biçem dizgelerini denetler\n" -" --check-header başlık girdilerinin içeriğini ve uygunluğunu\n" -" denetler\n" -" --check-domain paket yönergeleri ile --output-file seçeneği\n" -" arasındaki çelişkileri denetler\n" -" -C, --check-compatibility GNU msgfmt'ın X/Open msgfmt gibi davranmasını\n" -" denetler\n" -" --check-accelerators[=HARF] menu öğelerindeki tuş kısayollarını\n" -" denetler\n" -" -f, --use-fuzzy çıktıda fuzzy girdileri kullanır\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap +msgstr "" + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "Çıktı ayrıntıları:\n" " -a, --alignment=SAYI dizgeleri SAYI bayta ayarlar (öntanımlı: %d)\n" " --no-hash ikilik dosya saçılma tablosunu içermeyecek\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"Çıktı ayrıntıları:\n" +" -a, --alignment=SAYI dizgeleri SAYI bayta ayarlar (öntanımlı: %d)\n" +" --no-hash ikilik dosya saçılma tablosunu içermeyecek\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" +msgstr "" + +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" msgstr "" -"Bilgilendirme seçenekleri:\n" -" -h, --help Bu yardımı gösterir ve çıkar\n" -" -V, --version Sürüm bilgilerini gösterir ve çıkar\n" -" --statistics çeviri istatistiklerini gösterir\n" -" -v, --verbose sonuçlar daha ayrıntılı verilir\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "çoğul ifadeler negatif değerler üretebilir" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "nplurals = %lu ama çoğul ifadeler en çok %lu değer üretebilir" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "çoğul ifade sıfırla bölme hatası üretebilir" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "çoğul ifade tamsayı taşması üretebilir" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "" "çoğul ifade aritmetik hatalar, özellikle de sıfırla bölme hatası üretebilir" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "ileti kataloğu çoğul çeviriler içeriyor" -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...ama başlıkta \"plural=İFADE\" gibi bir şey yok" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...ama başlıkta \"nplurals=TAMSAYI\" gibi bir şey yok" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "nplurals değeri geçersiz" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "plural= ile verilen ifade geçersiz" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...ama bazı iletiler tek çoğul biçem içeriyor" msgstr[1] "...ama bazı iletiler sadece %lu çoğul biçem içeriyor" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...ama bazı iletiler tek çoğul biçem içeriyor" msgstr[1] "...ama bazı iletiler %lu çoğul biçem içeriyor" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "Aşağıdakiler %s için geçerli mi bakılacak:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1262,129 +1508,121 @@ msgstr "" "ileti kataloğu çoğul çeviriler içermesine rağmen başlıkta\n" "\"Plural-Forms: nplurals=TAMSAYI; plural=İFADE;\" gibi bir şey yok." -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "" "`msgid' ve `msgid_plural' girdilerinin her ikisi de '\\n' ile başlamıyor" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "`msgid' ve `msgstr[%u]' girdilerinin her ikisi de '\\n' ile başlamıyor" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "`msgid' ve `msgstr' girdilerinin her ikisi de '\\n' ile başlamıyor" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "`msgid' ve `msgid_plural' girdilerinin her ikisi de '\\n' ile bitmiyor" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "`msgid' ve `msgstr[%u]' girdilerinin her ikisi de '\\n' ile bitmiyor" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "`msgid' ve `msgstr' girdilerinin her ikisi de '\\n' ile bitmiyor" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "çoğul biçemler bir GNU gettext özelliğidir" -#: src/msgfmt.c:1159 -#, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +#: src/msgfmt.c:1178 +#, fuzzy, c-format +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "'%s', 'msgid' gibi geçerli bir %s biçem dizgesi değil" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "içinde '%c' tuş kısayolu eksik" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "çok fazla '%c' tuş kısayolu içeriyor" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "başlıkta `%s' başlık alanı yok\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "`%s' başlık alanı satırın başında olmalıydı\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "bazı başlık alanları hala öntanımlı ilk değere sahip\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "`%s' başlık alanı hala öntanımlı ilk değere sahip\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "uyarı: PO dosya başlığı ya yok ya da geçersiz\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "uyarı: Kullanıcının karakter kümesinde ileti dönüşümü yapılamayacak.\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "uyarı: PO dosya başlığı fuzzy\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "uyarı: msgfmt'ın eski sürümleri bu dosyada hata verecektir.\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "dosya ismi olarak paket ismi \"%s\" uygun değil" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "dosya ismi olarak paket ismi \"%s\" uygun değil: önek kullanılacak" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "`domain %s' yönergesi yoksayıldı" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "ileti iki defa tanımlanmış" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...bu ilk tanımlamanın konumu" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "boş `msgstr' girdisi yoksayıldı" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "fuzzy `msgstr' girdisi yoksayıldı" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s: uyarı: kaynak dosya fuzzy çeviriler içeriyor" -#: src/msggrep.c:383 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "'%c' seçeneği 'K' ya da 'T' belirtilmeden önce kullanılamaz" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" @@ -1393,8 +1631,8 @@ msgstr "" "Verilen bir kalıp ile uyuşan ya da verilen kaynak dosyalarına ait olan\n" "bir çeviri kataloğunun tüm iletilerini çıkarır.\n" -#: src/msggrep.c:431 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1417,6 +1655,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1450,43 +1689,24 @@ msgstr "" " -f, --file=DOSYA KALIP, DOSYAdan sağlanır\n" " -i, --ignore-case harf büyüklükleri fark olarak algılanmaz\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" -" --add-location '#: dosyaismi:satır' başlıkları yazılır\n" -" (öntanımlı)\n" -" --strict Uniforum kipini etkinleştirir\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" -" -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "grep alt sürecine yazılamadı" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1496,7 +1716,7 @@ msgstr "" "değişkenini ABOUT-NLS dosyasında açıklandığı gibi belirtin.\n" "Bu çevirinizi test edebilmeniz için gereklidir.\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1507,24 +1727,27 @@ msgstr "" "Lütfen --locale seçeneğinden bir yerel ya da\n" "--output-file seçeneğinden .po çıktı dosyası belirtin.\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "%s oluşturuldu.\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "Kullanıcının ortam değişkenlerindeki bilgilerle bir yeni PO dosyası oluşturur.\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "Girdi dosyası konumu:\n" @@ -1532,11 +1755,13 @@ msgstr "" "Girdi dosyası verilmemişse, POT dosyası içinde bulunulan dizinde aranır,\n" "- verilmişse standart girdi okunur.\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" @@ -1545,24 +1770,16 @@ msgstr "" "Çıktı dosyası verilmemişse, --locale seçeneği ya da kullanıcının yerel\n" "ayarları kullanılır, - verilmişse sonuçlar standart çıktıya yazılır.\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -l, --locale=tr_TR hedef yerel belirtilir\n" -" --no-translator PO dosyasının otomatik üretildiği varsayılır\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1571,11 +1788,11 @@ msgstr "" "Lütfen girdi olarak kullanılacak .pot dosyasını --input seçeneği ile " "belirtin.\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "dizin okunurken hata" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1584,23 +1801,23 @@ msgstr "" "Lütfen girdi olarak kullanılacak .pot dosyasını --input seçeneği ile " "belirtin.\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() başarısız" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "%s alt süreci G/Ç hatası" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s alt süreci çıkış kodu %d ile başarısız" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1615,28 +1832,28 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "%s paketi için Türkçe çeviriler" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "mevcut karakter kümesi \"%s\" kabul görmüş bir kodlama ismi değil" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "girdi dosyasında iki farklı karakter kümesi: \"%s\" ve \"%s\"" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "girdi dosyası `%s' başlığında bir karakter kümesi belirtilmemiş." -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " @@ -1645,17 +1862,18 @@ msgstr "" "\"%s\" paketi girdi dosyası `%s' başlığındaki charset alanında bir karakter\n" "kümesi belirtilmemiş" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "hedef karakter kümesi \"%s\" kabul görmüş bir kodlama ismi değil." -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "uyarı: " -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" @@ -1663,7 +1881,7 @@ msgstr "" "Girdi dosyası UTF-8 ile karışık farklı kodlamalar içeriyor.\n" "Çıktı UTF-8'e dönüştürülüyor.\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1728,15 +1946,15 @@ msgstr "" "'%s' çıktısı yanlış olabilir.\n" "Tek yapılabilecek LC_ALL=C ayarlamaktır.\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "dönüşüm başarısız" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "girdi dosyasının başlığında bir karakter kümesi belirtilmemiş" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1745,7 +1963,7 @@ msgstr "" "\"%s\" \"%s\" e dönüştürülemiyor. %s iconv()ye bağlı,\n" "ve iconv() bu dönüşümü desteklemiyor." -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1754,11 +1972,11 @@ msgstr "" "\"%s\" \"%s\" e dönüştürülemiyor. %s iconv()ye bağlı.\n" "Bu sürüm iconv() olmaksızın kurgulanmış." -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "yedekleme türü" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1781,27 +1999,23 @@ msgstr "" "Daha iyi sonuçlar elde edebilmek için zorunlu eşleşmeler bulunamadığında\n" "belirsiz eşleşmeler kullanılmıştır.\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"Girdi dosyası konumu:\n" -" def.po eski çevirilerin dosyası\n" -" ref.pot yeni iletileri de içeren dosya\n" -" -D, --directory=DİZİN girdi dosyalarının arama yoluna eklenecek DİZİN\n" -" -C, --compendium=DOSYA ileti çevirilerinin birden fazlasını içerebilen\n" -" ek veritabanı\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" @@ -1809,21 +2023,32 @@ msgstr "" " -U, --update def.po dosyasını günceller,\n" " def.po zaten güncelse bir şey yapmaz\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "Güncelleme kipinde çıktı dosyası konumu:\n" "Sonuçlar gerisin geriye def.po dosyasına yazılır.\n" @@ -1839,40 +2064,30 @@ msgstr "" "--suffix seçeneği ile ya da SIMPLE_BACKUP_SUFFIX ortam değişkeni ile\n" "belirtilmedikçe yedekleme dosyasının soneki `~' dir.\n" -#: src/msgmerge.c:454 -#, fuzzy, no-wrap +#: src/msgmerge.c:464 msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" msgstr "" -"İşlem seçenekleri:\n" -" -m, --multi-domain ref.pot'u tüm def.po dosyalarına uygular\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" +msgstr "" + +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -"Bilgilendirme seçenekleri:\n" -" -h, --help Bu yardımı gösterir ve çıkar\n" -" -V, --version Sürüm bilgilerini gösterir ve çıkar\n" -" -v, --verbose sonuçlar daha ayrıntılı verilir\n" -" -q, --quiet, --silent bilgi verilmez\n" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr ".bu ileti çoğul biçem olmalıydı" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "bu ileti çoğul biçem olmamalıydı" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1881,54 +2096,58 @@ msgstr "" "%s%ld eski + %ld referans, %ld katışık, %ld fuzzy, %ld eksik, %ld artık " "kullanılmayan ileti okundu.\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " bitti.\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "%s ile diğer dosya isimleri bağdaşmıyor" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "Kullanımı: %s [SEÇENEK] [DOSYA]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "İkilik ileti kataloğunu Uniforum tarzı .po dosyasına dönüştürür.\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" msgstr "" "İşlem kipi:\n" -" -j, --java Java kipi: girdi bir Java ÖzkaynakPaketi sınıfıdır\n" +" -j, --java Java kipi: girdi bir Java ÖzkaynakPaketi " +"sınıfıdır\n" " --tcl Tcl kipi:, girdi bir tcl/iletiKat .msg dosyasıdır\n" -#: src/msgunfmt.c:341 -#, no-wrap +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" -"Girdi dosyası konumu:\n" -" DOSYA ... .mo girdi dosyaları\n" -"Bir DOSYA verilmemişse ya da - verilmişse standart girdi okunur.\n" +"İşlem kipi:\n" +" -j, --java Java kipi: girdi bir Java ÖzkaynakPaketi " +"sınıfıdır\n" +" --tcl Tcl kipi:, girdi bir tcl/iletiKat .msg dosyasıdır\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" +msgstr "" + +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "Java kipinde çıktı dosyası konumu:\n" @@ -1937,71 +2156,25 @@ msgstr "" "Sınıf ismi, özkaynak ismine yerel isminin bir altçizgi ile eklenmesiyle\n" "saptanır. Sınıf, CLASSPATH ortam değişkeni ile konumlanır.\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"Tcl kipinde çıktı dosyası konumu:\n" -" -l, --locale=YEREL yerel ismi, dil ya da dil_ÜLKE\n" -" -d DİZİN .msg ileti kataloglarının bulunduğu ana dizin\n" -".msg dosyası DİZİNde bulunduğundan -d ve -l seçenekleri zorunludur.\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"Çıktı dosyası konumu:\n" -" -o, --output-file=DOSYA çıktı belirtilen DOSYAya yazılır\n" -"Sonuçlar DOSYA verilmezse ya da - verilirse standart çıktıya yazılır.\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --strict Uniforum kipini etkinleştirir\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"Bilgilendirme seçenekleri:\n" -" -h, --help Bu yardımı gösterir ve çıkar\n" -" -V, --version Sürüm bilgilerini gösterir ve çıkar\n" -" -v, --verbose sonuçlar daha ayrıntılı verilir\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -2022,19 +2195,22 @@ msgstr "" "onlar ilk çeviriden alınır. Dosya konumları korunur. --unique seçeneği\n" "kullanıldığında tekrarlananlar iptal edilir.\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "İleti seçimi:\n" " -d, --repeated sadece tekrarlananlar gösterilir\n" " -u, --unique sadece tek iletiler gösterilir,\n" " tekrarlananlar iptal edilir\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "" @@ -2100,73 +2276,73 @@ msgstr "" "Başlıkta karakter kümesi yok.\n" "Kullanıcının karakter kümesinde ileti dönüşümü yapılamayacak.\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "#~ kullanımı aykırı" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "`msgstr[]' bölümü yok" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "`msgid_plural' bölümü yok" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "`msgstr' bölümü yok" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "ilk çoğul biçemin indeksi sıfır değil" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "çoğul biçemin indeksi hatalı" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "hatalar çok fazla, bunları düzeltince programı tekrar çalıştırın" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "çoklu bayt dizisi geçersiz" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "dosya sonunda çoklu bayt dizisi tamamlanmadı" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "satır sonunda çoklu bayt dizisi tamamlanmadı" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv başarısızlığı" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "\"%s\" okunurken hata" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "anahtar-sözcük \"%s\" bilinmiyor" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "denetim dizisi geçersiz" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "dizge içinde dosya sonu" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "dizge içinde satır sonu" @@ -2191,12 +2367,24 @@ msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "" "\"%s\" dosyası %s. satırda NUL sonlandırmalı olmayan bir dizge içeriyor" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "bu dosya paket yönergelerini içermeyebilir" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "ileti iki defa tanımlanmış" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...bu ilk tanımlamanın konumu" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "iki argüman gerekiyor" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "Kullanımı: %s [SEÇENEK] URL DOSYA\n" @@ -2232,7 +2420,7 @@ msgstr "Geçerli bir Java sınıfı ismi değil: %s" msgid "failed to create \"%s\"" msgstr "\"%s\" oluşturulamadı" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2244,18 +2432,18 @@ msgstr "" "Java sınıfı derlenemedi, lütfen --verbose seçeneğini kullanın ya da\n" "$JAVAC ortam değişkenine uygun değeri atayın." -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "\"%s\" yazılmak için açılırken hata" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "i18n iletileri `\\%c' öncelem dizilerini içeremez" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2268,12 +2456,25 @@ msgstr "" "olabilir. Salt ASCII msgid kullanmanız önerilir.\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "\"%s\" çıktı dosyası oluşturulamıyor" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "standart çıktı" @@ -2287,7 +2488,7 @@ msgstr "" "ileti kataloğu çoğul çeviriler içermesine rağmen başlıkta\n" "\"Plural-Forms: nplurals=TAMSAYI; plural=İFADE;\" gibi bir şey yok." -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s:%d: uyarı: sonlandırılmamış dizge sabiti" @@ -2321,11 +2522,7 @@ msgstr "" "\"%s\" karakter kümesi desteklenmiyor. %s iconv()ye bağlı.\n" "Bu sürüm iconv() olmaksızın kurgulanmış.\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "bu dosya paket yönergelerini içermeyebilir" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s:%d: uyarı: sonlandırılmamış karakter sabiti" @@ -2345,59 +2542,51 @@ msgstr "%s:%d: # dan sonra sayı yok" msgid "%s:%d: invalid string expression" msgstr "%s:%d: dizge ifade geçersiz" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "standart çıktıya yazılırken --join-existing kullanılamaz" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "xgettext anahtar sözcükler olmaksızın bulamaz" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "uyarı: `%s' dosyası `%s' uzantısı bilinmiyor; C denenecek" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "Belirtilen girdi dosyalarından çevrilebilir dizgeleri çıkartır.\n" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" msgstr "" -"Uzun seçeneklerdeki zorunlu argümanlar kısa seçeneklerde de zorunludur.\n" -"Benzer durum seçimlik argümanlar içinde geçerlidir.\n" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"Çıktı dosyası konumu:\n" -" -d, --default-domain=İSİM çıktı messages.po yerine İSİM.po dosyasına\n" -" yazılır\n" -" -o, --output=DOSYA çıktı belirtilen DOSYAya yazılır\n" -" -p, --output-dir=DİZİN çıktı dosyaları DİZİNe konulacaktır.\n" -"Çıktı dosyası olarak - verilmişse çıktı standart çıktıya yazılır.\n" -#: src/xgettext.c:632 -#, fuzzy, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "hiç girdi dosyası verilmemiş" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "Girdi dosyası dilinin seçimi:\n" " -L, --language=İSİM belirtilen dil tanınır:\n" @@ -2406,105 +2595,115 @@ msgstr "" " -C, --c++ --language=C++ için kısaltma\n" "Dil öntanımlı olarak girdi dosyasının uzantısına göre seçilir.\n" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 +msgid "" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" +msgstr "" + +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "İşlem kipi:\n" " -j, --join-existing iletileri mevcut dosyaya bağlar\n" " -x, --exclude-file=DOSYA.po DOSYA.po dosyasındaki iletiler çıkartılmaz\n" " -c, --add-comments[=ETİTET] ETİKETli yorum bloğunu çıktı dosyasına yazar\n" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Language=C/C++ ile belirtilebilecek seçenekler:\n" -" -a, --extract-all tüm dizgeleri çıkartır\n" -" -k, --keyword[=SÖZCÜK] aranacak ek anahtar sözcük (SÖZCÜK\n" -" verilmediğinde kullanılacak öntanımlı bir\n" -" sözcük yoktur.)\n" -" -T, --trigraphs girdideki ANSI C trigrafları anlar\n" -" --debug biçem dizgesi tanıması ile ilgili daha fazla\n" -" ayrıntı verilir.\n" - -#: src/xgettext.c:670 -#, no-wrap +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" --debug more detailed formatstring recognition result\n" msgstr "" -"Çıktı ayrıntıları:\n" -" -e, --no-escape C öncelemleri çıktıda kullanılmaz (öntanımlı)\n" -" -E, --escape C öncelemleri çıktıda kullanılır\n" -" --force-po boş olsa bile PO dosyasını yazar\n" -" -i, --indent satırbaşı girintili çıktı biçemi\n" -" --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" -" --add-location '#: dosyaismi:satır' başlıkları yazılır\n" -" (öntanımlı)\n" -" --strict Uniforum kipini etkinleştirir\n" -" -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" -" --no-wrap sayfa genişliğine sığmayan satırların taşan\n" -" kısmı bir alt satıra indirilmez\n" -" -s, --sort-output çıktıyı sıralı üretir\n" -" -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" -" --omit-header başlığa `msgid \"\"' girdisini yazmaz\n" -" --copyright-holder=DİZGE Çıktıya telif hakkı DİZGEsi yazılır\n" -" --foreign-user yabancı kullanıcılar için FSF telif hakkı\n" -" çıktıda bulunmaz\n" -" -m, --msgstr-prefix[=DİZGE] msgstr girdileri için önek olarak DİZGE ya da\n" -" \"\" kullanılır\n" -" -M, --msgstr-suffix[=DİZGE] msgstr girdileri için sonek olarak DİZGE ya da\n" -" \"\" kullanılır\n" - -#: src/xgettext.c:879 + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "standart girdi" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s: uyarı: " + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2514,11 +2713,754 @@ msgstr "" "gettext(\"\") ile başlık girdilerindeki bilgileri\n" "döndürür. Boş dizge değildir.\n" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "dil `%s' bilinmiyor" +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Girdi dosyası konumu:\n" +#~ " GİRDİDOSYASI PO girdi dosyası\n" +#~ " -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi " +#~ "ekler\n" +#~ "Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi " +#~ "okunur.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Çıktı dosyası konumu:\n" +#~ " -o, --output-file=DOSYA Çıktıyı DOSYAya yazar\n" +#~ "Çıktı dosyası verilmemişse ya da yerine - verilmişse sonuçlar standart\n" +#~ "çıktıya yazılır.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "İleti seçimi:\n" +#~ " --translated çevrilenler tutulur, çevrilmeyenler " +#~ "silinir.\n" +#~ " --untranslated çevrilmeyenler tutulur, çevrilenler " +#~ "silinir.\n" +#~ " --no-fuzzy 'fuzzy' imli iletiler silinir.\n" +#~ " --only-fuzzy 'fuzzy' imli iletiler tutulur.\n" +#~ " --no-obsolete eski #~ iletileri silinir.\n" +#~ " --only-obsolete eski #~ iletileri tutulur.\n" + +#, fuzzy +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "Özellik uygulaması:\n" +#~ " --set-fuzzy tüm iletilere 'fuzzy' uygular\n" +#~ " --clear-fuzzy tüm fuzzy imlilerden 'fuzzy' imini " +#~ "kaldırır\n" +#~ " --set-obsolete tüm iletileri eski olarak imler\n" +#~ " --clear-obsolete tüm eski imli iletilerden eski imini " +#~ "kaldırır\n" +#~ " --fuzzy --only-fuzzy --clear-fuzzy için kısaltma\n" +#~ " --obsolete --only-obsolete --clear-obsolete için " +#~ "kısaltma\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" +#~ " --add-location '#: dosyaismi:satır' başlıkları yazılır\n" +#~ " (öntanımlı)\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" +#~ " -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Girdi dosyası konumu:\n" +#~ " GİRDİDOSYASI ... girdi dosyaları\n" +#~ " -f, --files-from=DOSYA girdi dosyalarının listesi DOSYAdan alınır\n" +#~ " -D, --directory=DİZİN girdi dosyalarının arama yoluna DİZİN " +#~ "eklenir\n" +#~ "Girdi dosyası - ise standart girdi okunur.\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "Çıktı dosyası konumu:\n" +#~ " -o, --output-file=DOSYA çıktı DOSYAya yazılır\n" +#~ "Çıktı dosyası verilmezse ya da - verilirse sonuçlar standart çıktıya " +#~ "yazılır.\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "İleti seçimi:\n" +#~ " -<, --less-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" +#~ " SAYI dan az tanımlanmış iletileri " +#~ "gösterir,\n" +#~ " belirtilmezse öntanımlı değer sonsuz " +#~ "kullanılır\n" +#~ " ->, --more-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" +#~ " SAYI dan fazla tanımlanmış iletileri " +#~ "gösterir,\n" +#~ " belirtilmezse öntanımlı değer 1 kullanılır\n" +#~ " -u, --unique --less-than=2 için kısaltma, sadece tek " +#~ "olan\n" +#~ " iletiler gösterilir\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -t, --to-code=İSİM çıktı için kodlama belirtilir\n" +#~ " --use-first çok sayıda çeviri arasından sadece ilk " +#~ "çeviriyi\n" +#~ " kullanır\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" +#~ " --add-location '#: dosyaismi:satır' başlıkları yazılır\n" +#~ " (öntanımlı)\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" +#~ " -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "Bilgilendirme seçenekleri:\n" +#~ " -h, --help Bu yardımı gösterir ve çıkar\n" +#~ " -V, --version Sürüm bilgilerini gösterir ve çıkar\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "Girdi dosyası konumu:\n" +#~ " def.po çevirilerin bulunduğu dosya\n" +#~ " ref.pot çeviri dosyasına eklenecek girdilerin " +#~ "bulunduğu\n" +#~ " dosya\n" +#~ " -D, --directory=DİZİN girdi dosyaları arama yoluna eklenecek " +#~ "DİZİN\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "İleti seçimi:\n" +#~ " -<, --less-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" +#~ " SAYI dan az tanımlanmış iletileri " +#~ "gösterir,\n" +#~ " belirtilmezse öntanımlı değer sonsuz " +#~ "kullanılır\n" +#~ " ->, --more-than=SAYI çok sayıda tanımlanmış iletiler arasında\n" +#~ " SAYI dan fazla tanımlanmış iletileri " +#~ "gösterir,\n" +#~ " belirtilmezse öntanımlı değer 1 kullanılır\n" +#~ " -u, --unique --less-than=2 için kısaltma, sadece tek " +#~ "olan\n" +#~ " iletiler gösterilir\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" +#~ " --add-location '#: dosyaismi:satır' başlıkları yazılır\n" +#~ " (öntanımlı)\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" +#~ " -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" +#~ " --omit-header `msgid \"\"' şeklindeki başlığı yazmaz\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" +#~ " --add-location '#: dosyaismi:satır' başlıkları yazılır\n" +#~ " (öntanımlı)\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" +#~ " -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Girdi dosyası konumu:\n" +#~ " GİRDİDOSYASI PO ya da POT girdi dosyası\n" +#~ " -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi " +#~ "ekler\n" +#~ "Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi " +#~ "okunur.\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "Girdi dosyası konumu:\n" +#~ " -i, --input=GİRDİDOSYASI PO girdi dosyası\n" +#~ " -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi " +#~ "ekler\n" +#~ "Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi " +#~ "okunur.\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "SÜZGEÇ olarak 'sed' kullanıldığında faydalı SÜZGEÇ-SEÇENEKLERİ:\n" +#~ " -e, --expression=BETİK çalıştırılacak komutlara BETİĞi ekler\n" +#~ " -f, --file=BETİKDOSYASI çalıştırılacak komutlara BETİKDOSYASInın\n" +#~ " içeriğini ekler\n" +#~ " -n, --quiet, --silent standart çıktı iletilerini engeller\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --keep-header başlık değiştirilmez, süzülmez\n" +#~ " --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" +#~ " --add-location '#: dosyaismi:satır' başlıkları yazılır\n" +#~ " (öntanımlı)\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" +#~ " -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "Girdi dosyası konumu:\n" +#~ " dosyaismi.po ... girdi dosyası\n" +#~ " -D, --directory=DİZİN Girdi dosyalarının arama yoluna DİZİNi " +#~ "ekler\n" +#~ "Girdi dosyası verilmemişse ya da yerine - verilmişse standart girdi " +#~ "okunur.\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "İşlem kipi:\n" +#~ " -j, --java Java kipi: bir Java ÖzkaynakPaketi sınıfı " +#~ "üretir\n" +#~ " --java2 --java gibi, ama Java2 (JDK 1.2 ve üstü) kabul " +#~ "eder\n" +#~ " --tcl Tcl kipi: bir tcl/msgcat .msg dosyası üretir\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Çıktı dosyası konumu:\n" +#~ " -o, --output-file=DOSYA çıktı DOSYAya yazılır\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ "Çıktı dosyası verilmemişse ya da yerine - verilmişse standart çıktıya " +#~ "yazılır.\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Tcl kipinde çıktı dosyası konumu:\n" +#~ " -l, --locale=YEREL YEREL ismi, dil ya da dil_ÜLKE\n" +#~ " -d DİZİN .msg ileti kataloglarının ana dizini\n" +#~ ".msg dosyası DİZİNde olacağından -l ve -d seçenekleri zorunludur.\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "Girdi dosyası yorumlama:\n" +#~ " -c, --check tüm denetimleri uygular:\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format dile bağımlı biçem dizgelerini denetler\n" +#~ " --check-header başlık girdilerinin içeriğini ve " +#~ "uygunluğunu\n" +#~ " denetler\n" +#~ " --check-domain paket yönergeleri ile --output-file " +#~ "seçeneği\n" +#~ " arasındaki çelişkileri denetler\n" +#~ " -C, --check-compatibility GNU msgfmt'ın X/Open msgfmt gibi " +#~ "davranmasını\n" +#~ " denetler\n" +#~ " --check-accelerators[=HARF] menu öğelerindeki tuş kısayollarını\n" +#~ " denetler\n" +#~ " -f, --use-fuzzy çıktıda fuzzy girdileri kullanır\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Bilgilendirme seçenekleri:\n" +#~ " -h, --help Bu yardımı gösterir ve çıkar\n" +#~ " -V, --version Sürüm bilgilerini gösterir ve çıkar\n" +#~ " --statistics çeviri istatistiklerini gösterir\n" +#~ " -v, --verbose sonuçlar daha ayrıntılı verilir\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" +#~ " --add-location '#: dosyaismi:satır' başlıkları yazılır\n" +#~ " (öntanımlı)\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" +#~ " -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "Girdi dosyası konumu:\n" +#~ " def.po eski çevirilerin dosyası\n" +#~ " ref.pot yeni iletileri de içeren dosya\n" +#~ " -D, --directory=DİZİN girdi dosyalarının arama yoluna eklenecek " +#~ "DİZİN\n" +#~ " -C, --compendium=DOSYA ileti çevirilerinin birden fazlasını " +#~ "içerebilen\n" +#~ " ek veritabanı\n" + +#, fuzzy +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "İşlem seçenekleri:\n" +#~ " -m, --multi-domain ref.pot'u tüm def.po dosyalarına uygular\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "Bilgilendirme seçenekleri:\n" +#~ " -h, --help Bu yardımı gösterir ve çıkar\n" +#~ " -V, --version Sürüm bilgilerini gösterir ve çıkar\n" +#~ " -v, --verbose sonuçlar daha ayrıntılı verilir\n" +#~ " -q, --quiet, --silent bilgi verilmez\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Tcl kipinde çıktı dosyası konumu:\n" +#~ " -l, --locale=YEREL yerel ismi, dil ya da dil_ÜLKE\n" +#~ " -d DİZİN .msg ileti kataloglarının bulunduğu ana " +#~ "dizin\n" +#~ ".msg dosyası DİZİNde bulunduğundan -d ve -l seçenekleri zorunludur.\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "Bilgilendirme seçenekleri:\n" +#~ " -h, --help Bu yardımı gösterir ve çıkar\n" +#~ " -V, --version Sürüm bilgilerini gösterir ve çıkar\n" +#~ " -v, --verbose sonuçlar daha ayrıntılı verilir\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "Çıktı dosyası konumu:\n" +#~ " -d, --default-domain=İSİM çıktı messages.po yerine İSİM.po dosyasına\n" +#~ " yazılır\n" +#~ " -o, --output=DOSYA çıktı belirtilen DOSYAya yazılır\n" +#~ " -p, --output-dir=DİZİN çıktı dosyaları DİZİNe konulacaktır.\n" +#~ "Çıktı dosyası olarak - verilmişse çıktı standart çıktıya yazılır.\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Language=C/C++ ile belirtilebilecek seçenekler:\n" +#~ " -a, --extract-all tüm dizgeleri çıkartır\n" +#~ " -k, --keyword[=SÖZCÜK] aranacak ek anahtar sözcük (SÖZCÜK\n" +#~ " verilmediğinde kullanılacak öntanımlı bir\n" +#~ " sözcük yoktur.)\n" +#~ " -T, --trigraphs girdideki ANSI C trigrafları anlar\n" +#~ " --debug biçem dizgesi tanıması ile ilgili daha " +#~ "fazla\n" +#~ " ayrıntı verilir.\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "Çıktı ayrıntıları:\n" +#~ " -e, --no-escape C öncelemleri çıktıda kullanılmaz " +#~ "(öntanımlı)\n" +#~ " -E, --escape C öncelemleri çıktıda kullanılır\n" +#~ " --force-po boş olsa bile PO dosyasını yazar\n" +#~ " -i, --indent satırbaşı girintili çıktı biçemi\n" +#~ " --no-location '#: dosyaismi:satır' başlıkları yazılmaz\n" +#~ " --add-location '#: dosyaismi:satır' başlıkları yazılır\n" +#~ " (öntanımlı)\n" +#~ " --strict Uniforum kipini etkinleştirir\n" +#~ " -w, --width=SAYI sayfa genişliği SAYIya ayarlanır\n" +#~ " --no-wrap sayfa genişliğine sığmayan satırların " +#~ "taşan\n" +#~ " kısmı bir alt satıra indirilmez\n" +#~ " -s, --sort-output çıktıyı sıralı üretir\n" +#~ " -F, --sort-by-file çıktıyı dosya konumuna göre sıralar\n" +#~ " --omit-header başlığa `msgid \"\"' girdisini yazmaz\n" +#~ " --copyright-holder=DİZGE Çıktıya telif hakkı DİZGEsi yazılır\n" +#~ " --foreign-user yabancı kullanıcılar için FSF telif hakkı\n" +#~ " çıktıda bulunmaz\n" +#~ " -m, --msgstr-prefix[=DİZGE] msgstr girdileri için önek olarak DİZGE ya " +#~ "da\n" +#~ " \"\" kullanılır\n" +#~ " -M, --msgstr-suffix[=DİZGE] msgstr girdileri için sonek olarak DİZGE ya " +#~ "da\n" +#~ " \"\" kullanılır\n" + #~ msgid "missing arguments" #~ msgstr "argümanlar eksik" diff --git a/gettext-tools/po/zh_TW.po b/gettext-tools/po/zh_TW.po index 36986dd59..9f34e2662 100644 --- a/gettext-tools/po/zh_TW.po +++ b/gettext-tools/po/zh_TW.po @@ -7,7 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: gettext 0.11.3\n" -"POT-Creation-Date: 2003-02-12 19:49+0100\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"POT-Creation-Date: 2003-05-17 17:25+0200\n" "PO-Revision-Date: 2002-07-21 06:45 +0800\n" "Last-Translator: Pofeng Lee \n" "Language-Team: Chinese (traditional) \n" @@ -31,40 +32,41 @@ msgid "Valid arguments are:" msgstr "¦³®Äªº°Ñ¼Æ¬°¡G" # lib/copy-file.c:61 src/file-list.c:57 src/po-lex.c:726 src/read-mo.c:171 src/urlget.c:204 src/xgettext.c:823 src/xgettext.c:836 src/xgettext.c:846 #, c-format -#: lib/copy-file.c:63 src/file-list.c:56 src/po-lex.c:652 src/read-mo.c:241 -#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:888 src/xgettext.c:901 -#: src/xgettext.c:911 +#: lib/copy-file.c:64 src/file-list.c:56 src/open-po.c:118 src/read-mo.c:241 +#: src/read-tcl.c:121 src/urlget.c:195 src/xgettext.c:931 src/xgettext.c:944 +#: src/xgettext.c:954 #, c-format msgid "error while opening \"%s\" for reading" msgstr "·í¶}±ÒÀɮס§%s¡¨·Ç³ÆÅª¨ú®Éµo¥Í¿ù»~" -#: lib/copy-file.c:70 +#: lib/copy-file.c:71 #, c-format msgid "cannot open backup file \"%s\" for writing" msgstr "µLªk¼g¤J³Æ¥÷ÀÉ¡§%s¡¨" -#: lib/copy-file.c:83 src/urlget.c:207 +#: lib/copy-file.c:79 src/urlget.c:207 #, c-format msgid "error reading \"%s\"" msgstr "Ū¨ú¡§%s¡¨®Éµo¥Í¿ù»~" -#: lib/copy-file.c:89 lib/copy-file.c:93 +#: lib/copy-file.c:84 lib/copy-file.c:88 #, c-format msgid "error writing \"%s\"" msgstr "¼g¤J¡§%s¡¨®Éµo¥Í¿ù»~" -#: lib/copy-file.c:95 src/urlget.c:217 +#: lib/copy-file.c:90 src/urlget.c:217 #, c-format msgid "error after reading \"%s\"" msgstr "§¹¦¨Åª¨ú¡§%s¡¨«áµo¥Í¿ù»~" -#: lib/error.c:112 +#: lib/error.c:137 lib/error.c:165 msgid "Unknown system error" msgstr "¤£©úªº¨t²Î¿ù»~" -#: lib/execute.c:150 lib/execute.c:185 lib/pipe-bidi.c:143 lib/pipe-bidi.c:178 -#: lib/pipe-in.c:150 lib/pipe-in.c:186 lib/pipe-out.c:150 lib/pipe-out.c:186 -#: lib/wait-process.c:129 +#: lib/execute.c:176 lib/execute.c:229 lib/execute.c:264 lib/pipe-bidi.c:174 +#: lib/pipe-bidi.c:239 lib/pipe-bidi.c:274 lib/pipe-in.c:190 lib/pipe-in.c:248 +#: lib/pipe-in.c:284 lib/pipe-out.c:190 lib/pipe-out.c:248 lib/pipe-out.c:284 +#: lib/wait-process.c:147 #, c-format msgid "%s subprocess failed" msgstr "%s °Æµ{§Çµo¥Í¿ù»~" @@ -124,7 +126,7 @@ msgstr "%s msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s¡G¿ï¶µ¡¥-W %s¡¦¤£¤¹³\¦³°Ñ¼Æ\n" -#: lib/javacomp.c:456 +#: lib/javacomp.c:455 msgid "Java compiler not found, try installing gcj or set $JAVAC" msgstr "§ä¤£¨ì Java ½s;¹¡A½Ð¦w¸Ë gcj ©Î¬O³]©w $JAVAC Àô¹ÒÅܼÆ" @@ -132,83 +134,269 @@ msgstr " msgid "Java virtual machine not found, try installing gij or set $JAVA" msgstr "§ä¤£¨ì Java virtual machine¡A½Ð¦w¸Ë gij ©Î¬O³]©w $JAVA Àô¹ÒÅܼÆ" -#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:47 -#: lib/xsetenv.c:40 src/po-lex.c:88 src/po-lex.c:117 src/x-glade.c:348 +#: lib/obstack.c:491 lib/obstack.c:494 lib/xerror.c:50 lib/xmalloc.c:41 +#: lib/xsetenv.c:40 src/po-lex.c:87 src/po-lex.c:116 src/x-glade.c:348 msgid "memory exhausted" msgstr "°O¾ÐÅé¯ÓºÉ" -#: lib/pipe-bidi.c:106 lib/pipe-bidi.c:108 lib/pipe-in.c:117 -#: lib/pipe-out.c:117 +#: lib/pipe-bidi.c:126 lib/pipe-bidi.c:128 lib/pipe-bidi.c:202 +#: lib/pipe-bidi.c:204 lib/pipe-in.c:139 lib/pipe-in.c:215 lib/pipe-out.c:139 +#: lib/pipe-out.c:215 msgid "cannot create pipe" msgstr "µLªk«Ø¥ßºÞ½u" -#: lib/wait-process.c:107 +#: lib/wait-process.c:125 #, c-format msgid "%s subprocess" msgstr "%s °Æµ{§Ç" -#: lib/wait-process.c:121 +#: lib/wait-process.c:139 #, c-format msgid "%s subprocess got fatal signal %d" msgstr "%s °Æµ{§Ç¥X²{ÄY­«¿ù»~ªº°T¸¹ %d" -#: src/format-awk.c:450 src/format-elisp.c:327 src/format-librep.c:291 -#: src/format-pascal.c:381 src/format-php.c:321 src/format-tcl.c:357 -#: src/format-ycp.c:126 +#: src/format-awk.c:493 src/format-elisp.c:341 src/format-librep.c:305 +#: src/format-pascal.c:394 src/format-php.c:341 src/format-tcl.c:380 +#: src/format-ycp.c:137 #, c-format msgid "" "a format specification for argument %u, as in '%s', doesn't exist in 'msgid'" msgstr "¡¥%2$s¡¦¤¤²Ä %1$u ­Ó°Ñ¼Æªº³W®æ¦b¡¥msgid¡¦¤¤¨Ã¤£¦s¦b" -#: src/format-awk.c:465 src/format-elisp.c:342 src/format-librep.c:306 -#: src/format-pascal.c:396 src/format-php.c:336 src/format-tcl.c:372 -#: src/format-ycp.c:125 +#: src/format-awk.c:508 src/format-elisp.c:356 src/format-librep.c:320 +#: src/format-pascal.c:409 src/format-php.c:356 src/format-tcl.c:395 +#: src/format-ycp.c:136 #, c-format msgid "a format specification for argument %u doesn't exist in '%s'" msgstr "²Ä %u ­Ó°Ñ¼Æªº³W®æ¦b¡¥%s¡¦¤¤¨Ã¤£¦s¦b" -#: src/format-awk.c:490 src/format-c.c:752 src/format-elisp.c:367 -#: src/format-librep.c:331 src/format-pascal.c:421 src/format-php.c:361 -#: src/format-python.c:498 src/format-tcl.c:397 +#: src/format-awk.c:533 src/format-c.c:825 src/format-elisp.c:381 +#: src/format-librep.c:345 src/format-pascal.c:434 src/format-php.c:381 +#: src/format-python.c:530 src/format-tcl.c:420 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument %u are not the same" msgstr "¡¥msgid¡¦©M¡¥%s¡¦ªº²Ä %u ­Ó°Ñ¼Æªº³W®æ¨Ã¤£¬Û¦P" -#: src/format-c.c:738 src/format-python.c:484 +#: src/format-c.c:176 +#, c-format +msgid "" +"In the directive number %u, the token after '<' is not the name of a format " +"specifier macro. The valid macro names are listed in ISO C 99 section 7.8.1." +msgstr "" + +#: src/format-c.c:545 +#, c-format +msgid "In the directive number %u, the token after '<' is not followed by '>'." +msgstr "" + +#: src/format-c.c:744 +#, c-format +msgid "The string refers to argument number %u but ignores argument number %u." +msgstr "" + +#: src/format-c.c:811 src/format-python.c:516 #, c-format msgid "number of format specifications in 'msgid' and '%s' does not match" msgstr "¡¥msgid¡¦©M¡¥%s¡¦ªº°Ñ¼Æ¼Æ¥Ø¨Ã¤£²Å¦X" -#: src/format-java.c:632 +#: src/format-invalid.h:23 +msgid "The string ends in the middle of a directive." +msgstr "" + +#: src/format-invalid.h:26 +msgid "" +"The string refers to arguments both through absolute argument numbers and " +"through unnumbered argument specifications." +msgstr "" + +#: src/format-invalid.h:29 +#, c-format +msgid "" +"In the directive number %u, the argument number 0 is not a positive integer." +msgstr "" + +#: src/format-invalid.h:31 +#, c-format +msgid "" +"In the directive number %u, the width's argument number 0 is not a positive " +"integer." +msgstr "" + +#: src/format-invalid.h:33 +#, c-format +msgid "" +"In the directive number %u, the precision's argument number 0 is not a " +"positive integer." +msgstr "" + +#: src/format-invalid.h:37 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a valid conversion " +"specifier." +msgstr "" + +#: src/format-invalid.h:38 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a valid " +"conversion specifier." +msgstr "" + +#: src/format-invalid.h:41 +#, c-format +msgid "The string refers to argument number %u in incompatible ways." +msgstr "" + +#: src/format-java.c:190 +msgid "" +"The string ends in the middle of a directive: found '{' without matching '}'." +msgstr "" + +#: src/format-java.c:203 +#, c-format +msgid "In the directive number %u, '{' is not followed by an argument number." +msgstr "" + +#: src/format-java.c:236 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid date/time " +"style." +msgstr "" + +#: src/format-java.c:245 src/format-java.c:275 src/format-java.c:298 +#, c-format +msgid "In the directive number %u, \"%s\" is not followed by a comma." +msgstr "" + +#: src/format-java.c:266 +#, c-format +msgid "" +"In the directive number %u, the substring \"%s\" is not a valid number style." +msgstr "" + +#: src/format-java.c:305 +#, c-format +msgid "" +"In the directive number %u, the argument number is not followed by a comma " +"and one of \"%s\", \"%s\", \"%s\", \"%s\"." +msgstr "" + +#: src/format-java.c:322 +msgid "" +"The string starts in the middle of a directive: found '}' without matching " +"'{'." +msgstr "" + +#: src/format-java.c:546 +#, c-format +msgid "In the directive number %u, a choice contains no number." +msgstr "" + +#: src/format-java.c:557 +#, c-format +msgid "" +"In the directive number %u, a choice contains a number that is not followed " +"by '<', '#' or '%s'." +msgstr "" + +#: src/format-java.c:715 #, c-format msgid "" "a format specification for argument {%u}, as in '%s', doesn't exist in " "'msgid'" msgstr "¡¥%2$s¡¦¤¤ªº°Ñ¼Æ {%1$u} ªº®æ¦¡¦b¡¥msgid¡¦¤¤¨Ã¤£¦s¦b" -#: src/format-java.c:647 +#: src/format-java.c:730 #, c-format msgid "a format specification for argument {%u} doesn't exist in '%s'" msgstr "°Ñ¼Æ {%u} ªº³W®æ¦b¡¥%s¡¦¤¤¨Ã¤£¦s¦b" -#: src/format-java.c:672 +#: src/format-java.c:755 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument {%u} are not the same" msgstr "¡¥msgid¡¦©M¡¥%s¡¦ªº°Ñ¼Æ {%u} ªº³W®æ¨Ã¤£¬Û¦P" -#: src/format-lisp.c:3212 +#: src/format-lisp.c:2354 src/format-lisp.c:2366 +#, c-format +msgid "" +"In the directive number %u, parameter %u is of type '%s' but a parameter of " +"type '%s' is expected." +msgstr "" + +#: src/format-lisp.c:2389 +#, c-format +msgid "" +"In the directive number %u, too many parameters are given; expected at most %" +"u parameters." +msgstr "" + +#: src/format-lisp.c:2501 +#, c-format +msgid "In the directive number %u, '%c' is not followed by a digit." +msgstr "" + +#: src/format-lisp.c:2699 +#, c-format +msgid "In the directive number %u, the argument %d is negative." +msgstr "" + +#: src/format-lisp.c:2761 +msgid "The string ends in the middle of a ~/.../ directive." +msgstr "" + +#: src/format-lisp.c:2791 src/format-lisp.c:3014 src/format-lisp.c:3120 +#: src/format-lisp.c:3169 src/format-lisp.c:3255 +#, c-format +msgid "Found '~%c' without matching '~%c'." +msgstr "" + +#: src/format-lisp.c:2807 +#, c-format +msgid "In the directive number %u, both the @ and the : modifiers are given." +msgstr "" + +#: src/format-lisp.c:2905 +#, c-format +msgid "" +"In the directive number %u, '~:[' is not followed by two clauses, separated " +"by '~;'." +msgstr "" + +#: src/format-lisp.c:3203 +#, c-format +msgid "In the directive number %u, '~;' is used in an invalid position." +msgstr "" + +#: src/format-lisp.c:3289 +msgid "The string refers to some argument in incompatible ways." +msgstr "" + +#: src/format-lisp.c:3333 #, c-format msgid "format specifications in 'msgid' and '%s' are not equivalent" msgstr "¡¥msgid¡¦©M¡¥%s¡¦ªº°Ñ¼Æ³W®æ¨Ã«D¦Pµ¥" -#: src/format-lisp.c:3233 +#: src/format-lisp.c:3354 #, c-format msgid "format specifications in '%s' are not a subset of those in 'msgid'" msgstr "¡¥%s¡¦ªº°Ñ¼Æ³W®æ¨Ã«D¡¥msgid¡¦ªº°Ñ¼Æ³W®æªº¤@³¡¥÷" -#: src/format-python.c:375 +#: src/format-python.c:115 +msgid "" +"The string refers to arguments both through argument names and through " +"unnamed argument specifications." +msgstr "" + +#: src/format-python.c:329 +#, c-format +msgid "The string refers to the argument named '%s' in incompatible ways." +msgstr "" + +#: src/format-python.c:407 #, c-format msgid "" "format specifications in 'msgid' expect a mapping, those in '%s' expect a " @@ -217,7 +405,7 @@ msgstr "" "¦b 'msgid' ¸Ì­±ªº¦r¦ê®æ¦¡©w¸q¹ïÀ³ªº¬O¤@­ÓÂø´êªí(mapping)¡A¦Ó¦b '%s' ¸Ì­±ªº¹ï" "À³ªº«o¬O¤@­Ó©T©w¦³§Ç¦C (tuple)" -#: src/format-python.c:387 +#: src/format-python.c:419 #, c-format msgid "" "format specifications in 'msgid' expect a tuple, those in '%s' expect a " @@ -226,29 +414,43 @@ msgstr "" "¦b 'msgid' ¸Ì­±ªº¦r¦ê®æ¦¡©w¸q¹ïÀ³ªº¬O¤@­Ó©T©w¦³§Ç¦C(tuple)¡A¦Ó¦b '%s' ¸Ì­±ªº" "¹ïÀ³ªº«o¬O¤@­ÓÂø´êªí (mapping)" -#: src/format-python.c:415 +#: src/format-python.c:447 #, c-format msgid "" "a format specification for argument '%s', as in '%s', doesn't exist in " "'msgid'" msgstr "¡¥%2$s¡¦¤¤ªº°Ñ¼Æ¡¥%1$s¡¦ªº®æ¦¡¦b¡¥msgid¡¦¤¤¨Ã¤£¦s¦b" -#: src/format-python.c:430 +#: src/format-python.c:462 #, c-format msgid "a format specification for argument '%s' doesn't exist in '%s'" msgstr "°Ñ¼Æ¡¥%s¡¦ªº³W®æ¦b¡¥%s¡¦¤¤¨Ã¤£¦s¦b" -#: src/format-python.c:456 +#: src/format-python.c:488 #, c-format msgid "" "format specifications in 'msgid' and '%s' for argument '%s' are not the same" msgstr "¡¥msgid¡¦©M¡¥%s¡¦ªº°Ñ¼Æ¡¥%s¡¦ªº®æ¦¡¨Ã¤£¬Û¦P" -#: src/hostname.c:171 src/msgattrib.c:285 src/msgcat.c:235 src/msgcmp.c:125 -#: src/msgcomm.c:234 src/msgconv.c:188 src/msgen.c:177 src/msgexec.c:159 -#: src/msgfilter.c:238 src/msgfmt.c:321 src/msggrep.c:285 src/msginit.c:230 -#: src/msgmerge.c:268 src/msgunfmt.c:205 src/msguniq.c:213 src/urlget.c:128 -#: src/xgettext.c:397 +#: src/format-ycp.c:85 +#, c-format +msgid "" +"In the directive number %u, the character '%c' is not a digit between 1 and " +"9." +msgstr "" + +#: src/format-ycp.c:86 +#, c-format +msgid "" +"The character that terminates the directive number %u is not a digit between " +"1 and 9." +msgstr "" + +#: src/hostname.c:172 src/msgattrib.c:296 src/msgcat.c:248 src/msgcmp.c:130 +#: src/msgcomm.c:245 src/msgconv.c:202 src/msgen.c:188 src/msgexec.c:166 +#: src/msgfilter.c:253 src/msgfmt.c:321 src/msggrep.c:296 src/msginit.c:250 +#: src/msgmerge.c:278 src/msgunfmt.c:211 src/msguniq.c:224 src/urlget.c:129 +#: src/xgettext.c:411 #, c-format, no-wrap msgid "" "Copyright (C) %s Free Software Foundation, Inc.\n" @@ -259,221 +461,371 @@ msgstr "" "³o¬O¦Û¥Ñ³nÅé¡F½Ð°Ñ¦Ò­ì©l½Xªºª©ÅvÁn©ú¡C¥»³nÅ餣´£¨Ñ¥ô¦ó«OÃÒ¡A¬Æ¦Ü¤£·|¥]¬A\n" "¥i°â©Ê©M¾A¥Î©ó¥ô¦ó¯S©w¥Øªºªº«OÃÒ¡C\n" -#: src/hostname.c:176 src/msgattrib.c:290 src/msgcat.c:240 src/msgcmp.c:130 -#: src/msgcomm.c:239 src/msgconv.c:193 src/msgen.c:182 src/msgexec.c:164 -#: src/msgfilter.c:243 src/msgfmt.c:326 src/msggrep.c:290 src/msginit.c:235 -#: src/msgmerge.c:273 src/msgunfmt.c:210 src/msguniq.c:218 src/urlget.c:133 -#: src/xgettext.c:402 +#: src/hostname.c:177 src/msgattrib.c:301 src/msgcat.c:253 src/msgcmp.c:135 +#: src/msgcomm.c:250 src/msgconv.c:207 src/msgen.c:193 src/msgexec.c:171 +#: src/msgfilter.c:258 src/msgfmt.c:326 src/msggrep.c:301 src/msginit.c:255 +#: src/msgmerge.c:283 src/msgunfmt.c:216 src/msguniq.c:229 src/urlget.c:134 +#: src/xgettext.c:416 #, c-format msgid "Written by %s.\n" msgstr "¥Ñ %s ½s¼g¡C\n" -#: src/hostname.c:186 src/msginit.c:245 +#: src/hostname.c:187 src/msginit.c:265 msgid "too many arguments" msgstr "°Ñ¼Æ¹L¦h" -#: src/hostname.c:199 src/msgattrib.c:346 src/msgcat.c:295 src/msgcmp.c:161 -#: src/msgcomm.c:307 src/msgconv.c:247 src/msgen.c:232 src/msgexec.c:216 -#: src/msgfilter.c:335 src/msgfmt.c:497 src/msggrep.c:394 src/msginit.c:320 -#: src/msgmerge.c:385 src/msgunfmt.c:314 src/msguniq.c:274 src/urlget.c:156 -#: src/xgettext.c:593 +#: src/hostname.c:200 src/msgattrib.c:357 src/msgcat.c:311 src/msgcmp.c:166 +#: src/msgcomm.c:318 src/msgconv.c:264 src/msgen.c:243 src/msgexec.c:223 +#: src/msgfilter.c:350 src/msgfmt.c:496 src/msggrep.c:415 src/msginit.c:340 +#: src/msgmerge.c:399 src/msgunfmt.c:320 src/msguniq.c:285 src/urlget.c:157 +#: src/xgettext.c:607 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "¸Õ¸Õ¡¥%s --help¡¦¨ÓÀò¨ú§ó¦h¸ê°T¡C\n" -#: src/hostname.c:204 src/msginit.c:325 -#, c-format, no-wrap +#: src/hostname.c:204 src/msginit.c:344 +#, c-format msgid "Usage: %s [OPTION]\n" msgstr "¥Îªk¡G%s [¿ï¶µ]\n" -#: src/hostname.c:209 -#, no-wrap +#: src/hostname.c:208 msgid "Print the machine's hostname.\n" msgstr "¦C¦L¥D¾÷ªº¦WºÙ¡C\n" -#: src/hostname.c:214 -#, no-wrap +#: src/hostname.c:211 +msgid "Output format:\n" +msgstr "" + +#: src/hostname.c:213 +msgid " -s, --short short host name\n" +msgstr "" + +#: src/hostname.c:215 +#, fuzzy msgid "" -"Output format:\n" -" -s, --short short host name\n" -" -f, --fqdn, --long long host name, includes fully qualified domain name,\n" -" and aliases\n" -" -i, --ip-address addresses for the hostname\n" +" -f, --fqdn, --long long host name, includes fully qualified " +"domain\n" +" name, and aliases\n" msgstr "" "¿é¥X®æ¦¡¡G\n" " -s, --short µuªº¥D¾÷¦WºÙ\n" " -f, --fqdn, --long ªøªº¥D¾÷¦WºÙ¡A¥]¬A¥¿¦¡ªººô°ì¦WºÙ¡]FQDN¡^¤Î§O¦W\n" " -i, --ip-address ¥D¾÷ªº IP ¦a§}\n" -#: src/hostname.c:223 src/msgattrib.c:424 src/msgcmp.c:200 src/msgconv.c:307 -#: src/msgen.c:288 src/msgexec.c:254 src/msgfilter.c:404 src/msggrep.c:478 -#: src/msginit.c:367 src/urlget.c:172 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +#: src/hostname.c:218 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: src/hostname.c:221 src/msgattrib.c:457 src/msgcat.c:404 src/msgcmp.c:206 +#: src/msgcomm.c:407 src/msgconv.c:336 src/msgen.c:312 src/msgexec.c:263 +#: src/msgfilter.c:432 src/msgfmt.c:597 src/msggrep.c:513 src/msginit.c:392 +#: src/msgmerge.c:509 src/msgunfmt.c:400 src/msguniq.c:370 src/urlget.c:171 +#: src/xgettext.c:729 +msgid "Informative output:\n" +msgstr "" + +#: src/hostname.c:223 src/msgattrib.c:459 src/msgcat.c:406 src/msgcmp.c:208 +#: src/msgcomm.c:409 src/msgconv.c:338 src/msgen.c:314 src/msgexec.c:265 +#: src/msgfilter.c:434 src/msgfmt.c:599 src/msggrep.c:515 src/msginit.c:394 +#: src/msgmerge.c:511 src/msgunfmt.c:402 src/msguniq.c:372 src/urlget.c:173 +#: src/xgettext.c:731 +msgid " -h, --help display this help and exit\n" +msgstr "" + +#: src/hostname.c:225 src/msgattrib.c:461 src/msgcat.c:408 src/msgcmp.c:210 +#: src/msgcomm.c:411 src/msgconv.c:340 src/msgen.c:316 src/msgexec.c:267 +#: src/msgfilter.c:436 src/msgfmt.c:601 src/msggrep.c:517 src/msginit.c:396 +#: src/msgmerge.c:513 src/msgunfmt.c:404 src/msguniq.c:374 src/urlget.c:175 +#: src/xgettext.c:733 +#, fuzzy +msgid " -V, --version output version information and exit\n" msgstr "" "¿é¥X¸ê°T¡G\n" " -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" " -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" -#: src/hostname.c:229 src/msgattrib.c:430 src/msgcat.c:378 src/msgcmp.c:206 -#: src/msgcomm.c:387 src/msgconv.c:313 src/msgen.c:294 src/msgexec.c:260 -#: src/msgfilter.c:410 src/msgfmt.c:591 src/msggrep.c:484 src/msginit.c:373 -#: src/msgmerge.c:486 src/msgunfmt.c:395 src/msguniq.c:350 src/urlget.c:178 -#: src/xgettext.c:698 +#: src/hostname.c:228 src/msgattrib.c:464 src/msgcat.c:411 src/msgcmp.c:213 +#: src/msgcomm.c:414 src/msgconv.c:343 src/msgen.c:319 src/msgexec.c:270 +#: src/msgfilter.c:439 src/msgfmt.c:608 src/msggrep.c:520 src/msginit.c:399 +#: src/msgmerge.c:520 src/msgunfmt.c:409 src/msguniq.c:377 src/urlget.c:178 +#: src/xgettext.c:736 msgid "Report bugs to .\n" msgstr "½Ð¦^³ø¿ù»~¦Ü ¡C\n" -#: src/hostname.c:244 src/hostname.c:251 +#: src/hostname.c:243 src/hostname.c:250 msgid "could not get host name" msgstr "µLªk¨ú±o¥D¾÷¦WºÙ" -#: src/msgattrib.c:305 src/msgconv.c:208 src/msgexec.c:139 src/msgfilter.c:184 -#: src/msggrep.c:305 src/msginit.c:184 src/msguniq.c:233 +#: src/msgattrib.c:316 src/msgconv.c:222 src/msgexec.c:142 src/msgfilter.c:191 +#: src/msggrep.c:316 src/msginit.c:196 src/msguniq.c:244 msgid "at most one input file allowed" msgstr "³Ì¦h¥u¤¹³\¤@­Ó¿é¤JÀÉ" -#: src/msgattrib.c:311 src/msgattrib.c:315 src/msgcat.c:250 src/msgcat.c:254 -#: src/msgcomm.c:249 src/msgcomm.c:253 src/msgconv.c:214 src/msgconv.c:218 -#: src/msgen.c:204 src/msgen.c:208 src/msgfilter.c:258 src/msgfilter.c:262 -#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:311 -#: src/msggrep.c:315 src/msgmerge.c:298 src/msgmerge.c:319 src/msgmerge.c:323 -#: src/msgunfmt.c:220 src/msguniq.c:239 src/msguniq.c:243 src/xgettext.c:412 -#: src/xgettext.c:416 +#: src/msgattrib.c:322 src/msgattrib.c:326 src/msgcat.c:263 src/msgcat.c:267 +#: src/msgcomm.c:260 src/msgcomm.c:264 src/msgconv.c:228 src/msgconv.c:232 +#: src/msgen.c:215 src/msgen.c:219 src/msgfilter.c:273 src/msgfilter.c:277 +#: src/msgfmt.c:343 src/msgfmt.c:349 src/msgfmt.c:364 src/msggrep.c:322 +#: src/msggrep.c:326 src/msgmerge.c:308 src/msgmerge.c:329 src/msgmerge.c:333 +#: src/msgunfmt.c:226 src/msguniq.c:250 src/msguniq.c:254 src/xgettext.c:426 +#: src/xgettext.c:430 #, c-format msgid "%s and %s are mutually exclusive" msgstr "%s ©M %s ¨âªÌ¬O¤¬¤£¬Û®eªº" -#: src/msgattrib.c:351 src/msgconv.c:252 src/msggrep.c:399 src/msguniq.c:279 -#, c-format, no-wrap +#: src/msgattrib.c:361 src/msgconv.c:268 src/msggrep.c:419 src/msguniq.c:289 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]\n" msgstr "¥Îªk¡G%s [¿ï¶µ] [¿é¤JÀÉ]\n" -#: src/msgattrib.c:356 +#: src/msgattrib.c:366 #, no-wrap msgid "" "Filters the messages of a translation catalog according to their attributes,\n" "and manipulates the attributes.\n" msgstr "®Ú¾Ú°T®§ªºÄݩʹLÂo½ĶÀɸ̪ºÂ½Ä¶±ø¥Ø¡A¨Ã³B²z°T®§ªºÄݩʡC\n" -#: src/msgattrib.c:362 src/msgcat.c:318 src/msgcmp.c:181 src/msgcomm.c:329 -#: src/msgconv.c:262 src/msgen.c:250 src/msgexec.c:241 src/msgfilter.c:350 -#: src/msgfmt.c:512 src/msggrep.c:410 src/msginit.c:336 src/msgmerge.c:408 -#: src/msgunfmt.c:329 src/msguniq.c:296 -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/msgattrib.c:370 src/msgcat.c:332 src/msgcmp.c:184 src/msgcomm.c:338 +#: src/msgconv.c:276 src/msgen.c:259 src/msgexec.c:246 src/msgfilter.c:362 +#: src/msggrep.c:429 src/msginit.c:354 src/msgmerge.c:420 src/msgunfmt.c:332 +#: src/msguniq.c:305 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "ªø¿ï¶µ¥²¶·¥Îªº°Ñ¼Æ¦b¨Ï¥Îµu¿ï¶µ®É¤]¬O¥²¶·ªº¡C\n" -#: src/msgattrib.c:367 src/msgconv.c:267 src/msggrep.c:415 src/msguniq.c:301 -#, no-wrap +#: src/msgattrib.c:373 src/msgcat.c:335 src/msgcmp.c:187 src/msgcomm.c:341 +#: src/msgconv.c:279 src/msgen.c:262 src/msgexec.c:249 src/msgfilter.c:365 +#: src/msgfmt.c:514 src/msggrep.c:432 src/msginit.c:357 src/msgmerge.c:423 +#: src/msgunfmt.c:342 src/msguniq.c:308 src/xgettext.c:625 +#, fuzzy +msgid "Input file location:\n" +msgstr "¥¼«ü©w¿é¤JÀÉ" + +#: src/msgattrib.c:375 src/msgconv.c:281 src/msggrep.c:434 src/msguniq.c:310 +msgid " INPUTFILE input PO file\n" +msgstr "" + +#: src/msgattrib.c:377 src/msgcat.c:341 src/msgcmp.c:193 src/msgcomm.c:347 +#: src/msgconv.c:283 src/msgen.c:266 src/msgexec.c:253 src/msgfilter.c:369 +#: src/msgfmt.c:518 src/msggrep.c:436 src/msgmerge.c:429 src/msguniq.c:312 +#: src/xgettext.c:631 msgid "" -"Input file location:\n" -" INPUTFILE input PO file\n" " -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +msgstr "" + +#: src/msgattrib.c:379 src/msgconv.c:285 src/msgexec.c:255 src/msgfilter.c:371 +#: src/msggrep.c:438 src/msgunfmt.c:346 src/msguniq.c:314 +#, fuzzy +msgid "If no input file is given or if it is -, standard input is read.\n" msgstr "" "¿é¤JÀɦì¸m¡G\n" -" ¿é¤JÀÉ ¿é¤Jªº PO ÀÉ\n" -" -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" +" ¿é¤JÀÉ ... ¿é¤Jªº .mo ÀÉ\n" "¦pªG¨S¦³«ü©w¿é¤JÀɩοé¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" -#: src/msgattrib.c:375 src/msgconv.c:275 src/msgen.c:263 src/msgfilter.c:363 -#: src/msggrep.c:423 src/msgmerge.c:430 -#, no-wrap +#: src/msgattrib.c:382 src/msgcat.c:346 src/msgcomm.c:352 src/msgconv.c:288 +#: src/msgen.c:271 src/msgfilter.c:374 src/msgfmt.c:532 src/msggrep.c:441 +#: src/msginit.c:365 src/msgmerge.c:441 src/msgunfmt.c:370 src/msguniq.c:317 +#: src/xgettext.c:636 +msgid "Output file location:\n" +msgstr "" + +#: src/msgattrib.c:384 src/msgcat.c:348 src/msgcomm.c:354 src/msgconv.c:290 +#: src/msgen.c:273 src/msgfilter.c:376 src/msgfmt.c:534 src/msggrep.c:443 +#: src/msgmerge.c:443 src/msgunfmt.c:372 src/msguniq.c:319 +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +#: src/msgattrib.c:386 src/msgcat.c:350 src/msgcomm.c:356 src/msgconv.c:292 +#: src/msgen.c:275 src/msgfilter.c:378 src/msggrep.c:445 src/msgmerge.c:445 +#: src/msgunfmt.c:374 src/msguniq.c:321 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" "The results are written to standard output if no output file is specified\n" "or if it is -.\n" msgstr "" "¿é¥XÀɦì¸m¡G\n" -" -o, --output-file=¿é¥XÀÉ ±N¿é¥Xµ²ªG¼g¦Ü<¿é¥XÀÉ>\n" -"¦pªG¨S¦³«ü©w<¿é¥XÀÉ>©Î<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¦Ü¼Ð·Ç¿é¥X¡C\n" +" -o, --output-file=¿é¥XÀÉ ±N¿é¥X¼g¤J¦Ü«ü©wªºÀÉ®×\n" +"¦pªG¨S¦³«ü©w<¿é¥XÀÉ>©Î<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¤J¦Ü¼Ð·Ç¿é¥X¡C\n" -#: src/msgattrib.c:383 -#, no-wrap +#: src/msgattrib.c:390 src/msgcat.c:354 src/msgcomm.c:360 src/msguniq.c:325 +msgid "Message selection:\n" +msgstr "" + +#: src/msgattrib.c:392 msgid "" -"Message selection:\n" " --translated keep translated, remove untranslated messages\n" -" --untranslated keep untranslated, remove translated messages\n" -" --no-fuzzy remove 'fuzzy' marked messages\n" -" --only-fuzzy keep 'fuzzy' marked messages\n" -" --no-obsolete remove obsolete #~ messages\n" -" --only-obsolete keep obsolete #~ messages\n" msgstr "" -"°T®§¿ï¾Ü¡G\n" -" --translated «O¯d¤w½Ķªº°T®§¡A²¾°£¥¼Â½Ä¶ªº°T®§\n" -" --untranslated «O¯d¥¼Â½Ä¶ªº°T®§¡A²¾°£¤w½Ķªº°T®§\n" -" --no-fuzzy ²¾°£³Q¼Ð°O¬°¡u¼Ò½k¡vªº°T®§\n" -" --only-fuzzy «O¯d³Q¼Ð°O¬°¡u¼Ò½k¡vªº°T®§\n" -" --no-obsolete ²¾°£¹L®É #~ ªº°T®§\n" -" --only-obsolete «O¯d¹L®É #~ ªº°T®§\n" #: src/msgattrib.c:394 -#, fuzzy, no-wrap msgid "" -"Attribute manipulation:\n" -" --set-fuzzy set all messages 'fuzzy'\n" -" --clear-fuzzy set all messages non-'fuzzy'\n" -" --set-obsolete set all messages obsolete\n" -" --clear-obsolete set all messages non-obsolete\n" +" --untranslated keep untranslated, remove translated messages\n" +msgstr "" + +#: src/msgattrib.c:396 +msgid " --no-fuzzy remove 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:398 +msgid " --only-fuzzy keep 'fuzzy' marked messages\n" +msgstr "" + +#: src/msgattrib.c:400 +msgid " --no-obsolete remove obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:402 +msgid " --only-obsolete keep obsolete #~ messages\n" +msgstr "" + +#: src/msgattrib.c:405 +msgid "Attribute manipulation:\n" +msgstr "" + +#: src/msgattrib.c:407 +msgid " --set-fuzzy set all messages 'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:409 +msgid " --clear-fuzzy set all messages non-'fuzzy'\n" +msgstr "" + +#: src/msgattrib.c:411 +msgid " --set-obsolete set all messages obsolete\n" +msgstr "" + +#: src/msgattrib.c:413 +msgid " --clear-obsolete set all messages non-obsolete\n" +msgstr "" + +#: src/msgattrib.c:415 +msgid "" " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +msgstr "" + +#: src/msgattrib.c:417 +msgid "" " --ignore-file=FILE.po manipulate only entries not listed in FILE.po\n" -" --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:419 +msgid " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +msgstr "" + +#: src/msgattrib.c:421 +msgid "" " --obsolete synonym for --only-obsolete --clear-obsolete\n" msgstr "" -"ÄݩʳB²z¡G\n" -" --set-fuzzy ¥þ³¡°T®§³]¬°¡u¼Ò½k¡v\n" -" --clear-fuzzy ¥þ³¡°T®§²M°£¡u¼Ò½k¡vÄÝ©Ê\n" -" --set-obsolete ¥þ³¡°T®§³]¬°¹L®É\n" -" --clear-obsolete ¥þ³¡°T®§²M°£¹L®ÉÄÝ©Ê\n" -" --fuzzy µ¥©ó --only-fuzzy --clear-fuzzy\n" -" --obsolete µ¥©ó --only-obsolete --clear-obsolete\n" -#: src/msgattrib.c:407 -#, no-wrap +#: src/msgattrib.c:424 src/msgcat.c:366 src/msgcmp.c:201 src/msgcomm.c:372 +#: src/msgconv.c:303 src/msgen.c:279 src/msgexec.c:258 src/msgfilter.c:397 +#: src/msgfmt.c:565 src/msggrep.c:480 src/msginit.c:373 src/msgmerge.c:476 +#: src/msguniq.c:332 +msgid "Input file syntax:\n" +msgstr "" + +#: src/msgattrib.c:426 src/msgconv.c:305 src/msgen.c:281 src/msgexec.c:260 +#: src/msgfilter.c:399 src/msggrep.c:482 src/msginit.c:375 src/msguniq.c:334 +msgid "" +" -P, --properties-input input file is in Java .properties syntax\n" +msgstr "" + +#: src/msgattrib.c:429 src/msgcat.c:371 src/msgcomm.c:377 src/msgconv.c:308 +#: src/msgen.c:284 src/msgfilter.c:402 src/msgfmt.c:590 src/msggrep.c:485 +#: src/msginit.c:378 src/msgmerge.c:481 src/msgunfmt.c:378 src/msguniq.c:337 +#: src/xgettext.c:689 +msgid "Output details:\n" +msgstr "" + +#: src/msgattrib.c:431 src/msgcat.c:378 src/msgcomm.c:379 src/msgconv.c:310 +#: src/msgen.c:286 src/msgmerge.c:483 src/msgunfmt.c:380 src/msguniq.c:344 +#: src/xgettext.c:691 msgid "" -"Output details:\n" " -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +#: src/msgattrib.c:433 src/msgcat.c:380 src/msgcomm.c:381 src/msgconv.c:312 +#: src/msgen.c:288 src/msgfilter.c:406 src/msgmerge.c:485 src/msgunfmt.c:382 +#: src/msguniq.c:346 src/xgettext.c:693 +msgid "" " -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:435 src/msgcat.c:382 src/msgcomm.c:383 src/msgconv.c:314 +#: src/msgen.c:290 src/msgfilter.c:408 src/msggrep.c:491 src/msgmerge.c:487 +#: src/msgunfmt.c:384 src/msguniq.c:348 src/xgettext.c:695 +msgid " --force-po write PO file even if empty\n" +msgstr "" + +#: src/msgattrib.c:437 src/msgcat.c:384 src/msgcomm.c:385 src/msguniq.c:350 +#: src/xgettext.c:697 +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +#: src/msgattrib.c:439 src/msgcat.c:386 src/msgcomm.c:387 src/msguniq.c:352 +#: src/xgettext.c:699 +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +#: src/msgattrib.c:441 src/msgcat.c:388 src/msgcomm.c:389 src/msguniq.c:354 +#: src/xgettext.c:701 +msgid "" " -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +#: src/msgattrib.c:443 src/msgcat.c:390 src/msgcomm.c:391 src/msguniq.c:356 +#: src/xgettext.c:703 +msgid "" " --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:445 src/msgcat.c:392 src/msgcomm.c:393 src/msgconv.c:324 +#: src/msgen.c:300 src/msgfilter.c:420 src/msggrep.c:501 src/msginit.c:384 +#: src/msgmerge.c:497 src/msgunfmt.c:390 src/msguniq.c:358 +msgid " -p, --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/msgattrib.c:447 src/msgcat.c:394 src/msgcomm.c:395 src/msgconv.c:326 +#: src/msgen.c:302 src/msgfilter.c:422 src/msggrep.c:503 src/msginit.c:386 +#: src/msgmerge.c:499 src/msgunfmt.c:392 src/msguniq.c:360 src/xgettext.c:707 +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +#: src/msgattrib.c:449 src/msgcat.c:396 src/msgcomm.c:397 src/msgconv.c:328 +#: src/msgen.c:304 src/msgfilter.c:424 src/msggrep.c:505 src/msginit.c:388 +#: src/msgmerge.c:501 src/msgunfmt.c:394 src/msguniq.c:362 src/xgettext.c:709 +#, fuzzy +msgid "" " --no-wrap do not break long message lines, longer than\n" " the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" "¿é¥X²Ó¸`¡G\n" -" -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" -" -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +" -l, --locale=LL_CC ³]©w¥Ø¼Ð»y¨t\n" +" --no-translator °²³] PO ÀɬO¦Û°Ê²£¥Íªº\n" " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X«ü©wªº¼e«×¡A¤]¤£±N¿é¥Xªº°T®§\n" -" Â_¦æ\n" -" -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" -" -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" +" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" + +#: src/msgattrib.c:452 src/msgcat.c:399 src/msgcomm.c:400 src/msgconv.c:331 +#: src/msgen.c:307 src/msgfilter.c:427 src/msgmerge.c:504 src/msgunfmt.c:397 +#: src/msguniq.c:365 src/xgettext.c:712 +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +#: src/msgattrib.c:454 src/msgcat.c:401 src/msgcomm.c:402 src/msgconv.c:333 +#: src/msgen.c:309 src/msgfilter.c:429 src/msgmerge.c:506 src/msguniq.c:367 +#: src/xgettext.c:714 +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" -#: src/msgcat.c:260 src/msgcomm.c:279 +#: src/msgcat.c:273 src/msgcomm.c:290 #, c-format msgid "impossible selection criteria specified (%d < n < %d)" msgstr "¤£¥i¯à¥X²{ªº¿ï¾Ü±ø¥ó (%d < n <%d)" -#: src/msgcat.c:300 src/msgcomm.c:312 src/xgettext.c:598 -#, c-format, no-wrap +#: src/msgcat.c:315 src/msgcomm.c:322 src/xgettext.c:611 +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "¥Îªk¡G%s [¿ï¶µ] [¿é¤JÀÉ]...\n" -#: src/msgcat.c:305 +#: src/msgcat.c:320 #, no-wrap msgid "" "Concatenates and merges the specified PO files.\n" @@ -494,114 +846,67 @@ msgstr "" "--use-first ¿ï¶µ¡A¨º¼Ë«h·|¥Ñ²Ä¤@­Ó§t¦³¸Ó½Ķ±ø¥ØªºÀɮרú±o¸ê®Æ¡C\n" "©Ò¦³ PO Àɤ¤ªºÂ½Ä¶±ø¥ØªºÀɮצì¸m³£·|²Ö¿n¤U¨Ó¡C\n" -#: src/msgcat.c:323 src/msgcomm.c:334 src/xgettext.c:614 -#, no-wrap +#: src/msgcat.c:337 src/msgcomm.c:343 src/xgettext.c:627 +msgid " INPUTFILE ... input files\n" +msgstr "" + +#: src/msgcat.c:339 src/msgcomm.c:345 src/xgettext.c:629 +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + +#: src/msgcat.c:343 src/msgcomm.c:349 src/msgen.c:268 src/msgfmt.c:520 +#: src/xgettext.c:633 +msgid "If input file is -, standard input is read.\n" +msgstr "" + +#: src/msgcat.c:356 src/msgcomm.c:362 msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -<, --less-than=NUMBER print messages with less than this many\n" +" definitions, defaults to infinite if not set\n" msgstr "" -"¿é¤JÀɦì¸m¡G\n" -" ¿é¤JÀÉ ... ¿é¤Jªº PO ÀÉ\n" -" -f, --files-from=ÀÉ®× ¥Ñ<ÀÉ®×>Ū¤J¿é¤JÀɪº¦Cªí\n" -" -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" -"¦pªG¿é¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" -#: src/msgcat.c:332 src/msgcomm.c:343 src/msguniq.c:309 -#, no-wrap +#: src/msgcat.c:359 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 0 if not set\n" msgstr "" -"¿é¥XÀɦì¸m¡G\n" -" -o, --output-file=¿é¥XÀÉ ±N¿é¥Xµ²ªG¼g¦Ü<¿é¥XÀÉ>\n" -"¦pªG¨S¦³«ü©w<¿é¥XÀÉ>©Î<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¦Ü¼Ð·Ç¿é¥X¡C\n" -#: src/msgcat.c:340 -#, no-wrap +#: src/msgcat.c:362 src/msgcomm.c:368 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 0 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" +" -u, --unique shorthand for --less-than=2, requests\n" +" that only unique messages be printed\n" msgstr "" -"°T®§¿ï¾Ü¡G\n" -" -<, --less-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¤Ö©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S¦³\n" -" «ü©w¦¸¼Æ«h¹w³]­È¬°µL­­¤j\n" -" ->, --more-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¦h©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S¦³\n" -" «ü©w¦¸¼Æ«h¹w³]­È¬° 0\n" -" -u, --unique --less-than=2 ªºÁY¼g¡A­n¨D¥u¦L¥X¥X²{¤@¦¸\n" -" ªº°T®§\n" - -#: src/msgcat.c:352 src/msguniq.c:324 -#, no-wrap + +#: src/msgcat.c:368 src/msgcmp.c:203 src/msgcomm.c:374 src/msgfmt.c:567 +#: src/msgmerge.c:478 msgid "" -"Output details:\n" -" -t, --to-code=NAME encoding for output\n" -" --use-first use first available translation for each\n" -" message, don't merge several translations\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" +" -P, --properties-input input files are in Java .properties syntax\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" -t, --to-code=¦WºÙ ¿é¥Xªºµ²ªGªº½s½X\n" -" --use-first ¨ú¨C­Ó°T®§²Ä¤@­Ó¥i¥ÎªºÂ½Ä¶¡A\n" -" ¦Ó¤£¦X¨Ö©Ò¦³ªºÂ½Ä¶\n" -" -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" -" -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" -" -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" -" -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" - -#: src/msgcat.c:372 src/msgcomm.c:381 src/msguniq.c:344 src/xgettext.c:692 -#, no-wrap + +#: src/msgcat.c:373 src/msgconv.c:298 src/msguniq.c:339 +msgid " -t, --to-code=NAME encoding for output\n" +msgstr "" + +#: src/msgcat.c:375 src/msguniq.c:341 msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" --use-first use first available translation for each\n" +" message, don't merge several translations\n" msgstr "" -"¿é¥X¸ê°T¡G\n" -" -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" -" -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" -#: src/msgcmp.c:141 src/msgmerge.c:284 +#: src/msgcmp.c:146 src/msgmerge.c:294 msgid "no input files given" msgstr "¥¼«ü©w¿é¤JÀÉ" -#: src/msgcmp.c:146 src/msgmerge.c:289 +#: src/msgcmp.c:151 src/msgmerge.c:299 msgid "exactly 2 input files required" msgstr "»Ý­n«ê¦n«ü©w¨â­Ó¿é¤JÀÉ" -#: src/msgcmp.c:166 src/msgmerge.c:390 -#, c-format, no-wrap +#: src/msgcmp.c:170 src/msgmerge.c:403 +#, c-format msgid "Usage: %s [OPTION] def.po ref.pot\n" msgstr "¥Îªk¡G%s [¿ï¶µ] def.po ref.pot\n" -#: src/msgcmp.c:171 +#: src/msgcmp.c:175 #, no-wrap msgid "" "Compare two Uniforum style .po files to check that both contain the same\n" @@ -617,56 +922,55 @@ msgstr "" "¦¹µ{¦¡¥i¥Î¨ÓÀˬdµ{¦¡¤¤ªº©Ò¦³ªº°T®§¬O§_³£¤w¸g½Ķ¦n¤F¡C¤ñ¸û®É¦pªG\n" "¦³¤£§¹¥þ°t¦Xªº¦r¦ê¥X²{¡Aµ{¦¡·|¥H¼Ò½k°t¹ïªº¤è¦¡±o¥X¸û¦nªºµ²ªG¡C\n" -#: src/msgcmp.c:186 -#, no-wrap -msgid "" -"Input file location:\n" -" def.po translations\n" -" ref.pot references to the sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +#: src/msgcmp.c:189 +msgid " def.po translations\n" msgstr "" -"¿é¤JÀɦì¸m¡G\n" -" def.po ½ĶÀÉ\n" -" ref.pot ½Ķ¨Ó·½ÀÉ\n" -" -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" -#: src/msgcmp.c:194 -#, no-wrap +#: src/msgcmp.c:191 +msgid " ref.pot references to the sources\n" +msgstr "" + +#: src/msgcmp.c:196 src/msgmerge.c:469 +msgid "Operation modifiers:\n" +msgstr "" + +#: src/msgcmp.c:198 src/msgmerge.c:471 +#, fuzzy msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" +" -m, --multi-domain apply ref.pot to each of the domains in def." +"po\n" msgstr "" "¾Þ§@¼Ò¦¡¡G\n" " -m, --multi-domain ±N ref.pot ®M¥Î©ó def.po ¤¤ªº¨C¤@­Ó»â°ì\n" -#: src/msgcmp.c:265 src/msgmerge.c:848 +#: src/msgcmp.c:272 src/msgmerge.c:922 msgid "this message is used but not defined..." msgstr "³o­Ó°T®§¦³¨Ï¥Î¹L¦ý¨S¦³©w¸q..." -#: src/msgcmp.c:267 src/msgmerge.c:850 +#: src/msgcmp.c:274 src/msgmerge.c:924 msgid "...but this definition is similar" msgstr "...¦ý³o­Ó©w¸q«Ü¬Û¦ü" -#: src/msgcmp.c:272 src/msgmerge.c:877 +#: src/msgcmp.c:279 src/msgmerge.c:951 #, c-format msgid "this message is used but not defined in %s" msgstr "³o­Ó°T®§¦³¨Ï¥Î¹L¦ý¦b %s ¤¤¨S¦³©w¸q" -#: src/msgcmp.c:376 +#: src/msgcmp.c:383 msgid "warning: this message is not used" msgstr "ĵ§i¡G¨S¦³¨Ï¥Î³o­Ó°T®§" -#: src/msgcmp.c:383 src/po-lex.c:626 +#: src/msgcmp.c:390 #, c-format msgid "found %d fatal error" msgid_plural "found %d fatal errors" msgstr[0] "§ä¨ì %d ­ÓÄY­«¿ù»~" -#: src/msgcomm.c:268 +#: src/msgcomm.c:279 msgid "at least two files must be specified" msgstr "¥²¶·«ü©w¦Ü¤Ö¨â­ÓÀÉ®×" -#: src/msgcomm.c:317 +#: src/msgcomm.c:327 #, no-wrap msgid "" "Find messages which are common to two or more of the specified PO files.\n" @@ -684,150 +988,92 @@ msgstr "" "°T®§¡^¡C½Ķ¤º®e¡B¦Û¦æ¥[¤Wªºµù¸Ñ©M­ìµ{¦¡½Xªºµù¸Ñ³£·|«O¯d¡A¦ý¥u·|¥Ñ²Ä¤@­Ó\n" "§t¦³¸Ó½Ķ±ø¥ØªºÀɮרú±o¡C©Ò¦³ PO Àɤ¤ªºÂ½Ä¶±ø¥ØªºÀɮצì¸m³£·|²Ö¿n¤U¨Ó¡C\n" -#: src/msgcomm.c:351 -#, no-wrap +#: src/msgcomm.c:365 msgid "" -"Message selection:\n" -" -<, --less-than=NUMBER print messages with less than this many\n" -" definitions, defaults to infinite if not\n" -" set\n" -" ->, --more-than=NUMBER print messages with more than this many\n" -" definitions, defaults to 1 if not set\n" -" -u, --unique shorthand for --less-than=2, requests\n" -" that only unique messages be printed\n" -msgstr "" -" -<, --less-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¤Ö©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S¦³\n" -" «ü©w¦¸¼Æ«h¹w³]­È¬°µL­­¤j\n" -" ->, --more-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¦h©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S¦³\n" -" «ü©w¦¸¼Æ«h¹w³]­È¬° 0\n" -" -u, --unique --less-than=2 ªºÁY¼g¡A­n¨D¥u¦L¥X¥X²{¤@¦¸\n" -" ªº°T®§\n" - -#: src/msgcomm.c:363 -#, no-wrap +" ->, --more-than=NUMBER print messages with more than this many\n" +" definitions, defaults to 1 if not set\n" +msgstr "" + +#: src/msgcomm.c:404 src/xgettext.c:716 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" +" --omit-header don't write header with `msgid \"\"' entry\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" -" -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" -" -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" -" -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" -" --omit-header ¤£¼g¤J§t¦³¡¥msgid \"\"¡¦Äæ¦ìªºÀÉÀY\n" - -#: src/msgconv.c:257 -#, no-wrap + +#: src/msgconv.c:272 msgid "Converts a translation catalog to a different character encoding.\n" msgstr "±N¤@­Ó½ĶÀɪº½s½XÂà´«¬°¥t¤@ºØ¤å¦r½s½X¡C\n" -#: src/msgconv.c:283 -#, no-wrap -msgid "" -"Conversion target:\n" -" -t, --to-code=NAME encoding for output\n" -"The default encoding is the current locale's encoding.\n" +#: src/msgconv.c:296 +#, fuzzy +msgid "Conversion target:\n" +msgstr "Âà´«¿ù»~" + +#: src/msgconv.c:300 +#, fuzzy +msgid "The default encoding is the current locale's encoding.\n" msgstr "" "Âà´«¥Ø¼Ð¡G\n" " -t, --to-code=¦WºÙ ¿é¥Xªº½s½X\n" "¹w³]ªº½s½X¬°¥Ø«e»y¨tªº½s½X¡C\n" -#: src/msgconv.c:290 src/msgen.c:271 src/msgmerge.c:461 -#, no-wrap +#: src/msgconv.c:316 src/msgen.c:292 src/msgmerge.c:489 +msgid " -i, --indent indented output style\n" +msgstr "" + +#: src/msgconv.c:318 src/msgen.c:294 src/msgfilter.c:414 src/msggrep.c:495 +#: src/msgmerge.c:491 +msgid " --no-location suppress '#: filename:line' lines\n" +msgstr "" + +#: src/msgconv.c:320 src/msgen.c:296 src/msgfilter.c:416 src/msggrep.c:497 +#: src/msgmerge.c:493 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" " --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --no-location ¥h°£ '#: filename:line' µù¸Ñ\n" -" --add-location «O¯d '#: filename:line' µù¸Ñ(¹w³])\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" -" -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" -" -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" -#: src/msgen.c:193 src/msgfmt.c:337 src/xgettext.c:433 +#: src/msgconv.c:322 src/msgen.c:298 src/msgfilter.c:418 src/msggrep.c:499 +#: src/msgmerge.c:495 +msgid " --strict strict Uniforum output style\n" +msgstr "" + +#: src/msgen.c:204 src/msgfmt.c:337 src/xgettext.c:447 msgid "no input file given" msgstr "¥¼«ü©w¿é¤JÀÉ" -#: src/msgen.c:198 +#: src/msgen.c:209 msgid "exactly one input file required" msgstr "»Ý­n«ê¦n«ü©w¤@­Ó¿é¤JÀÉ" -#: src/msgen.c:237 -#, c-format, no-wrap +#: src/msgen.c:247 +#, c-format msgid "Usage: %s [OPTION] INPUTFILE\n" msgstr "¥Îªk¡G%s [¿ï¶µ] ¿é¤JÀÉ\n" -#: src/msgen.c:242 -#, no-wrap +#: src/msgen.c:252 +#, fuzzy, no-wrap msgid "" "Creates an English translation catalog. The input file is the last\n" "created English PO file, or a PO Template file (generally created by\n" "xgettext). Untranslated entries are assigned a translation that is\n" -"identical to the msgid, and are marked fuzzy.\n" +"identical to the msgid.\n" msgstr "" "²£¥Í­^¤å½ĶÀÉ¡C¿é¤JÀÉ¥i¥H¬O PO ÀɩΠPOT ÀÉ(³q±`¥Ñ xgettext ²£¥Í)¡C\n" "¥¼Â½Ä¶ªº±ø¥Ø·|¶ñ¤W©M msgid ¤@¼Ëªº¦r¦ê¡A¨Ã¼Ð°O¬°¼Ò½k½Ķ¡C\n" -#: src/msgen.c:255 -#, no-wrap -msgid "" -"Input file location:\n" -" INPUTFILE input PO or POT file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +#: src/msgen.c:264 +msgid " INPUTFILE input PO or POT file\n" msgstr "" -"¿é¤JÀɦì¸m¡G\n" -" ¿é¤JÀÉ ¿é¤Jªº PO ©Î POT ÀÉ\n" -" -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" -"¦pªG¿é¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" -#: src/msgexec.c:174 +#: src/msgexec.c:181 msgid "missing command name" msgstr "¯Ê¤Ö¤F«ü¥O¦WºÙ" -#: src/msgexec.c:221 -#, c-format, no-wrap +#: src/msgexec.c:227 +#, c-format msgid "Usage: %s [OPTION] COMMAND [COMMAND-OPTION]\n" msgstr "¥Îªk¡G%s [¿ï¶µ] «ü¥O [«ü¥O¿ï¶µ]\n" -#: src/msgexec.c:226 +#: src/msgexec.c:232 #, no-wrap msgid "" "Applies a command to all translations of a translation catalog.\n" @@ -842,7 +1088,7 @@ msgstr "" "§Y¬O msgexec ªº¿é¥Xµ²ªG¡Cmsgexec ªº¦^¶Ç­È¬O©Ò¦³\n" "«ü¥O°õ¦æªº¦^¶Ç­Èªº³Ì¤j­È¡C\n" -#: src/msgexec.c:235 +#: src/msgexec.c:241 #, no-wrap msgid "" "A special builtin command called '0' outputs the translation, followed by a\n" @@ -851,48 +1097,37 @@ msgstr "" "¦³¤@­ÓºÙ¬° '0' ªº¯S®í¤º¸m«ü¥O¡A¥¦·|¿é¥X©Ò¦³Â½Ä¶±ø¥Ø¡A¨ÃÀH«á¥[¤W null ¦ì¤¸¡C\n" "¡§msgexec 0¡¨ªº¿é¥X¾A¥Î©ó§@¬°¡§xargs -0¡¨ªº¿é¤J¡C\n" -#: src/msgexec.c:246 src/msgfilter.c:355 -#, no-wrap -msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input PO file\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgexec.c:251 src/msgfilter.c:367 +msgid " -i, --input=INPUTFILE input PO file\n" msgstr "" -"¿é¤JÀɦì¸m¡G\n" -" -i, --input=¿é¤JÀÉ ¿é¤Jªº PO ÀÉ\n" -" -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" -"¦pªG¨S¦³«ü©w<¿é¤JÀÉ>©ÎªÌ<¿é¤JÀÉ>¬O¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" -#: src/msgexec.c:299 +#: src/msgexec.c:309 msgid "write to stdout failed" msgstr "¼g¤J¦Ü¼Ð·Ç¿é¥X®Éµo¥Í¿ù»~" -#: src/msgexec.c:322 src/msgfilter.c:579 +#: src/msgexec.c:332 src/msgfilter.c:615 #, c-format msgid "write to %s subprocess failed" msgstr "¼g¤J¦Ü %s °Æµ{§Ç®Éµo¥Í¿ù»~" -#: src/msgfilter.c:253 +#: src/msgfilter.c:268 msgid "missing filter name" msgstr "¥¼«ü©w¹LÂo¾¹" -#: src/msgfilter.c:277 +#: src/msgfilter.c:292 msgid "at least one sed script must be specified" msgstr "¥²¶·«ü©w¦Ü¤Ö¤@­Ó sed script" -#: src/msgfilter.c:340 -#, c-format, no-wrap +#: src/msgfilter.c:354 +#, c-format msgid "Usage: %s [OPTION] FILTER [FILTER-OPTION]\n" msgstr "¥Îªk¡G%s [¿ï¶µ] ¹LÂo¾¹ [¹LÂo¾¹¿ï¶µ]\n" -#: src/msgfilter.c:345 -#, no-wrap +#: src/msgfilter.c:358 msgid "Applies a filter to all translations of a translation catalog.\n" msgstr "¹ï©ó½ĶÀɤ¤ªº©Ò¦³Â½Ä¶±ø¥Ø¶i¦æ¹LÂo¡C\n" -#: src/msgfilter.c:371 -#, no-wrap +#: src/msgfilter.c:382 msgid "" "The FILTER can be any program that reads a translation from standard input\n" "and writes a modified translation to standard output.\n" @@ -900,69 +1135,61 @@ msgstr "" "<¹LÂo¾¹>¥i¥H¬O¥ô¦ó¥Ñ¼Ð·Ç¿é¤JŪ¤J½Ķ±ø¥Ø\n" "¨Ã±N­×§ï«áªºÂ½Ä¶¼g¶i¼Ð·Ç¿é¥Xªºµ{¦¡¡C\n" -#: src/msgfilter.c:377 -#, no-wrap +#: src/msgfilter.c:387 +msgid "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +msgstr "" + +#: src/msgfilter.c:389 msgid "" -"Useful FILTER-OPTIONs when the FILTER is 'sed':\n" " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" -" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the commands\n" +msgstr "" + +#: src/msgfilter.c:391 +msgid "" +" -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +"commands\n" " to be executed\n" +msgstr "" + +#: src/msgfilter.c:394 +msgid "" " -n, --quiet, --silent suppress automatic printing of pattern space\n" msgstr "" -"·í<¹LÂo¾¹>¬O'sed'®É¡A¤@¨Ç¦³¥Îªº<¹LÂo¾¹¿ï¶µ>¡G\n" -" -e, --expression=SCRIPT §â SCRIPT ¥[¤J«Ý°õ¦æªº©R¥O¤§¤¤\n" -" -f, --file=SCRIPTFILE §â SCRIPTFILE ªº¤º®e¥[¤J«Ý°õ¦æªº©R¥O¤§¤¤\n" -" -n, --quiet, --silent ¸T¤î¦Û°Ê¦L¥XªÅ¥Õ (pattern space)\n" -# esrc/msgfilter.c:402 -#: src/msgfilter.c:386 -#, no-wrap +#: src/msgfilter.c:404 src/msggrep.c:487 msgid "" -"Output details:\n" " --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:410 src/msggrep.c:493 +msgid " --indent indented output style\n" +msgstr "" + +#: src/msgfilter.c:412 +msgid "" " --keep-header keep header entry unmodified, don't filter it\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --keep-header «O¯dÀÉÀY¤£­n­×§ï\n" -" --no-location ¥h°£ '#: filename:line' µù¸Ñ\n" -" --add-location «O¯d '#: filename:line' µù¸Ñ(¹w³])\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" -" -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" -" -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" -#: src/msgfilter.c:531 +#: src/msgfilter.c:539 +msgid "Not yet implemented." +msgstr "" + +#: src/msgfilter.c:567 #, c-format msgid "cannot set up nonblocking I/O to %s subprocess" msgstr "µLªk©M %s °Æµ{§Ç«Ø¥ß«D±M¥Îªº I/O" -#: src/msgfilter.c:559 +#: src/msgfilter.c:595 #, c-format msgid "communication with %s subprocess failed" msgstr "©M %s °Æµ{§Ç·¾³q®É¥X²{¿ù»~" -#: src/msgfilter.c:610 +#: src/msgfilter.c:646 #, c-format msgid "read from %s subprocess failed" msgstr "¥Ñ %s °Æµ{§ÇŪ¤J¸ê®Æ®É¥X²{¿ù»~" -#: src/msgfilter.c:626 +#: src/msgfilter.c:662 #, c-format msgid "%s subprocess terminated with exit code %d" msgstr "%s °Æµ{§Ç¤w²×¤î¡A¿ù»~½X¬° %d" @@ -972,18 +1199,18 @@ msgstr "%s msgid "the argument to %s should be a single punctuation character" msgstr "%s ªº°Ñ¼ÆÀ³¸Ó¬O¤@­Ó¼ÐÂI²Å¸¹" -#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:249 +#: src/msgfmt.c:355 src/msgfmt.c:377 src/msgunfmt.c:255 #, c-format msgid "%s requires a \"-d directory\" specification" msgstr "%s »Ý­n«ü©w¡§-d ¥Ø¿ý¡¨¿ï¶µ" -#: src/msgfmt.c:370 src/msgunfmt.c:242 +#: src/msgfmt.c:370 src/msgunfmt.c:248 #, c-format msgid "%s requires a \"-l locale\" specification" msgstr "%s »Ý­n«ü©w¡§-l locale¡¨¿ï¶µ" -#: src/msgfmt.c:386 src/msgmerge.c:306 src/msgmerge.c:312 src/msgunfmt.c:258 -#: src/msgunfmt.c:264 +#: src/msgfmt.c:386 src/msgmerge.c:316 src/msgmerge.c:322 src/msgunfmt.c:264 +#: src/msgunfmt.c:270 #, c-format msgid "%s is only valid with %s" msgstr "%s ¥u¯à©M %s °t¦X¤@°_¨Ï¥Î¤~¦³®Ä" @@ -993,82 +1220,100 @@ msgstr "%s msgid "%s is only valid with %s or %s" msgstr "%s ¥u¯à°t¦X %s ©Î %s ¤@°_¨Ï¥Î¤~¦³®Ä" -#: src/msgfmt.c:471 +#: src/msgfmt.c:470 #, c-format msgid "%d translated message" msgid_plural "%d translated messages" msgstr[0] "%d ­Ó¤w½Ķªº°T®§" -#: src/msgfmt.c:476 +#: src/msgfmt.c:475 #, c-format msgid ", %d fuzzy translation" msgid_plural ", %d fuzzy translations" msgstr[0] "¡A%d ­Ó¼Ò½k½Ķ°T®§" -#: src/msgfmt.c:481 +#: src/msgfmt.c:480 #, c-format msgid ", %d untranslated message" msgid_plural ", %d untranslated messages" msgstr[0] "¡A%d ­Ó¥¼Â½Ä¶ªº°T®§" -#: src/msgfmt.c:502 -#, c-format, no-wrap +#: src/msgfmt.c:500 +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "¥Îªk¡G%s [¿ï¶µ] filename.po ...\n" -#: src/msgfmt.c:507 -#, no-wrap +#: src/msgfmt.c:504 msgid "Generate binary message catalog from textual translation description.\n" msgstr "¥Ñ¤å¦r¼Ò¦¡Â½Ä¶Àɲ£¥Í¤G¤¸½X½ĶÀÉ¡C\n" -#: src/msgfmt.c:517 +#: src/msgfmt.c:509 src/xgettext.c:620 #, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Similarly for optional arguments.\n" +msgstr "ªø¿ï¶µ¥²­nªº°Ñ¼Æ¦b¨Ï¥Îµu¿ï¶µ®É¤]¬O¥²­nªº¡C¹ï©ó¿ï¾Ü©Êªº°Ñ¼Æ¤]¤@¼Ë¡C\n" + +#: src/msgfmt.c:516 +msgid " filename.po ... input files\n" +msgstr "" + +#: src/msgfmt.c:523 src/msgmerge.c:435 src/msgunfmt.c:335 src/xgettext.c:667 +msgid "Operation mode:\n" msgstr "" -"¿é¤JÀɦì¸m¡G\n" -" filename.po ... ¿é¤JÀÉ\n" -" -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" -"¦pªG¿é¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" #: src/msgfmt.c:525 -#, no-wrap +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" -" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" msgstr "" "¾Þ§@¼Ò¦¡¡G\n" -" -j, --java Java ¼Ò¦¡¡G²£¥Í Java ResourceBundle class\n" -" --java2 Ãþ¦ü --java¡A¦ý°²³]¬O Java2 (JDK 1.2 ©Î¸û·s\n" -" ªºª©¥»)\n" -" --tcl Tcl ¼Ò¦¡¡G²£¥Í tcl/msgcat .msg ÀÉ®×\n" +" -j, --java Java ¼Ò¦¡¡G²£¥Í Java ResourceBundle class\n" -#: src/msgfmt.c:533 -#, no-wrap +#: src/msgfmt.c:527 msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" +msgstr "" + +#: src/msgfmt.c:529 +msgid "" +" --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +msgstr "" + +#: src/msgfmt.c:536 +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +#: src/msgfmt.c:538 src/xgettext.c:644 +msgid "If output file is -, output is written to standard output.\n" msgstr "" -"¿é¥XÀɦì¸m¡G\n" -" -o, --output-file=¿é¥XÀÉ ±N¿é¥X¼g¤J¦Ü«ü©wªº<¿é¥XÀÉ>\n" -" --strict ¨Ï¥ÎÄY®æªº Uniforum ¼Ò¦¡\n" -"¦pªG<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¦Ü¼Ð·Ç¿é¥X¡C\n" #: src/msgfmt.c:541 -#, no-wrap +msgid "Output file location in Java mode:\n" +msgstr "" + +#: src/msgfmt.c:543 src/msgunfmt.c:351 +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + +#: src/msgfmt.c:545 src/msgfmt.c:557 src/msgunfmt.c:353 src/msgunfmt.c:362 +msgid "" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" +msgstr "" + +#: src/msgfmt.c:547 msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +#: src/msgfmt.c:549 +#, fuzzy +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" @@ -1079,138 +1324,156 @@ msgstr "" "class ¦WºÙ¬O¥Ñ»y¨t¦WºÙ©M resource ¦WºÙ¦X¨Ö¨Ó¨M©wªº¡A¨âªÌ¤§¶¡·|¥Î©³½u¤À¹j¡C\n" "-d ¿ï¶µ¬O¥²¶·ªº¡Cclass ÀÉ·|¦s©ñ¦b«ü©wªº¥Ø¿ý¡C\n" -#: src/msgfmt.c:552 -#, no-wrap +#: src/msgfmt.c:555 +msgid "Output file location in Tcl mode:\n" +msgstr "" + +#: src/msgfmt.c:559 src/msgunfmt.c:364 +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + +#: src/msgfmt.c:561 msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -"Tcl ¼Ò¦¡ªº¿é¥XÀɦì¸m¡G\n" -" -l, --locale=»y¨t »y¨t¦WºÙ¡A®æ¦¡¥²¶·¬O¡u»y¨¥¡v©Î¡u»y¨¥_°ê®a¡v\n" -" -d ¥Ø¿ý .msg ½ĶÀɦs©ñªº¥Ø¿ý\n" -"-l ©M -d ¿ï¶µ¬O¥²­nªº¡C©Ò²£¥Íªº .msg ÀÉ·|¦s©ñ¦b«ü©wªº¥Ø¿ý¡C\n" -#: src/msgfmt.c:561 -#, no-wrap +#: src/msgfmt.c:570 src/xgettext.c:659 +msgid "Input file interpretation:\n" +msgstr "" + +#: src/msgfmt.c:572 msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +#: src/msgfmt.c:575 +msgid " --check-format check language dependent format strings\n" +msgstr "" + +#: src/msgfmt.c:577 +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +#: src/msgfmt.c:579 +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +#: src/msgfmt.c:582 +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +#: src/msgfmt.c:584 +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" -msgstr "" -"¿é¤JÀɸÑĶ¡G\n" -" -c, --check ¶i¦æ --check-format¡B--check-header ©M\n" -" --check-domain ¤TºØÀˬd\n" -" --check-format Àˬd©M»y¨¥¦³Ãöªº®æ¦¡¦r¦ê\n" -" --check-header Àˬd¼ÐÀYÄæ¦ì¬O§_¦s¦b¤ÎÀˬd¥¦­Ìªº¤º®e\n" -" --check-domain Àˬd domain «ü¥O©M --output-file ¿ï¶µ¤§¶¡\n" -" ¬O§_¤£¬Û®e\n" -" -C, --check-compatibility ¨Ï GNU msgfmt ¥H X/Open msgfmt ªº¤è¦¡ÀˬdÀÉ®×\n" -" --check-accelerators[=CHAR] Àˬd¿ï³æ¶µ¥Ø¤¤ªº±¶®|Áä¼Ð°O¬O§_¦s¦b\n" -" -f, --use-fuzzy ¿é¥XÀÉ·|¨Ï¥Î¼Ò½kªºÂ½Ä¶±ø¥Ø\n" - -#: src/msgfmt.c:576 -#, c-format, no-wrap +msgstr "" + +#: src/msgfmt.c:587 +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#: src/msgfmt.c:592 +#, fuzzy, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" "¿é¥X²Ó¸`¡G\n" " -a, --alignment=¼Æ¦r ¥H<¼Æ¦r>­Ó¦ì¤¸²Õ¬°³æ¦ì°t¸m¦r¦ê¦ì¸m(¹w³]¡G%d)\n" " --no-hash ¤G¤¸½XÀɤ£·|¥]§tÂø´êªí (hash table) ¦b¤º\n" -#: src/msgfmt.c:583 -#, no-wrap +#: src/msgfmt.c:594 +#, fuzzy msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" +"¿é¥X²Ó¸`¡G\n" +" -a, --alignment=¼Æ¦r ¥H<¼Æ¦r>­Ó¦ì¤¸²Õ¬°³æ¦ì°t¸m¦r¦ê¦ì¸m(¹w³]¡G%d)\n" +" --no-hash ¤G¤¸½XÀɤ£·|¥]§tÂø´êªí (hash table) ¦b¤º\n" + +#: src/msgfmt.c:603 +msgid " --statistics print statistics about translations\n" msgstr "" -"¿é¥X¸ê°T¡G\n" -" -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" -" -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" -" --statistics ¦C¦L½Ķ±ø¥Øªº²Î­p\n" -" -v, --verbose ¼W¥[¿é¥Xªº¸Ô²Óµ{«×\n" -#: src/msgfmt.c:726 +#: src/msgfmt.c:605 src/msgmerge.c:515 src/msgunfmt.c:406 +msgid " -v, --verbose increase verbosity level\n" +msgstr "" + +#: src/msgfmt.c:743 msgid "plural expression can produce negative values" msgstr "½Æ¼Æªí¥Ü¦¡¥i¯à²£¥Í­t¼Æ" -#: src/msgfmt.c:739 +#: src/msgfmt.c:756 #, c-format msgid "nplurals = %lu but plural expression can produce values as large as %lu" msgstr "nplurals = %lu¡A¦ý½Æ¼Æªí¥Ü¦¡ªº³Ì¤j­È¥i¯àµ¥©ó %lu" -#: src/msgfmt.c:765 +#: src/msgfmt.c:782 msgid "plural expression can produce division by zero" msgstr "½Æ¼Æªí¥Ü¦¡·|¤Þ­P³Q 0 ¾ã°£ªº¿ù»~" -#: src/msgfmt.c:770 +#: src/msgfmt.c:787 msgid "plural expression can produce integer overflow" msgstr "½Æ¼Æªí¥Ü¦¡·|¤Þ­P¾ã¼Æ·¸¦ìªº¿ù»~" -#: src/msgfmt.c:775 +#: src/msgfmt.c:792 msgid "" "plural expression can produce arithmetic exceptions, possibly division by " "zero" msgstr "½Æ¼Æªí¥Ü¦¡·|¤Þ­P¹Bºâ¿ù»~¡A¨Ò¦p³Q 0 ¾ã°£" -#: src/msgfmt.c:853 src/msgfmt.c:865 +#: src/msgfmt.c:870 src/msgfmt.c:882 msgid "message catalog has plural form translations..." msgstr "½ĶÀɧt¦³½Æ¼Æ«¬ºAªºÂ½Ä¶..." -#: src/msgfmt.c:856 +#: src/msgfmt.c:873 msgid "...but header entry lacks a \"plural=EXPRESSION\" attribute" msgstr "...¦ýÀÉÀY¯Ê¤Ö¤F¡§plural=ªí¥Ü¦¡¡¨ªº¶µ¥Ø" -#: src/msgfmt.c:868 +#: src/msgfmt.c:885 msgid "...but header entry lacks a \"nplurals=INTEGER\" attribute" msgstr "...¦ýÀÉÀY¯Ê¤Ö¤F¡§nplurals=¾ã¼Æ¡¨ªº¶µ¥Ø" -#: src/msgfmt.c:893 +#: src/msgfmt.c:910 msgid "invalid nplurals value" msgstr "µL®Äªº nplurals ­È" -#: src/msgfmt.c:907 +#: src/msgfmt.c:924 msgid "invalid plural expression" msgstr "µL®Äªº½Æ¼Æªí¥Ü¦¡" -#: src/msgfmt.c:926 src/msgfmt.c:941 +#: src/msgfmt.c:943 src/msgfmt.c:958 #, c-format msgid "nplurals = %lu..." msgstr "nplurals = %lu..." -#: src/msgfmt.c:929 +#: src/msgfmt.c:946 #, c-format msgid "...but some messages have only one plural form" msgid_plural "...but some messages have only %lu plural forms" msgstr[0] "...¦ý¬Y¨Ç°T®§¥u¦³ %lu ºØ½Æ¼Æ«¬ºA" -#: src/msgfmt.c:944 +#: src/msgfmt.c:961 #, c-format msgid "...but some messages have one plural form" msgid_plural "...but some messages have %lu plural forms" msgstr[0] "...¦ý¬Y¨Ç°T®§¦³ %lu ºØ½Æ¼Æ«¬ºA" -#: src/msgfmt.c:974 +#: src/msgfmt.c:991 #, c-format msgid "Try using the following, valid for %s:\n" msgstr "¹Á¸Õ¨Ï¥Î¤U¦C %s ¤¤ÄÝ©ó¦Xªkªº«¬ºA:\n" -#: src/msgfmt.c:987 +#: src/msgfmt.c:1004 msgid "" "message catalog has plural form translations, but lacks a header entry with " "\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\"" @@ -1218,136 +1481,128 @@ msgstr "" "½ĶÀɧt¦³½Æ¼Æ«¬ºAªºÂ½Ä¶¡A¦ý¯Ê¤Ö¤F¥H¤Uªº¼ÐÀYÄæ¦ì¡G\n" "¡§Plural-Forms: nplurals=<¾ã¼Æ>; plural=<ªí¥Ü¦¡>;¡¨" -#: src/msgfmt.c:1021 +#: src/msgfmt.c:1038 msgid "`msgid' and `msgid_plural' entries do not both begin with '\\n'" msgstr "`msgid' ©M `msgid_plural' Äæ¦ì¨Ã«D¦P®É¥H '\\n' ¶}©l" -#: src/msgfmt.c:1031 +#: src/msgfmt.c:1048 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both begin with '\\n'" msgstr "¡¥msgid¡¦©M¡¥msgstr[%u]¡¦Äæ¦ì¨Ã«D¦P®É¥H¡¥\\n¡¦¶}©l" -#: src/msgfmt.c:1043 +#: src/msgfmt.c:1060 msgid "`msgid' and `msgstr' entries do not both begin with '\\n'" msgstr "¡¥msgid¡¦©M¡¥msgstr¡¦Äæ¦ì¨Ã«D¦P®É¥H¡¥\\n¡¦¶}©l" -#: src/msgfmt.c:1060 +#: src/msgfmt.c:1077 msgid "`msgid' and `msgid_plural' entries do not both end with '\\n'" msgstr "¡¥msgid¡¦©M¡¥msgid_plural¡¦Äæ¦ì¨Ã«D¦P®É¥H¡¥\\n¡¦µ²§ô" -#: src/msgfmt.c:1070 +#: src/msgfmt.c:1087 #, c-format msgid "`msgid' and `msgstr[%u]' entries do not both end with '\\n'" msgstr "¡¥msgid¡¦©M¡¥msgstr[%u]¡¦Äæ¦ì¨Ã«D¦P®É¥H¡¥\\n¡¦µ²§ô" -#: src/msgfmt.c:1082 +#: src/msgfmt.c:1099 msgid "`msgid' and `msgstr' entries do not both end with '\\n'" msgstr "¡¥msgid¡¦©M¡¥msgstr¡¦Äæ¦ì¨Ã«D¦P®É¥H¡¥\\n¡¦µ²§ô" -#: src/msgfmt.c:1094 +#: src/msgfmt.c:1111 msgid "plural handling is a GNU gettext extension" msgstr "½Æ¼Æ³B²z¬O GNU gettext ªºÂX®i¥\¯à" -#: src/msgfmt.c:1159 -#, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +#: src/msgfmt.c:1178 +#, fuzzy, c-format +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "¤£¹³¡¥msgid¡¦¡A¡¥%s¡¦¤£¬O¦³®Äªº %s ®æ¦¡¦r¦ê" -#: src/msgfmt.c:1197 +#: src/msgfmt.c:1220 #, c-format msgid "msgstr lacks the keyboard accelerator mark '%c'" msgstr "msgstr ¯Ê¤Ö¤F±¶®|Áä¼Ð°O¡¥%c¡¦" -#: src/msgfmt.c:1205 +#: src/msgfmt.c:1228 #, c-format msgid "msgstr has too many keyboard accelerator marks '%c'" msgstr "msgstr §t¦³¹L¦hªº±¶®|Áä¼Ð°O¡¥%c¡¦" -#: src/msgfmt.c:1239 +#: src/msgfmt.c:1262 #, c-format msgid "headerfield `%s' missing in header\n" msgstr "¯Ê¤Ö¤F¼ÐÀYÄæ¦ì¡¥%s¡¦\n" -#: src/msgfmt.c:1243 +#: src/msgfmt.c:1266 #, c-format msgid "header field `%s' should start at beginning of line\n" msgstr "¼ÐÀYÄæ¦ì¡¥%s¡¦À³¸Ó¦ì©ó¦æ­º\n" -#: src/msgfmt.c:1254 +#: src/msgfmt.c:1277 msgid "some header fields still have the initial default value\n" msgstr "¬Y¨Ç¼ÐÀYÄæ¦ì¤´µM¬O¹w³]­È\n" -#: src/msgfmt.c:1266 +#: src/msgfmt.c:1289 #, c-format msgid "field `%s' still has initial default value\n" msgstr "¼ÐÀYÄæ¦ì¡¥%s¡¦¤´µM¬O¹w³]­È\n" -#: src/msgfmt.c:1306 +#: src/msgfmt.c:1347 msgid "warning: PO file header missing or invalid\n" msgstr "ĵ§i¡G¯Ê¤Ö¤F PO Àɪº¼ÐÀY©Î¬O®æ¦¡µL®Ä\n" -#: src/msgfmt.c:1309 +#: src/msgfmt.c:1350 msgid "warning: charset conversion will not work\n" msgstr "ĵ§i¡G¦r¤¸¶°Âà´«ªº¥\¯à¤£·|¥Í®Ä\n" -#: src/msgfmt.c:1319 +#: src/msgfmt.c:1360 msgid "warning: PO file header fuzzy\n" msgstr "ĵ§i¡GPO Àɪº¼ÐÀY¤´µM¬O¼Ò½kª¬ºA\n" -#: src/msgfmt.c:1321 +#: src/msgfmt.c:1362 msgid "warning: older versions of msgfmt will give an error on this\n" msgstr "ĵ§i¡G¸ûª©¥»ªº msgfmt ¹J¨ì¦¹Àɮ׮ɷ|¦L¥X¿ù»~°T®§\n" -#: src/msgfmt.c:1344 +#: src/msgfmt.c:1385 #, c-format msgid "domain name \"%s\" not suitable as file name" msgstr "»â°ì¦WºÙ¡§%s¡¨¤£¾A¦X§@¬°ÀɮצWºÙ" -#: src/msgfmt.c:1349 +#: src/msgfmt.c:1390 #, c-format msgid "domain name \"%s\" not suitable as file name: will use prefix" msgstr "»â°ì¦WºÙ¡§%s¡¨¤£¾A¦X§@¬°ÀɮצWºÙ¡G±N¨Ï¥Î¦r­º" -#: src/msgfmt.c:1360 +#: src/msgfmt.c:1404 #, c-format msgid "`domain %s' directive ignored" msgstr "©¿²¤¡¥domain %s¡¦«ü¥O" -#: src/msgfmt.c:1396 src/read-po.c:176 src/x-po.c:139 -msgid "duplicate message definition" -msgstr "­«½Æªº°T®§©w¸q" - -#: src/msgfmt.c:1397 src/read-po.c:177 src/x-po.c:140 -msgid "...this is the location of the first definition" -msgstr "...³o¬O²Ä¤@¦¸©w¸qªº¦ì¸m" - -#: src/msgfmt.c:1431 +#: src/msgfmt.c:1458 msgid "empty `msgstr' entry ignored" msgstr "©¿²¤ªÅªº¡¥msgstr¡¦Äæ¦ì" -#: src/msgfmt.c:1432 +#: src/msgfmt.c:1459 msgid "fuzzy `msgstr' entry ignored" msgstr "©¿²¤¼Ò½kªº¡¥msgstr¡¦Äæ¦ì" -#: src/msgfmt.c:1499 +#: src/msgfmt.c:1517 #, c-format msgid "%s: warning: source file contains fuzzy translation" msgstr "%s¡Gĵ§i¡G­ì©lÀÉ¥]§t¼Ò½k½Ķ±ø¥Ø" -#: src/msggrep.c:383 -#, c-format -msgid "option '%c' cannot be used before 'K' or 'T' has been specified" +#: src/msggrep.c:404 +#, fuzzy, c-format +msgid "option '%c' cannot be used before 'K' or 'T' or 'C' has been specified" msgstr "¥¼«ü©w¡¥K¡¦©Î¡¥T¡¦«e¤£¯à¨Ï¥Î¿ï¶µ¡¥%c¡¦" -#: src/msggrep.c:404 +#: src/msggrep.c:424 #, no-wrap msgid "" "Extracts all messages of a translation catalog that match a given pattern\n" "or belong to some given source files.\n" msgstr "©â¨ú½ĶÀɤ¤ªº°T®§¡A¦Ó³o¨Ç°T®§²Å¦X¬YºØ¼Ë¦¡©ÎÄÝ©ó¬Y­Ó«ü©wªº¨Ó·½ÀÉ¡C\n" -#: src/msggrep.c:431 -#, no-wrap +#: src/msggrep.c:450 +#, fuzzy, no-wrap msgid "" "Message selection:\n" " [-N SOURCEFILE]... [-M DOMAINNAME]...\n" @@ -1370,6 +1625,7 @@ msgid "" " -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n" " -K, --msgid start of patterns for the msgid\n" " -T, --msgstr start of patterns for the msgstr\n" +" -C, --comment start of patterns for the translator's comment\n" " -E, --extended-regexp PATTERN is an extended regular expression\n" " -F, --fixed-strings PATTERN is a set of newline-separated strings\n" " -e, --regexp=PATTERN use PATTERN as a regular expression\n" @@ -1400,41 +1656,24 @@ msgstr "" " -f, --file=FILE PATTERN ±Ä¥Î FILE ªº¤º®e \n" " -i, --ignore-case ©¿²¤¤j¤p¼g\n" -#: src/msggrep.c:461 -#, no-wrap +#: src/msggrep.c:489 msgid "" -"Output details:\n" -" --no-escape do not use C escapes in output (default)\n" " --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" --indent indented output style\n" -" --no-location suppress '#: filename:line' lines\n" -" --add-location preserve '#: filename:line' lines (default)\n" -" --strict strict Uniforum output style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" --sort-output generate sorted output\n" -" --sort-by-file sort output by file location\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --no-location ¥h°£ '#: filename:line' µù¸Ñ\n" -" --add-location «O¯d '#: filename:line' µù¸Ñ(¹w³])\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" -" --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" -" --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" -#: src/msggrep.c:545 +#: src/msggrep.c:508 +msgid " --sort-output generate sorted output\n" +msgstr "" + +#: src/msggrep.c:510 +msgid " --sort-by-file sort output by file location\n" +msgstr "" + +#: src/msggrep.c:581 msgid "write to grep subprocess failed" msgstr "¼g¤J¦Ü grep °Æµ{§Ç®É¥X²{¿ù»~" -#: src/msginit.c:258 +#: src/msginit.c:278 msgid "" "You are in a language indifferent environment. Please set\n" "your LANG environment variable, as described in the ABOUT-NLS\n" @@ -1443,7 +1682,7 @@ msgstr "" "¨t²ÎÀô¹Ò¨S¦³¥ô¦ó©M»y¨¥¦³Ãöªº³]©w¡C½Ð®Ú¾Ú ABOUT-NLS Àɮשҭz¡A\n" "³]©w LANG Àô¹ÒÅܼơC³o¬O´ú¸Õ½Ķ®Éªº¥²­n¨BÆJ¡C\n" -#: src/msginit.c:286 +#: src/msginit.c:306 #, c-format msgid "" "Output file %s already exists.\n" @@ -1454,24 +1693,27 @@ msgstr "" "½Ð³z¹L --locale ¿ï¶µ«ü©w»y¨t©Î\n" "--output-file ¿ï¶µ«ü©w¿é¥Xªº .po ÀÉ¡C\n" -#: src/msginit.c:309 +#: src/msginit.c:329 #, c-format msgid "Created %s.\n" msgstr "¤w«Ø¥ß %s¡C\n" -#: src/msginit.c:330 +#: src/msginit.c:349 #, no-wrap msgid "" "Creates a new PO file, initializing the meta information with values from the\n" "user's environment.\n" msgstr "«Ø¥ß·sªº PO ÀÉ¡A¨Ã¥Ñ¨Ï¥ÎªÌÀô¹Ò¨ú±oªì©l¤Æ©Ò»ÝªºÀÉÀY¸ê®Æ¡C\n" -#: src/msginit.c:341 -#, no-wrap +#: src/msginit.c:359 +msgid " -i, --input=INPUTFILE input POT file\n" +msgstr "" + +#: src/msginit.c:361 +#, fuzzy msgid "" -"Input file location:\n" -" -i, --input=INPUTFILE input POT file\n" -"If no input file is given, the current directory is searched for the POT file.\n" +"If no input file is given, the current directory is searched for the POT " +"file.\n" "If it is -, standard input is read.\n" msgstr "" "¿é¤JÀɦì¸m¡G\n" @@ -1479,11 +1721,13 @@ msgstr "" "¦pªG¨S¦³«ü©w¿é¤JÀÉ¡A·|¦b¥Ø«eªº¥Ø¿ý·j´M POT ÀÉ¡C\n" "¦pªG¿é¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" -#: src/msginit.c:349 -#, no-wrap +#: src/msginit.c:367 +msgid " -o, --output-file=FILE write output to specified PO file\n" +msgstr "" + +#: src/msginit.c:369 +#, fuzzy msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified PO file\n" "If no output file is given, it depends on the --locale option or the user's\n" "locale setting. If it is -, the results are written to standard output.\n" msgstr "" @@ -1492,23 +1736,16 @@ msgstr "" "¦pªG¨S¦³«ü©w<¿é¥XÀÉ>¡A«hÀɦW±N·|¥Ñ --locale ¿ï¶µ©Î¬O¨Ï¥ÎªÌªº»y¨t¨M©w¡C\n" "¦pªG<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¦Ü¼Ð·Ç¿é¥X¡C\n" -#: src/msginit.c:357 -#, no-wrap +#: src/msginit.c:380 +msgid " -l, --locale=LL_CC set target locale\n" +msgstr "" + +#: src/msginit.c:382 msgid "" -"Output details:\n" -" -l, --locale=LL_CC set target locale\n" " --no-translator assume the PO file is automatically generated\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" -l, --locale=LL_CC ³]©w¥Ø¼Ð»y¨t\n" -" --no-translator °²³] PO ÀɬO¦Û°Ê²£¥Íªº\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" -#: src/msginit.c:410 +#: src/msginit.c:436 msgid "" "Found more than one .pot file.\n" "Please specify the input .pot file through the --input option.\n" @@ -1516,11 +1753,11 @@ msgstr "" "§ä¨ì¦h©ó¤@­Óªº .pot ÀÉ¡C\n" "½Ð³z¹L --input ¿ï¶µ«ü©w§@¬°¿é¤JÀɪº .pot ÀÉ¡C\n" -#: src/msginit.c:418 src/msginit.c:423 +#: src/msginit.c:444 src/msginit.c:449 msgid "error reading current directory" msgstr "Ū¨ú¥Ø«eªº¥Ø¿ý®Éµo¥Í¿ù»~" -#: src/msginit.c:431 +#: src/msginit.c:457 msgid "" "Found no .pot file in the current directory.\n" "Please specify the input .pot file through the --input option.\n" @@ -1528,23 +1765,23 @@ msgstr "" "¦b¥Ø«e¥Ø¿ý¤¤§ä¤£¨ì¥ô¦ó .pot ÀÉ¡C\n" "½Ð³z¹L --input ¿ï¶µ«ü©w§@¬°¿é¤JÀɪº .pot ÀÉ¡C\n" -#: src/msginit.c:879 src/msginit.c:931 src/msginit.c:1068 src/msginit.c:1135 -#: src/read-java.c:70 src/read-tcl.c:107 +#: src/msginit.c:905 src/msginit.c:957 src/msginit.c:1100 src/msginit.c:1167 +#: src/read-java.c:71 src/read-tcl.c:107 msgid "fdopen() failed" msgstr "fdopen() ¥¢±Ñ" -#: src/msginit.c:884 src/msginit.c:936 src/msginit.c:1073 +#: src/msginit.c:910 src/msginit.c:962 src/msginit.c:1105 #, c-format msgid "%s subprocess I/O error" msgstr "%s °Æµ{§Ç¿é¥X/¿é¤J¿ù»~" -#: src/msginit.c:893 src/msginit.c:945 src/msginit.c:1082 src/msginit.c:1149 -#: src/read-java.c:80 src/read-tcl.c:123 +#: src/msginit.c:919 src/msginit.c:971 src/msginit.c:1114 src/msginit.c:1181 +#: src/read-java.c:81 src/read-tcl.c:123 #, c-format msgid "%s subprocess failed with exit code %d" msgstr "%s °Æµ{§Ç¥¢±Ñ¡A¿ù»~½X¬° %d" -#: src/msginit.c:1058 +#: src/msginit.c:1090 msgid "" "The new message catalog should contain your email address, so that users " "can\n" @@ -1558,52 +1795,53 @@ msgstr "" #. TRANSLATORS: "English" needs to be replaced by your language. #. For example in it.po write "Traduzioni italiani ...", #. *not* "Traduzioni inglesi ...". -#: src/msginit.c:1417 +#: src/msginit.c:1449 #, c-format msgid "English translations for %s package" msgstr "traditional Chinese translation for %s" -#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:302 +#: src/msgl-cat.c:175 src/msgl-charset.c:85 src/msgl-iconv.c:304 #, c-format msgid "present charset \"%s\" is not a portable encoding name" msgstr "¥Ø«eªº¦r¤¸¶°½s½X¡§%s¡¨¤£¬O³q¥Îªº½s½X¦WºÙ" -#: src/msgl-cat.c:184 src/msgl-iconv.c:313 +#: src/msgl-cat.c:184 src/msgl-iconv.c:315 #, c-format msgid "two different charsets \"%s\" and \"%s\" in input file" msgstr "¿é¤JÀɦ³¨âºØ¤£¦Pªº¦r¤¸¶°½s½X¡§%s¡¨©M¡§%s¡¨" -#: src/msgl-cat.c:197 +#: src/msgl-cat.c:199 #, c-format msgid "" "input file `%s' doesn't contain a header entry with a charset specification" msgstr "¿é¤JÀÉ¡¥%s¡¦¨S¦³«ü©w¦r¤¸¶°ªº¼ÐÀYÄæ¦ì" -#: src/msgl-cat.c:201 +#: src/msgl-cat.c:203 #, c-format msgid "" "domain \"%s\" in input file `%s' doesn't contain a header entry with a " "charset specification" msgstr "¿é¤JÀÉ¡¥%2$s¡¦ªº»â°ì¡§%1$s¡¨¨S¦³«ü©w¦r¤¸¶°ªº¼ÐÀYÄæ¦ì" -#: src/msgl-cat.c:362 src/msgl-iconv.c:390 +#: src/msgl-cat.c:380 src/msgl-iconv.c:392 #, c-format msgid "target charset \"%s\" is not a portable encoding name." msgstr "¥Ø¼Ðªº¦r¤¸¶°½s½X¡§%s¡¨¤£¬O³q¥Îªº½s½X¦WºÙ¡C" -#: src/msgl-cat.c:412 src/msgl-cat.c:418 src/msgl-charset.c:90 -#: src/msgl-charset.c:125 src/write-po.c:757 src/write-po.c:849 +#: src/msgl-cat.c:430 src/msgl-cat.c:436 src/msgl-charset.c:90 +#: src/msgl-charset.c:125 src/write-po.c:837 src/write-po.c:903 +#: src/xgettext.c:1302 msgid "warning: " msgstr "ĵ§i¡G" -#: src/msgl-cat.c:413 +#: src/msgl-cat.c:431 msgid "" "Input files contain messages in different encodings, UTF-8 among others.\n" "Converting the output to UTF-8.\n" msgstr "" "¿é¤JÀɧt¦³¤£¦P½s½Xªº°T®§¡A¨ä¤¤¤@ºØ¬O UTF-8¡C·|±N¿é¥Xªº½s½XÂà´«¬° UTF-8¡C\n" -#: src/msgl-cat.c:419 +#: src/msgl-cat.c:437 #, c-format msgid "" "Input files contain messages in different encodings, %s and %s among " @@ -1666,15 +1904,15 @@ msgstr "" "¡¥%s¡¦ªº¿é¥X¥i¯à¦³»~¡C\n" "³]©w LC_ALL=C ¬O¤@­Ó¥i¦æªº¸Ñ¨M¤èªk¡C\n" -#: src/msgl-iconv.c:184 src/msgl-iconv.c:242 +#: src/msgl-iconv.c:186 src/msgl-iconv.c:244 msgid "conversion failure" msgstr "Âà´«¿ù»~" -#: src/msgl-iconv.c:335 +#: src/msgl-iconv.c:337 msgid "input file doesn't contain a header entry with a charset specification" msgstr "¿é¤JÀɨS¦³«ü©w¦r¤¸¶°ªº¼ÐÀYÄæ¦ì" -#: src/msgl-iconv.c:353 src/xgettext.c:487 +#: src/msgl-iconv.c:355 src/xgettext.c:501 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(), and iconv() does " @@ -1683,7 +1921,7 @@ msgstr "" "¤£¤ä´©±N¦r¤¸¶°¥Ñ¡§%s¡¨Âà´«¦Ü¡§%s¡¨¡C%s »Ý­n iconv()¡A\n" "¦ý iconv() ¤£¤ä´©¦¹ºØÂà´«¤è¦¡¡C" -#: src/msgl-iconv.c:370 src/xgettext.c:494 +#: src/msgl-iconv.c:372 src/xgettext.c:508 #, c-format msgid "" "Cannot convert from \"%s\" to \"%s\". %s relies on iconv(). This version was " @@ -1692,11 +1930,11 @@ msgstr "" "¤£¤ä´©±N¦r¤¸¶°¥Ñ¡§%s¡¨Âà´«¦Ü¡§%s¡¨¡C%s »Ý­n iconv()¡A\n" "¦ý½sͦ¹µ{¦¡®É¨S¦³ iconv() ¤ä´©¡C" -#: src/msgmerge.c:359 +#: src/msgmerge.c:373 msgid "backup type" msgstr "³Æ¥÷¤è¦¡" -#: src/msgmerge.c:395 +#: src/msgmerge.c:408 #, no-wrap msgid "" "Merges two Uniforum style .po files together. The def.po file is an\n" @@ -1716,26 +1954,23 @@ msgstr "" "ªºµù¸Ñ³£·|³Q±Ë±ó¡A¦ý¯S®íºX¼Ðµù¸Ñ©MÀɮצì¸m³£·|³Q«O¯d¡C¤ñ¸û®É¦pªG¦³¤£§¹¥þ\n" "°t¦Xªº¦r¦ê¥X²{¡Aµ{¦¡·|¥H¼Ò½k°t¹ïªº¤è¦¡±o¥X¸û¦nªºµ²ªG¡C\n" -#: src/msgmerge.c:413 -#, no-wrap +#: src/msgmerge.c:425 +msgid " def.po translations referring to old sources\n" +msgstr "" + +#: src/msgmerge.c:427 +msgid " ref.pot references to new sources\n" +msgstr "" + +#: src/msgmerge.c:431 msgid "" -"Input file location:\n" -" def.po translations referring to old sources\n" -" ref.pot references to new sources\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" " -C, --compendium=FILE additional library of message translations,\n" " may be specified more than once\n" msgstr "" -"¿é¤JÀɦì¸m¡G\n" -" def.po ÂÂ½ĶªºÂ½Ä¶ÀÉ\n" -" ref.pot ·sªºÂ½Ä¶¨Ó·½ÀÉ\n" -" -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" -" -C, --compendium=ÀÉ®× ÃB¥~ªºÂ½Ä¶°T®§®w¡A¥i¨Ï¥Î¦h©ó¤@¦¸\n" -#: src/msgmerge.c:423 -#, no-wrap +#: src/msgmerge.c:437 +#, fuzzy msgid "" -"Operation mode:\n" " -U, --update update def.po,\n" " do nothing if def.po already up to date\n" msgstr "" @@ -1743,21 +1978,32 @@ msgstr "" " -U, --update §ó·s def.po¡A©Î¬O·í def.po ¤w¬O³Ì·sª©¥»®É¡A\n" " ¤£¶i¦æ¥ô¦ó¾Þ§@¡C\n" -#: src/msgmerge.c:438 -#, no-wrap +#: src/msgmerge.c:449 +msgid "Output file location in update mode:\n" +msgstr "" + +#: src/msgmerge.c:451 +msgid "The result is written back to def.po.\n" +msgstr "" + +#: src/msgmerge.c:453 +msgid " --backup=CONTROL make a backup of def.po\n" +msgstr "" + +#: src/msgmerge.c:455 +msgid " --suffix=SUFFIX override the usual backup suffix\n" +msgstr "" + +#: src/msgmerge.c:457 +#, fuzzy msgid "" -"Output file location in update mode:\n" -"The result is written back to def.po.\n" -" --backup=CONTROL make a backup of def.po\n" -" --suffix=SUFFIX override the usual backup suffix\n" -"The version control method may be selected via the --backup option or through\n" +"The version control method may be selected via the --backup option or " +"through\n" "the VERSION_CONTROL environment variable. Here are the values:\n" " none, off never make backups (even if --backup is given)\n" " numbered, t make numbered backups\n" " existing, nil numbered if numbered backups exist, simple otherwise\n" " simple, never always make simple backups\n" -"The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n" -"environment variable.\n" msgstr "" "§ó·s¼Ò¦¡ªº¿é¥XÀɦì¸m¡G\n" "¿é¥Xµ²ªG±N·|¼g¤J def.po¡C\n" @@ -1772,40 +2018,30 @@ msgstr "" "³Æ¥÷Àɪº«á¸m¦r¤¸¬°¡¥~¡¦¡A°£«D¥H --suffix ¿ï¶µ©Î¬O SIMPLE_BACKUP_SUFFIX\n" "Àô¹ÒÅܼƫü©w¡C\n" -#: src/msgmerge.c:454 -#, fuzzy, no-wrap -msgid "" -"Operation modifiers:\n" -" -m, --multi-domain apply ref.pot to each of the domains in def.po\n" -" -N, --no-fuzzy-matching do not use fuzzy matching\n" +#: src/msgmerge.c:464 +msgid "" +"The backup suffix is `~', unless set with --suffix or the " +"SIMPLE_BACKUP_SUFFIX\n" +"environment variable.\n" +msgstr "" + +#: src/msgmerge.c:473 +msgid " -N, --no-fuzzy-matching do not use fuzzy matching\n" msgstr "" -"¾Þ§@¼Ò¦¡¡G\n" -" -m, --multi-domain ±N ref.pot ®M¥Î©ó def.po ¤¤ªº¨C¤@­Ó»â°ì\n" -#: src/msgmerge.c:478 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" -" -q, --quiet, --silent suppress progress indicators\n" +#: src/msgmerge.c:517 +msgid " -q, --quiet, --silent suppress progress indicators\n" msgstr "" -"¿é¥X¸ê°T¡G\n" -" -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" -" -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" -" -v, --verbose ¼W¥[¿é¥Xªº¸Ô²Óµ{«×\n" -" -q, --quiet, --silent ¤£Åã¥Ü¶i«×«ü¥Ü\n" -#: src/msgmerge.c:930 +#: src/msgmerge.c:1004 msgid "this message should define plural forms" msgstr "¦¹°T®§À³¸Ó¦³½Æ¼Æ«¬ºA" -#: src/msgmerge.c:953 +#: src/msgmerge.c:1027 msgid "this message should not define plural forms" msgstr "¦¹°T®§¤£À³¦³½Æ¼Æ«¬ºA" -#: src/msgmerge.c:1115 +#: src/msgmerge.c:1193 #, c-format msgid "" "%sRead %ld old + %ld reference, merged %ld, fuzzied %ld, missing %ld, " @@ -1815,54 +2051,55 @@ msgstr "" "Ū¤J %ld ÂÂ½Ķ + %ld °Ñ¦Ò±ø¥Ø¡C¦X¨Ö¡G%ld¡A¼Ò½k¡G%ld¡A¥¼Ä¶¡G%ld¡A¹L®É¡G%" "ld¡C\n" -#: src/msgmerge.c:1123 +#: src/msgmerge.c:1201 msgid " done.\n" msgstr " §¹¦¨¡C\n" -#: src/msgunfmt.c:227 src/msgunfmt.c:236 +#: src/msgunfmt.c:233 src/msgunfmt.c:242 #, c-format msgid "%s and explicit file names are mutually exclusive" msgstr "¨Ï¥Î %s ¤£¯à¦P®É«ü©wÀɮצWºÙ" -#: src/msgunfmt.c:319 -#, c-format, no-wrap +#: src/msgunfmt.c:324 +#, c-format msgid "Usage: %s [OPTION] [FILE]...\n" msgstr "¥Îªk¡G%s [¿ï¶µ] [ÀÉ®×]...\n" -#: src/msgunfmt.c:324 -#, no-wrap +#: src/msgunfmt.c:328 msgid "Convert binary message catalog to Uniforum style .po file.\n" msgstr "±N¤G¤¸½X½ĶÀÉÂà´«¬° Uniforum «¬¦¡ªº .po ÀÉ¡C\n" -#: src/msgunfmt.c:334 -#, no-wrap +#: src/msgunfmt.c:337 +#, fuzzy +msgid "" +" -j, --java Java mode: input is a Java ResourceBundle " +"class\n" +msgstr "" +"¾Þ§@¼Ò¦¡¡G\n" +" -j, --java Java ¼Ò¦¡¡G²£¥Í Java ResourceBundle class\n" + +#: src/msgunfmt.c:339 +#, fuzzy msgid "" -"Operation mode:\n" -" -j, --java Java mode: input is a Java ResourceBundle class\n" -" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" +" --tcl Tcl mode: input is a tcl/msgcat .msg file\n" msgstr "" "¾Þ§@¼Ò¦¡¡G\n" " -j, --java Java ¼Ò¦¡¡G¿é¤J¸ê®Æ¬O Java ResourceBundle class\n" " --tcl Tcl ¼Ò¦¡¡G¿é¤J¸ê®Æ¬O tcl/msgcat .msg ÀÉ®×\n" -#: src/msgunfmt.c:341 -#, no-wrap -msgid "" -"Input file location:\n" -" FILE ... input .mo files\n" -"If no input file is given or if it is -, standard input is read.\n" +#: src/msgunfmt.c:344 +msgid " FILE ... input .mo files\n" msgstr "" -"¿é¤JÀɦì¸m¡G\n" -" ¿é¤JÀÉ ... ¿é¤Jªº .mo ÀÉ\n" -"¦pªG¨S¦³«ü©w¿é¤JÀɩοé¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" -#: src/msgunfmt.c:348 -#, no-wrap +#: src/msgunfmt.c:349 +msgid "Input file location in Java mode:\n" +msgstr "" + +#: src/msgunfmt.c:355 +#, fuzzy msgid "" -"Input file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -"The class name is determined by appending the locale name to the resource name,\n" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The class is located using the CLASSPATH.\n" msgstr "" "Java ¼Ò¦¡ªº¿é¥XÀɦì¸m¡G\n" @@ -1871,70 +2108,25 @@ msgstr "" "class ¦WºÙ¬O¥Ñ»y¨t¦WºÙ©M resource ¦WºÙ¦X¨Ö¨Ó¨M©wªº¡A¨âªÌ¤§¶¡·|¥Î©³½u¤À¹j¡C\n" "class ÀÉ·|¦b CLASSPATH ªí¥Üªº¥Ø¿ý¤¤·j´M¡C\n" -#: src/msgunfmt.c:357 -#, no-wrap -msgid "" -"Input file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" -"The -l and -d options are mandatory. The .msg file is located in the\n" -"specified directory.\n" +#: src/msgunfmt.c:360 +msgid "Input file location in Tcl mode:\n" msgstr "" -"Tcl ¼Ò¦¡ªº¿é¤JÀɦì¸m¡G\n" -" -l, --locale=»y¨t »y¨t¦WºÙ¡A®æ¦¡¥²¶·¬O¡u»y¨¥¡v©Î¡u»y¨¥_°ê®a¡v\n" -" -d ¥Ø¿ý .msg ½ĶÀɦs©ñªº¥Ø¿ý\n" -"-l ©M -d ¿ï¶µ¬O¥²­nªº¡C©Ò²£¥Íªº .msg ÀÉ·|¦s©ñ¦b«ü©wªº¥Ø¿ý¡C\n" #: src/msgunfmt.c:366 -#, no-wrap msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -"The results are written to standard output if no output file is specified\n" -"or if it is -.\n" +"The -l and -d options are mandatory. The .msg file is located in the\n" +"specified directory.\n" msgstr "" -"¿é¥XÀɦì¸m¡G\n" -" -o, --output-file=¿é¥XÀÉ ±N¿é¥X¼g¤J¦Ü«ü©wªºÀÉ®×\n" -"¦pªG¨S¦³«ü©w<¿é¥XÀÉ>©Î<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¤J¦Ü¼Ð·Ç¿é¥X¡C\n" -#: src/msgunfmt.c:374 -#, no-wrap -msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write indented output style\n" -" --strict write strict uniforum style\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" +#: src/msgunfmt.c:386 +msgid " -i, --indent write indented output style\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X«ü©wªº¼e«×¡A¤]¤£±N¿é¥Xªº°T®§\n" -" -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" #: src/msgunfmt.c:388 -#, no-wrap -msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" -v, --verbose increase verbosity level\n" +msgid " --strict write strict uniforum style\n" msgstr "" -"¿é¥X¸ê°T¡G\n" -" -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" -" -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" -" -v, --verbose ¼W¥[¿é¥Xªº¸Ô²Óµ{«×\n" -#: src/msguniq.c:284 +#: src/msguniq.c:294 #, no-wrap msgid "" "Unifies duplicate translations in a translation catalog.\n" @@ -1954,18 +2146,21 @@ msgstr "" "«h·|¥Ñ²Ä¤@­Ó½Ķ±ø¥Ø¤¤Àò¨ú³o¨Ç¸ê®Æ¡CÀɮצì¸m¬O·|²Ö¿n¤U¨Óªº¡C·í¨Ï¥Î --unique\n" "¿ï¶µ®É¡A«h·|±Ë±ó¥ô¦ó­«ÂЪºÂ½Ä¶±ø¥Ø¡C\n" -#: src/msguniq.c:317 -#, no-wrap +#: src/msguniq.c:327 +msgid " -d, --repeated print only duplicates\n" +msgstr "" + +#: src/msguniq.c:329 +#, fuzzy msgid "" -"Message selection:\n" -" -d, --repeated print only duplicates\n" -" -u, --unique print only unique messages, discard duplicates\n" +" -u, --unique print only unique messages, discard " +"duplicates\n" msgstr "" "°T®§¿ï¾Ü¡G\n" " -d, --repeated ¥u¦L¥X­«ÂЪº±ø¥Ø\n" " -u, --unique ¥u¦L¥X¥X²{¤@¦¸ªº±ø¥Ø¡A±Ë±ó¥ô¦ó­«ÂЪº±ø¥Ø\n" -#: src/open-po.c:58 +#: src/open-po.c:55 msgid "" msgstr "<¼Ð·Ç¿é¤J>" @@ -2029,73 +2224,73 @@ msgstr "" "ÀÉÀY¯Ê¤Ö¤F«ü©w¦r¤¸¶°ªºÄæ¦ì¡C\n" "Âà´«°T®§¦Ü¨Ï¥ÎªÌ¦r¤¸¶°ªº¥\¯à±N¤£·|¥Í®Ä¡C\n" -#: po-gram-gen.y:92 +#: src/po-gram-gen.y:94 msgid "inconsistent use of #~" msgstr "¤£¤@­P¦a¨Ï¥Î #~" -#: po-gram-gen.y:182 +#: src/po-gram-gen.y:198 msgid "missing `msgstr[]' section" msgstr "¯Ê¤Ö¤F¡¥msgstr[]¡¦¬q¸¨" -#: po-gram-gen.y:190 +#: src/po-gram-gen.y:206 msgid "missing `msgid_plural' section" msgstr "¯Ê¤Ö¤F¡¥msgid_plural¡¦¬q¸¨" -#: po-gram-gen.y:197 +#: src/po-gram-gen.y:213 msgid "missing `msgstr' section" msgstr "¯Ê¤Ö¤F¡¥msgstr¡¦¬q¸¨" -#: po-gram-gen.y:242 +#: src/po-gram-gen.y:258 msgid "first plural form has nonzero index" msgstr "²Ä¤@­Ó½Æ¼Æ®æ¦¡ªº¯Á¤Þ¼Æ¦r¤£¬O 0" -#: po-gram-gen.y:244 +#: src/po-gram-gen.y:260 msgid "plural form has wrong index" msgstr "½Æ¼Æ®æ¦¡§t¦³¿ù»~ªº¯Á¤Þ¼Æ¦r" -#: src/po-lex.h:91 src/po-lex.h:106 src/po-lex.h:126 src/po-lex.h:141 -#: src/po-lex.c:102 src/po-lex.c:131 +#: src/po-lex.h:86 src/po-lex.h:101 src/po-lex.h:121 src/po-lex.h:136 +#: src/po-lex.c:101 src/po-lex.c:130 msgid "too many errors, aborting" msgstr "¿ù»~¤Ó¦h¡A¥²¶·¤¤Â_§@·~" -#: src/po-lex.c:455 src/write-po.c:339 src/write-po.c:445 +#: src/po-lex.c:454 src/write-po.c:541 src/write-po.c:647 msgid "invalid multibyte sequence" msgstr "µL®Äªº¦h¦r¤¸§Ç¦C" -#: src/po-lex.c:481 +#: src/po-lex.c:480 msgid "incomplete multibyte sequence at end of file" msgstr "ÀÉ®×¥½ºÝ¥X²{¤£§¹¾ãªº¦h¦r¤¸§Ç¦C" -#: src/po-lex.c:491 +#: src/po-lex.c:490 msgid "incomplete multibyte sequence at end of line" msgstr "¦æ¥½¥X²{¤£§¹¾ãªº¦h¦r¤¸§Ç¦C" -#: src/po-lex.c:499 +#: src/po-lex.c:498 msgid "iconv failure" msgstr "iconv ¥¢±Ñ" -#: src/po-lex.c:682 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 +#: src/po-lex.c:643 src/read-mo.c:79 src/x-awk.c:155 src/x-c.c:260 #: src/x-elisp.c:142 src/x-glade.c:362 src/x-librep.c:144 src/x-lisp.c:204 -#: src/x-php.c:160 src/x-python.c:174 src/x-rst.c:225 src/x-smalltalk.c:106 +#: src/x-php.c:160 src/x-python.c:178 src/x-rst.c:225 src/x-smalltalk.c:106 #: src/x-tcl.c:145 src/x-ycp.c:94 #, c-format msgid "error while reading \"%s\"" msgstr "Ū¨ú¡§%s¡¨®É¥X²{¿ù»~" -#: src/po-lex.c:746 +#: src/po-lex.c:707 #, c-format msgid "keyword \"%s\" unknown" msgstr "¤£©úªºÃöÁä¦r¡§%s¡¨" -#: src/po-lex.c:856 +#: src/po-lex.c:817 msgid "invalid control sequence" msgstr "µL®Äªº±±¨î§Ç¦C" -#: src/po-lex.c:964 +#: src/po-lex.c:925 msgid "end-of-file within string" msgstr "Àɮצb¦r¦ê¤¤¬q¬ðµMµ²§ô" -#: src/po-lex.c:970 +#: src/po-lex.c:931 msgid "end-of-line within string" msgstr "¦r¦ê¤¤¶¡¬ðµMÂ_¦æ" @@ -2119,12 +2314,24 @@ msgstr " msgid "file \"%s\" contains a not NUL terminated string, at %s" msgstr "Àɮס§%s¡¨¥]§t¨Ã«D¥H NUL ¬°µ²§Àªº¦r¦ê" -#: src/urlget.c:143 +#: src/read-po.c:318 src/xgettext.c:748 +msgid "this file may not contain domain directives" +msgstr "¦¹Àɮפ£¯à§t¦³»â°ì«ü¥O" + +#: src/read-po.c:357 +msgid "duplicate message definition" +msgstr "­«½Æªº°T®§©w¸q" + +#: src/read-po.c:358 +msgid "...this is the location of the first definition" +msgstr "...³o¬O²Ä¤@¦¸©w¸qªº¦ì¸m" + +#: src/urlget.c:144 msgid "expected two arguments" msgstr "»Ý­n«ê¦n¨â­Ó°Ñ¼Æ" #: src/urlget.c:161 -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] URL FILE\n" msgstr "¥Îªk¡G%s [¿ï¶µ] ºô§} ÀÉ®×\n" @@ -2160,7 +2367,7 @@ msgstr " msgid "failed to create \"%s\"" msgstr "µLªk«Ø¥ß¡§%s¡¨" -#: src/write-java.c:1156 src/write-mo.c:702 src/write-po.c:995 +#: src/write-java.c:1156 src/write-mo.c:705 src/write-po.c:1095 #: src/write-tcl.c:201 #, c-format msgid "error while writing \"%s\" file" @@ -2171,18 +2378,18 @@ msgid "compilation of Java class failed, please try --verbose or set $JAVAC" msgstr "" "½sĶ Java class ÀÉ¥X²{¿ù»~¡A½Ð¹Á¸Õ¨Ï¥Î --verbose ¿ï¶µ©Î³]©w $JAVAC Àô¹ÒÅܼÆ" -#: src/write-mo.c:690 src/write-tcl.c:192 +#: src/write-mo.c:693 src/write-tcl.c:192 #, c-format msgid "error while opening \"%s\" for writing" msgstr "·í¶}±ÒÀɮס§%s¡¨·Ç³Æ¼g¤J®Éµo¥Í¿ù»~" -#: src/write-po.c:390 +#: src/write-po.c:592 #, c-format msgid "" "internationalized messages should not contain the `\\%c' escape sequence" msgstr "°ê»Ú¤Æªº°T®§¤£À³§t¦³¡¥\\%c¡¦³o­Ó·¸¥X§Ç¦C¦r¤¸" -#: src/write-po.c:758 src/write-po.c:850 +#: src/write-po.c:838 src/write-po.c:904 #, c-format msgid "" "The following msgid contains non-ASCII characters.\n" @@ -2195,12 +2402,25 @@ msgstr "" "½Ð¦Ò¼{¨Ï¥Î¥u¦³ ASCII ¦r¤¸ªº msgid¡C\n" "%s\n" -#: src/write-po.c:914 +#: src/write-po.c:1042 +msgid "" +"Cannot output multiple translation domains into a single file with Java ." +"properties syntax. Try using PO file syntax instead." +msgstr "" + +#: src/write-po.c:1066 +msgid "" +"message catalog has plural form translations, but the output format does not " +"support them. Try generating a Java class using \"msgfmt --java\", instead " +"of a properties file." +msgstr "" + +#: src/write-po.c:1078 #, c-format msgid "cannot create output file \"%s\"" msgstr "µLªk«Ø¥ß¿é¥XÀÉ¡§%s¡¨" -#: src/write-po.c:921 +#: src/write-po.c:1085 #, no-c-format msgid "standard output" msgstr "¼Ð·Ç¿é¥X" @@ -2214,7 +2434,7 @@ msgstr "" "½ĶÀɧt¦³½Æ¼Æ«¬ºAªºÂ½Ä¶¡A¦ý¯Ê¤Ö¤F¥H¤Uªº¼ÐÀYÄæ¦ì¡G\n" "¡§Plural-Forms: nplurals=<¾ã¼Æ>; plural=<ªí¥Ü¦¡>;¡¨" -#: src/x-awk.c:325 src/x-python.c:365 +#: src/x-awk.c:325 src/x-python.c:369 #, fuzzy, c-format msgid "%s:%d: warning: unterminated string" msgstr "%s¡G%d¡Gĵ§i¡G¥¼§¹µ²ªº¦r¦ê" @@ -2248,11 +2468,7 @@ msgstr "" "¤£¤ä´©¦r¤¸¶°¡§%s¡¨¡C%s »Ý­n iconv()¡A\n" "¦ý½sͦ¹µ{¦¡®É¨S¦³ iconv() ¤ä´©¡C\n" -#: src/x-po.c:85 src/xgettext.c:710 -msgid "this file may not contain domain directives" -msgstr "¦¹Àɮפ£¯à§t¦³»â°ì«ü¥O" - -#: src/x-python.c:565 +#: src/x-python.c:569 #, fuzzy, c-format msgid "%s:%d: warning: invalid Unicode character" msgstr "%s¡G%d¡Gĵ§i¡G¥¼§¹µ²ªº¦r¤¸±`¼Æ" @@ -2272,55 +2488,51 @@ msgstr "%s msgid "%s:%d: invalid string expression" msgstr "%s¡G%d¡GµL®Äªº¦r¦êªí¥Ü¦¡" -#: src/xgettext.c:420 +#: src/xgettext.c:434 msgid "--join-existing cannot be used when output is written to stdout" msgstr "·íµ²ªG³Q¾É¦V¦Ü¼Ð·Ç¿é¥X®É¡A¿ï¶µ --join-existing ¤£¯à¨Ï¥Î" -#: src/xgettext.c:425 +#: src/xgettext.c:439 msgid "xgettext cannot work without keywords to look for" msgstr "­YµLÃöÁä¦r¡Axgettext ±NµLªk¹B§@" -#: src/xgettext.c:552 +#: src/xgettext.c:566 #, c-format msgid "warning: file `%s' extension `%s' is unknown; will try C" msgstr "ĵ§i¡GÀɮס¥%s¡¦ªº°ÆÀɦW¡¥%s¡¦¥¼©ú¡F·|°²³]¬O C ®æ¦¡¨Ó³B²z" -#: src/xgettext.c:603 -#, no-wrap +#: src/xgettext.c:615 msgid "Extract translatable strings from given input files.\n" msgstr "¥Ñ«ü©wªº¿é¤JÀÉ©â¨ú¥i½Ķªº¦r¦ê¡C\n" -#: src/xgettext.c:608 -#, no-wrap +#: src/xgettext.c:638 msgid "" -"Mandatory arguments to long options are mandatory for short options too.\n" -"Similarly for optional arguments.\n" -msgstr "ªø¿ï¶µ¥²­nªº°Ñ¼Æ¦b¨Ï¥Îµu¿ï¶µ®É¤]¬O¥²­nªº¡C¹ï©ó¿ï¾Ü©Êªº°Ñ¼Æ¤]¤@¼Ë¡C\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" +msgstr "" -#: src/xgettext.c:623 -#, no-wrap +#: src/xgettext.c:640 +msgid " -o, --output=FILE write output to specified file\n" +msgstr "" + +#: src/xgettext.c:642 msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" msgstr "" -"¿é¥XÀɦì¸m¡G\n" -" -d, --default-domain=NAME ¨Ï¥Î NAME.po §@¬°¿é¥XÀɦW(¦Ó«D messages.po)\n" -" -o, --output=ÀÉ®× ±Nµ²ªG¼g¤J¦Ü«ü©wªºÀÉ®×\n" -" -p, --output-dir=¥Ø¿ý ¿é¥XÀÉ·|©ñ¦b«ü©wªº<¥Ø¿ý>\n" -#: src/xgettext.c:632 -#, fuzzy, no-wrap +#: src/xgettext.c:647 +#, fuzzy +msgid "Choice of input file language:\n" +msgstr "¥¼«ü©w¿é¤JÀÉ" + +#: src/xgettext.c:649 +#, fuzzy msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" msgstr "" "¿é¤JÀɪº»y¨¥¿ï¾Ü¡G\n" " -L, --language=¦WºÙ ÃѧO«ü©wªº»y¨¥\n" @@ -2330,23 +2542,39 @@ msgstr "" " -C, --c++ --language=C++ ªºÁY¼g\n" "¹w³]ªº»y¨¥¬O¥Ñ¿é¤JÀɪº©µ¦ùÀɦW¨M©wªº¡C\n" -#: src/xgettext.c:643 -#, no-wrap +#: src/xgettext.c:654 +msgid " -C, --c++ shorthand for --language=C++\n" +msgstr "" + +#: src/xgettext.c:656 msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +"By default the language is guessed depending on the input file name " +"extension.\n" msgstr "" -#: src/xgettext.c:651 -#, no-wrap +#: src/xgettext.c:661 msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" +msgstr "" + +#: src/xgettext.c:664 +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +#: src/xgettext.c:669 +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +#: src/xgettext.c:671 +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +#: src/xgettext.c:673 +#, fuzzy +msgid "" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" msgstr "" "¾Þ§@¼Ò¦¡¡G\n" " -j, --join-existing ¦X¨Ö¤w¦s¦bªº°T®§ÀÉ\n" @@ -2354,77 +2582,76 @@ msgstr "" " -c, --add-comments[=TAG] ¦b¿é¥XÀɤ¤¼W¥[µù¸Ñ°Ï¶ô TAG (or those\n" " preceding keyword lines) in output file\n" -#: src/xgettext.c:660 -#, no-wrap +#: src/xgettext.c:677 +msgid "Language=C/C++ specific options:\n" +msgstr "" + +#: src/xgettext.c:679 +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +#: src/xgettext.c:681 msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" -msgstr "" -"Language=C/C++ ±M¥Îªº¿ï¶µ¡G\n" -" -a, --extract-all ©â¨ú©Ò¦³¦r¦ê\n" -" -k, --keyword[=¦rµü] ÃB¥~­n¯d·NªºÃöÁä¦r (¦p¨S¦³«ü©w<¦rµü>«hªí¥Ü\n" -" ¤£¨Ï¥Î¹w³]ªºÃöÁä¦r)\n" -" -T, --trigraphs ¯d·N¿é¤J¸ê®Æ¤¤ªº ANSI C trigraph\n" -" --debug ¶i¦æ®æ¦¡¦r¦êÃѧO®ÉÅã¥Ü§ó¸Ô²Óªºµ²ªG\n" - -#: src/xgettext.c:670 -#, no-wrap +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +#: src/xgettext.c:684 +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +#: src/xgettext.c:686 msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" +" --debug more detailed formatstring recognition result\n" msgstr "" -"¿é¥X²Ó¸`¡G\n" -" -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" -" -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" -" --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" -" -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" -" --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" -" -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" -" --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" -" -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" -" --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_¦æ\n" -" -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" -" -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" -" --omit-header ¤£¼g¤J§t¦³¡¥msgid \"\"¡¦Äæ¦ìªºÀÉÀY\n" -" --copyright-holder=¦r¦ê ¦b¿é¥Xµ²ªG¤¤³]©wª©Åv¾Ö¦³ªÌ\n" -" --foreign-user ¦b¿é¥Xµ²ªG¤¤¬Ù²¤ FSF ª©Åv\n" -" -m, --msgstr-prefix[=¦r¦ê] msgstr ±ø¥Ø¨Ï¥Î<¦r¦ê>§@¬°«e¸m¦r¦ê\n" -" (¹w³]¬°ªÅ¥Õ¦r¦ê \"\")\n" -" -M, --msgstr-suffix[=¦r¦ê] msgstr ±ø¥Ø¨Ï¥Î<¦r¦ê>§@¬°«á¸m¦r¦ê\n" -" (¹w³]¬°ªÅ¥Õ¦r¦ê \"\")\n" - -#: src/xgettext.c:879 + +#: src/xgettext.c:705 +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +#: src/xgettext.c:718 +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +#: src/xgettext.c:720 +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" +msgstr "" + +#: src/xgettext.c:722 +msgid "" +" --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" +msgstr "" + +#: src/xgettext.c:724 +msgid "" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:726 +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +#: src/xgettext.c:922 msgid "standard input" msgstr "¼Ð·Ç¿é¤J" -#: src/xgettext.c:972 +#: src/xgettext.c:1015 #, c-format msgid "" "Non-ASCII string at %s%s.\n" "Please specify the source encoding through --from-code." msgstr "" -#: src/xgettext.c:1028 +#: src/xgettext.c:1070 +#, fuzzy, c-format +msgid "%s%s: warning: " +msgstr "%s¡Gĵ§i¡G" + +#: src/xgettext.c:1072 msgid "" "Empty msgid. It is reserved by GNU gettext:\n" "gettext(\"\") returns the header entry with\n" @@ -2434,11 +2661,696 @@ msgstr "" "gettext(\"\") ·|¦^¶ÇÀÉ®×¶}©l³¡¥÷ªº¸ê°T¡A\n" "¨Ã«DªÅ¥Õ¦r¦ê¡C\n" -#: src/xgettext.c:1410 +#: src/xgettext.c:1303 +msgid "" +"The option --msgid-bugs-address was not specified.\n" +"If you are using a `Makevars' file, please specify\n" +"the MSGID_BUGS_ADDRESS variable there; otherwise please\n" +"specify an --msgid-bugs-address command line option.\n" +msgstr "" + +#: src/xgettext.c:1474 #, c-format msgid "language `%s' unknown" msgstr "¤£©úªº»y¨¥¡¥%s¡¦" +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "¿é¤JÀɦì¸m¡G\n" +#~ " ¿é¤JÀÉ ¿é¤Jªº PO ÀÉ\n" +#~ " -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" +#~ "¦pªG¨S¦³«ü©w¿é¤JÀɩοé¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "¿é¥XÀɦì¸m¡G\n" +#~ " -o, --output-file=¿é¥XÀÉ ±N¿é¥Xµ²ªG¼g¦Ü<¿é¥XÀÉ>\n" +#~ "¦pªG¨S¦³«ü©w<¿é¥XÀÉ>©Î<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¦Ü¼Ð·Ç¿é¥X¡C\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " --translated keep translated, remove untranslated " +#~ "messages\n" +#~ " --untranslated keep untranslated, remove translated " +#~ "messages\n" +#~ " --no-fuzzy remove 'fuzzy' marked messages\n" +#~ " --only-fuzzy keep 'fuzzy' marked messages\n" +#~ " --no-obsolete remove obsolete #~ messages\n" +#~ " --only-obsolete keep obsolete #~ messages\n" +#~ msgstr "" +#~ "°T®§¿ï¾Ü¡G\n" +#~ " --translated «O¯d¤w½Ķªº°T®§¡A²¾°£¥¼Â½Ä¶ªº°T®§\n" +#~ " --untranslated «O¯d¥¼Â½Ä¶ªº°T®§¡A²¾°£¤w½Ķªº°T®§\n" +#~ " --no-fuzzy ²¾°£³Q¼Ð°O¬°¡u¼Ò½k¡vªº°T®§\n" +#~ " --only-fuzzy «O¯d³Q¼Ð°O¬°¡u¼Ò½k¡vªº°T®§\n" +#~ " --no-obsolete ²¾°£¹L®É #~ ªº°T®§\n" +#~ " --only-obsolete «O¯d¹L®É #~ ªº°T®§\n" + +#, fuzzy +#~ msgid "" +#~ "Attribute manipulation:\n" +#~ " --set-fuzzy set all messages 'fuzzy'\n" +#~ " --clear-fuzzy set all messages non-'fuzzy'\n" +#~ " --set-obsolete set all messages obsolete\n" +#~ " --clear-obsolete set all messages non-obsolete\n" +#~ " --only-file=FILE.po manipulate only entries listed in FILE.po\n" +#~ " --ignore-file=FILE.po manipulate only entries not listed in FILE." +#~ "po\n" +#~ " --fuzzy synonym for --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete synonym for --only-obsolete --clear-" +#~ "obsolete\n" +#~ msgstr "" +#~ "ÄݩʳB²z¡G\n" +#~ " --set-fuzzy ¥þ³¡°T®§³]¬°¡u¼Ò½k¡v\n" +#~ " --clear-fuzzy ¥þ³¡°T®§²M°£¡u¼Ò½k¡vÄÝ©Ê\n" +#~ " --set-obsolete ¥þ³¡°T®§³]¬°¹L®É\n" +#~ " --clear-obsolete ¥þ³¡°T®§²M°£¹L®ÉÄÝ©Ê\n" +#~ " --fuzzy µ¥©ó --only-fuzzy --clear-fuzzy\n" +#~ " --obsolete µ¥©ó --only-obsolete --clear-obsolete\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r" +#~ "¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" +#~ " -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X«ü©wªº¼e«×¡A¤]¤£±N¿é¥Xªº°T" +#~ "®§\n" +#~ " Â_¦æ\n" +#~ " -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" +#~ " -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE ... input files\n" +#~ " -f, --files-from=FILE get list of input files from FILE\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "¿é¤JÀɦì¸m¡G\n" +#~ " ¿é¤JÀÉ ... ¿é¤Jªº PO ÀÉ\n" +#~ " -f, --files-from=ÀÉ®× ¥Ñ<ÀÉ®×>Ū¤J¿é¤JÀɪº¦Cªí\n" +#~ " -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" +#~ "¦pªG¿é¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ "The results are written to standard output if no output file is " +#~ "specified\n" +#~ "or if it is -.\n" +#~ msgstr "" +#~ "¿é¥XÀɦì¸m¡G\n" +#~ " -o, --output-file=¿é¥XÀÉ ±N¿é¥Xµ²ªG¼g¦Ü<¿é¥XÀÉ>\n" +#~ "¦pªG¨S¦³«ü©w<¿é¥XÀÉ>©Î<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¦Ü¼Ð·Ç¿é¥X¡C\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 0 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ "°T®§¿ï¾Ü¡G\n" +#~ " -<, --less-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¤Ö©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S" +#~ "¦³\n" +#~ " «ü©w¦¸¼Æ«h¹w³]­È¬°µL­­¤j\n" +#~ " ->, --more-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¦h©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S" +#~ "¦³\n" +#~ " «ü©w¦¸¼Æ«h¹w³]­È¬° 0\n" +#~ " -u, --unique --less-than=2 ªºÁY¼g¡A­n¨D¥u¦L¥X¥X²{¤@" +#~ "¦¸\n" +#~ " ªº°T®§\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -t, --to-code=NAME encoding for output\n" +#~ " --use-first use first available translation for " +#~ "each\n" +#~ " message, don't merge several " +#~ "translations\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " -t, --to-code=¦WºÙ ¿é¥Xªºµ²ªGªº½s½X\n" +#~ " --use-first ¨ú¨C­Ó°T®§²Ä¤@­Ó¥i¥ÎªºÂ½Ä¶¡A\n" +#~ " ¦Ó¤£¦X¨Ö©Ò¦³ªºÂ½Ä¶\n" +#~ " -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r" +#~ "¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" +#~ " -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§" +#~ "Â_¦æ\n" +#~ " -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" +#~ " -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ msgstr "" +#~ "¿é¥X¸ê°T¡G\n" +#~ " -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" +#~ " -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations\n" +#~ " ref.pot references to the sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ msgstr "" +#~ "¿é¤JÀɦì¸m¡G\n" +#~ " def.po ½ĶÀÉ\n" +#~ " ref.pot ½Ķ¨Ó·½ÀÉ\n" +#~ " -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" + +#~ msgid "" +#~ "Message selection:\n" +#~ " -<, --less-than=NUMBER print messages with less than this many\n" +#~ " definitions, defaults to infinite if " +#~ "not\n" +#~ " set\n" +#~ " ->, --more-than=NUMBER print messages with more than this many\n" +#~ " definitions, defaults to 1 if not set\n" +#~ " -u, --unique shorthand for --less-than=2, requests\n" +#~ " that only unique messages be printed\n" +#~ msgstr "" +#~ " -<, --less-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¤Ö©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S" +#~ "¦³\n" +#~ " «ü©w¦¸¼Æ«h¹w³]­È¬°µL­­¤j\n" +#~ " ->, --more-than=¼Æ¦r ¥u¦L¥X¥X²{¦¸¼Æ¦h©ó«ü©w¦¸¼Æªº°T®§¡A­Y¨S" +#~ "¦³\n" +#~ " «ü©w¦¸¼Æ«h¹w³]­È¬° 0\n" +#~ " -u, --unique --less-than=2 ªºÁY¼g¡A­n¨D¥u¦L¥X¥X²{¤@" +#~ "¦¸\n" +#~ " ªº°T®§\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r" +#~ "¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" +#~ " -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§" +#~ "Â_¦æ\n" +#~ " -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" +#~ " -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" +#~ " --omit-header ¤£¼g¤J§t¦³¡¥msgid \"\"¡¦Äæ¦ìªºÀÉÀY\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r" +#~ "¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --no-location ¥h°£ '#: filename:line' µù¸Ñ\n" +#~ " --add-location «O¯d '#: filename:line' µù¸Ñ(¹w³])\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_" +#~ "¦æ\n" +#~ " -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" +#~ " -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " INPUTFILE input PO or POT file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "¿é¤JÀɦì¸m¡G\n" +#~ " ¿é¤JÀÉ ¿é¤Jªº PO ©Î POT ÀÉ\n" +#~ " -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" +#~ "¦pªG¿é¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " -i, --input=INPUTFILE input PO file\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If no input file is given or if it is -, standard input is read.\n" +#~ msgstr "" +#~ "¿é¤JÀɦì¸m¡G\n" +#~ " -i, --input=¿é¤JÀÉ ¿é¤Jªº PO ÀÉ\n" +#~ " -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" +#~ "¦pªG¨S¦³«ü©w<¿é¤JÀÉ>©ÎªÌ<¿é¤JÀÉ>¬O¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" + +#~ msgid "" +#~ "Useful FILTER-OPTIONs when the FILTER is 'sed':\n" +#~ " -e, --expression=SCRIPT add SCRIPT to the commands to be executed\n" +#~ " -f, --file=SCRIPTFILE add the contents of SCRIPTFILE to the " +#~ "commands\n" +#~ " to be executed\n" +#~ " -n, --quiet, --silent suppress automatic printing of pattern " +#~ "space\n" +#~ msgstr "" +#~ "·í<¹LÂo¾¹>¬O'sed'®É¡A¤@¨Ç¦³¥Îªº<¹LÂo¾¹¿ï¶µ>¡G\n" +#~ " -e, --expression=SCRIPT §â SCRIPT ¥[¤J«Ý°õ¦æªº©R¥O¤§¤¤\n" +#~ " -f, --file=SCRIPTFILE §â SCRIPTFILE ªº¤º®e¥[¤J«Ý°õ¦æªº©R¥O¤§¤¤\n" +#~ " -n, --quiet, --silent ¸T¤î¦Û°Ê¦L¥XªÅ¥Õ (pattern space)\n" + +# esrc/msgfilter.c:402 +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --keep-header keep header entry unmodified, don't filter " +#~ "it\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r" +#~ "¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --keep-header «O¯dÀÉÀY¤£­n­×§ï\n" +#~ " --no-location ¥h°£ '#: filename:line' µù¸Ñ\n" +#~ " --add-location «O¯d '#: filename:line' µù¸Ñ(¹w³])\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_" +#~ "¦æ\n" +#~ " -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" +#~ " -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " filename.po ... input files\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ "If input file is -, standard input is read.\n" +#~ msgstr "" +#~ "¿é¤JÀɦì¸m¡G\n" +#~ " filename.po ... ¿é¤JÀÉ\n" +#~ " -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" +#~ "¦pªG¿é¤JÀɬO¡¥-¡¦¡A«hŪ¨ú¼Ð·Ç¿é¤J¡C\n" + +#~ msgid "" +#~ "Operation mode:\n" +#~ " -j, --java Java mode: generate a Java ResourceBundle " +#~ "class\n" +#~ " --java2 like --java, and assume Java2 (JDK 1.2 or " +#~ "higher)\n" +#~ " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" +#~ msgstr "" +#~ "¾Þ§@¼Ò¦¡¡G\n" +#~ " -j, --java Java ¼Ò¦¡¡G²£¥Í Java ResourceBundle class\n" +#~ " --java2 Ãþ¦ü --java¡A¦ý°²³]¬O Java2 (JDK 1.2 ©Î¸û" +#~ "·s\n" +#~ " ªºª©¥»)\n" +#~ " --tcl Tcl ¼Ò¦¡¡G²£¥Í tcl/msgcat .msg ÀÉ®×\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -o, --output-file=FILE write output to specified file\n" +#~ " --strict enable strict Uniforum mode\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "¿é¥XÀɦì¸m¡G\n" +#~ " -o, --output-file=¿é¥XÀÉ ±N¿é¥X¼g¤J¦Ü«ü©wªº<¿é¥XÀÉ>\n" +#~ " --strict ¨Ï¥ÎÄY®æªº Uniforum ¼Ò¦¡\n" +#~ "¦pªG<¿é¥XÀÉ>¬O¡¥-¡¦¡A«h·|±Nµ²ªG¼g¦Ü¼Ð·Ç¿é¥X¡C\n" + +#~ msgid "" +#~ "Output file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is written in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Tcl ¼Ò¦¡ªº¿é¥XÀɦì¸m¡G\n" +#~ " -l, --locale=»y¨t »y¨t¦WºÙ¡A®æ¦¡¥²¶·¬O¡u»y¨¥¡v©Î¡u»y¨¥_°ê" +#~ "®a¡v\n" +#~ " -d ¥Ø¿ý .msg ½ĶÀɦs©ñªº¥Ø¿ý\n" +#~ "-l ©M -d ¿ï¶µ¬O¥²­nªº¡C©Ò²£¥Íªº .msg ÀÉ·|¦s©ñ¦b«ü©wªº¥Ø¿ý¡C\n" + +#~ msgid "" +#~ "Input file interpretation:\n" +#~ " -c, --check perform all the checks implied by\n" +#~ " --check-format, --check-header, --check-" +#~ "domain\n" +#~ " --check-format check language dependent format strings\n" +#~ " --check-header verify presence and contents of the header " +#~ "entry\n" +#~ " --check-domain check for conflicts between domain " +#~ "directives\n" +#~ " and the --output-file option\n" +#~ " -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +#~ "msgfmt\n" +#~ " --check-accelerators[=CHAR] check presence of keyboard " +#~ "accelerators for\n" +#~ " menu items\n" +#~ " -f, --use-fuzzy use fuzzy entries in output\n" +#~ msgstr "" +#~ "¿é¤JÀɸÑĶ¡G\n" +#~ " -c, --check ¶i¦æ --check-format¡B--check-header ©M\n" +#~ " --check-domain ¤TºØÀˬd\n" +#~ " --check-format Àˬd©M»y¨¥¦³Ãöªº®æ¦¡¦r¦ê\n" +#~ " --check-header Àˬd¼ÐÀYÄæ¦ì¬O§_¦s¦b¤ÎÀˬd¥¦­Ìªº¤º®e\n" +#~ " --check-domain Àˬd domain «ü¥O©M --output-file ¿ï¶µ¤§¶¡\n" +#~ " ¬O§_¤£¬Û®e\n" +#~ " -C, --check-compatibility ¨Ï GNU msgfmt ¥H X/Open msgfmt ªº¤è¦¡ÀˬdÀÉ" +#~ "®×\n" +#~ " --check-accelerators[=CHAR] Àˬd¿ï³æ¶µ¥Ø¤¤ªº±¶®|Áä¼Ð°O¬O§_¦s¦b\n" +#~ " -f, --use-fuzzy ¿é¥XÀÉ·|¨Ï¥Î¼Ò½kªºÂ½Ä¶±ø¥Ø\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " --statistics print statistics about translations\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "¿é¥X¸ê°T¡G\n" +#~ " -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" +#~ " -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" +#~ " --statistics ¦C¦L½Ķ±ø¥Øªº²Î­p\n" +#~ " -v, --verbose ¼W¥[¿é¥Xªº¸Ô²Óµ{«×\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " --no-escape do not use C escapes in output (default)\n" +#~ " --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " --indent indented output style\n" +#~ " --no-location suppress '#: filename:line' lines\n" +#~ " --add-location preserve '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict strict Uniforum output style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several lines\n" +#~ " --sort-output generate sorted output\n" +#~ " --sort-by-file sort output by file location\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r" +#~ "¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --no-location ¥h°£ '#: filename:line' µù¸Ñ\n" +#~ " --add-location «O¯d '#: filename:line' µù¸Ñ(¹w³])\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§Â_" +#~ "¦æ\n" +#~ " --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" +#~ " --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" + +#~ msgid "" +#~ "Input file location:\n" +#~ " def.po translations referring to old sources\n" +#~ " ref.pot references to new sources\n" +#~ " -D, --directory=DIRECTORY add DIRECTORY to list for input files " +#~ "search\n" +#~ " -C, --compendium=FILE additional library of message " +#~ "translations,\n" +#~ " may be specified more than once\n" +#~ msgstr "" +#~ "¿é¤JÀɦì¸m¡G\n" +#~ " def.po ÂÂ½ĶªºÂ½Ä¶ÀÉ\n" +#~ " ref.pot ·sªºÂ½Ä¶¨Ó·½ÀÉ\n" +#~ " -D, --directory=¥Ø¿ý ¦P®É¦b<¥Ø¿ý>¤¤·j´M¿é¤JÀÉ\n" +#~ " -C, --compendium=ÀÉ®× ÃB¥~ªºÂ½Ä¶°T®§®w¡A¥i¨Ï¥Î¦h©ó¤@¦¸\n" + +#, fuzzy +#~ msgid "" +#~ "Operation modifiers:\n" +#~ " -m, --multi-domain apply ref.pot to each of the domains in def." +#~ "po\n" +#~ " -N, --no-fuzzy-matching do not use fuzzy matching\n" +#~ msgstr "" +#~ "¾Þ§@¼Ò¦¡¡G\n" +#~ " -m, --multi-domain ±N ref.pot ®M¥Î©ó def.po ¤¤ªº¨C¤@­Ó»â°ì\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ " -q, --quiet, --silent suppress progress indicators\n" +#~ msgstr "" +#~ "¿é¥X¸ê°T¡G\n" +#~ " -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" +#~ " -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" +#~ " -v, --verbose ¼W¥[¿é¥Xªº¸Ô²Óµ{«×\n" +#~ " -q, --quiet, --silent ¤£Åã¥Ü¶i«×«ü¥Ü\n" + +#~ msgid "" +#~ "Input file location in Tcl mode:\n" +#~ " -l, --locale=LOCALE locale name, either language or " +#~ "language_COUNTRY\n" +#~ " -d DIRECTORY base directory of .msg message catalogs\n" +#~ "The -l and -d options are mandatory. The .msg file is located in the\n" +#~ "specified directory.\n" +#~ msgstr "" +#~ "Tcl ¼Ò¦¡ªº¿é¤JÀɦì¸m¡G\n" +#~ " -l, --locale=»y¨t »y¨t¦WºÙ¡A®æ¦¡¥²¶·¬O¡u»y¨¥¡v©Î¡u»y¨¥_°ê®a¡v\n" +#~ " -d ¥Ø¿ý .msg ½ĶÀɦs©ñªº¥Ø¿ý\n" +#~ "-l ©M -d ¿ï¶µ¬O¥²­nªº¡C©Ò²£¥Íªº .msg ÀÉ·|¦s©ñ¦b«ü©wªº¥Ø¿ý¡C\n" + +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output (default)\n" +#~ " -E, --escape use C escapes in output, no extended chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write indented output style\n" +#~ " --strict write strict uniforum style\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer than\n" +#~ " the output page width, into several lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X«ü©wªº¼e«×¡A¤]¤£±N¿é¥Xªº°T" +#~ "®§\n" +#~ " -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" + +#~ msgid "" +#~ "Informative output:\n" +#~ " -h, --help display this help and exit\n" +#~ " -V, --version output version information and exit\n" +#~ " -v, --verbose increase verbosity level\n" +#~ msgstr "" +#~ "¿é¥X¸ê°T¡G\n" +#~ " -h, --help Åã¥Ü¦¹¬q»¡©ú¨ÃÂ÷¶}\n" +#~ " -V, --version Åã¥Üª©¥»¸ê°T¨ÃÂ÷¶}\n" +#~ " -v, --verbose ¼W¥[¿é¥Xªº¸Ô²Óµ{«×\n" + +#~ msgid "" +#~ "Output file location:\n" +#~ " -d, --default-domain=NAME use NAME.po for output (instead of " +#~ "messages.po)\n" +#~ " -o, --output=FILE write output to specified file\n" +#~ " -p, --output-dir=DIR output files will be placed in directory " +#~ "DIR\n" +#~ "If output file is -, output is written to standard output.\n" +#~ msgstr "" +#~ "¿é¥XÀɦì¸m¡G\n" +#~ " -d, --default-domain=NAME ¨Ï¥Î NAME.po §@¬°¿é¥XÀɦW(¦Ó«D messages." +#~ "po)\n" +#~ " -o, --output=ÀÉ®× ±Nµ²ªG¼g¤J¦Ü«ü©wªºÀÉ®×\n" +#~ " -p, --output-dir=¥Ø¿ý ¿é¥XÀÉ·|©ñ¦b«ü©wªº<¥Ø¿ý>\n" + +#~ msgid "" +#~ "Language=C/C++ specific options:\n" +#~ " -a, --extract-all extract all strings\n" +#~ " -k, --keyword[=WORD] additional keyword to be looked for " +#~ "(without\n" +#~ " WORD means not to use default keywords)\n" +#~ " -T, --trigraphs understand ANSI C trigraphs for input\n" +#~ " --debug more detailed formatstring recognition " +#~ "result\n" +#~ msgstr "" +#~ "Language=C/C++ ±M¥Îªº¿ï¶µ¡G\n" +#~ " -a, --extract-all ©â¨ú©Ò¦³¦r¦ê\n" +#~ " -k, --keyword[=¦rµü] ÃB¥~­n¯d·NªºÃöÁä¦r (¦p¨S¦³«ü©w<¦rµü>«hªí" +#~ "¥Ü\n" +#~ " ¤£¨Ï¥Î¹w³]ªºÃöÁä¦r)\n" +#~ " -T, --trigraphs ¯d·N¿é¤J¸ê®Æ¤¤ªº ANSI C trigraph\n" +#~ " --debug ¶i¦æ®æ¦¡¦r¦êÃѧO®ÉÅã¥Ü§ó¸Ô²Óªºµ²ªG\n" + +#, fuzzy +#~ msgid "" +#~ "Output details:\n" +#~ " -e, --no-escape do not use C escapes in output " +#~ "(default)\n" +#~ " -E, --escape use C escapes in output, no extended " +#~ "chars\n" +#~ " --force-po write PO file even if empty\n" +#~ " -i, --indent write the .po file using indented style\n" +#~ " --no-location do not write '#: filename:line' lines\n" +#~ " -n, --add-location generate '#: filename:line' lines " +#~ "(default)\n" +#~ " --strict write out strict Uniforum conforming .po " +#~ "file\n" +#~ " -w, --width=NUMBER set output page width\n" +#~ " --no-wrap do not break long message lines, longer " +#~ "than\n" +#~ " the output page width, into several " +#~ "lines\n" +#~ " -s, --sort-output generate sorted output\n" +#~ " -F, --sort-by-file sort output by file location\n" +#~ " --omit-header don't write header with `msgid \"\"' " +#~ "entry\n" +#~ " --copyright-holder=STRING set copyright holder in output\n" +#~ " --foreign-user omit FSF copyright in output for foreign " +#~ "user\n" +#~ " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid " +#~ "bugs\n" +#~ " -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +#~ "entries\n" +#~ " -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +#~ "entries\n" +#~ msgstr "" +#~ "¿é¥X²Ó¸`¡G\n" +#~ " -e, --no-escape ¿é¥Xªºµ²ªG¤£¨Ï¥Î C ·¸¥X¦r¤¸(¹w³])\n" +#~ " -E, --escape ¿é¥Xµ²ªG¨Ï¥Î C ·¸¥X¦r¤¸¡A¤£ª½±µ¿é¥X©µ¦ù¦r" +#~ "¤¸\n" +#~ " --force-po §Y¨Ï¤º®eªÅ¥Õ¡A¤´µM±j­¢¿é¥X PO ÀÉ\n" +#~ " -i, --indent ¨Ï¥ÎÁY±Æ¤è¦¡¼g¤J .po ÀÉ\n" +#~ " --no-location ¤£¼g¤J '#: filename:line' µù¸Ñ\n" +#~ " -n, --add-location ²£¥Í '#: filename:line' µù¸Ñ(¹w³])\n" +#~ " --strict ¿é¥XÄY®æ²Å¦X Uniforum ®æ¦¡ªº .po ÀÉ\n" +#~ " -w, --width=¼Æ¦r ³]©w¿é¥Xªº¼e«×\n" +#~ " --no-wrap §Y¨Ï¿é¥Xªº°T®§¶W¥X­¶¼e¡A¤]¤£±N¿é¥Xªº°T®§" +#~ "Â_¦æ\n" +#~ " -s, --sort-output ¿é¥X®É¥ý±N¶µ¥Ø±Æ§Ç\n" +#~ " -F, --sort-by-file ®Ú¾ÚÀɮצì¸m¶i¦æ±Æ§Ç\n" +#~ " --omit-header ¤£¼g¤J§t¦³¡¥msgid \"\"¡¦Äæ¦ìªºÀÉÀY\n" +#~ " --copyright-holder=¦r¦ê ¦b¿é¥Xµ²ªG¤¤³]©wª©Åv¾Ö¦³ªÌ\n" +#~ " --foreign-user ¦b¿é¥Xµ²ªG¤¤¬Ù²¤ FSF ª©Åv\n" +#~ " -m, --msgstr-prefix[=¦r¦ê] msgstr ±ø¥Ø¨Ï¥Î<¦r¦ê>§@¬°«e¸m¦r¦ê\n" +#~ " (¹w³]¬°ªÅ¥Õ¦r¦ê \"\")\n" +#~ " -M, --msgstr-suffix[=¦r¦ê] msgstr ±ø¥Ø¨Ï¥Î<¦r¦ê>§@¬°«á¸m¦r¦ê\n" +#~ " (¹w³]¬°ªÅ¥Õ¦r¦ê \"\")\n" + #~ msgid "missing arguments" #~ msgstr "¯Ê¤Ö¤F°Ñ¼Æ" @@ -2549,14 +3461,6 @@ msgstr " #~ msgid "seek \"%s\" offset %ld failed" #~ msgstr "·j´M¡§%s¡¨ªº¦ì¸m %ld ¥¢±Ñ" -#~ msgid "" -#~ "Operation mode:\n" -#~ " -j, --java Java mode: generate a Java ResourceBundle " -#~ "class\n" -#~ msgstr "" -#~ "¾Þ§@¼Ò¦¡¡G\n" -#~ " -j, --java Java ¼Ò¦¡¡G²£¥Í Java ResourceBundle class\n" - #~ msgid "%s: warning: no header entry found" #~ msgstr "%s: ĵ§i: ¨S¦³¼ÐÀYÄæ¦ì" diff --git a/gettext-tools/projects/Makefile.in b/gettext-tools/projects/Makefile.in index bd2f10932..546092b4b 100644 --- a/gettext-tools/projects/Makefile.in +++ b/gettext-tools/projects/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -43,6 +43,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -60,11 +62,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -73,6 +78,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -109,7 +116,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -126,6 +132,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -137,7 +144,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -148,13 +159,22 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -187,6 +207,12 @@ target_alias = @target_alias@ AUTOMAKE_OPTIONS = 1.2 gnits + +# VMS support. + +# Woe32 support. +EXTRA_DIST = $(SCRIPTFILES) $(DATAFILES) Makefile.vms Makefile.msvc + RM = rm -f projectsdir = $(pkgdatadir)/projects @@ -201,7 +227,6 @@ DATAFILES = index \ KDE/teams.url KDE/teams.html \ GNOME/teams.url GNOME/teams.html -EXTRA_DIST = $(SCRIPTFILES) $(DATAFILES) subdir = projects mkinstalldirs = $(SHELL) $(top_srcdir)/../config/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h @@ -269,6 +294,8 @@ check-am: all-am check: check-am all-am: Makefile +installdirs: installdirs-local + install: install-am install-exec: install-exec-am install-data: install-data-am @@ -379,9 +406,6 @@ uninstall-local: echo "$(RM) $(DESTDIR)$(projectsdir)/$$f"; \ $(RM) $(DESTDIR)$(projectsdir)/$$f; \ done - -# One more automake bug. -installdirs: installdirs-local # 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/gettext-tools/src/Makefile.in b/gettext-tools/src/Makefile.in index f09080dd3..96cca7569 100644 --- a/gettext-tools/src/Makefile.in +++ b/gettext-tools/src/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,11 +61,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = \ -DLOCALEDIR=\"$(localedir)\" \ + -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ -DUSEJEXE=$(USEJEXE) \ -DGETTEXTJEXEDIR=\"$(pkglibdir)\" \ -DGETTEXTJAR=\"$(jardir)/gettext.jar\" \ @@ -72,6 +77,7 @@ DEFS = \ -DPROJECTSDIR=\"$(projectsdir)\" @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -80,6 +86,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -116,7 +124,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -133,6 +140,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -144,7 +152,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -155,13 +167,22 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ -d +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -196,13 +217,17 @@ AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies # Special rules for Tcl auxiliary program. -EXTRA_DIST = FILES project-id ChangeLog.0 gnu/gettext/DumpResource.java gnu/gettext/GetURL.java msgunfmt.tcl + +# VMS support. + +# Woe32 support. +EXTRA_DIST = FILES project-id ChangeLog.0 gnu/gettext/DumpResource.java gnu/gettext/GetURL.java msgunfmt.tcl Makefile.vms Makefile.msvc CLEANFILES = gnu.gettext.DumpResource$(EXEEXT) gnu.gettext.GetURL$(EXEEXT) \ gettext.jar gnu/gettext/*.class -DISTCLEANFILES = po-gram-gen2.h user-email +DISTCLEANFILES = user-email RM = rm -f @@ -218,16 +243,18 @@ lib_LTLIBRARIES = libgettextsrc.la libgettextpo.la include_HEADERS = gettext-po.h noinst_HEADERS = pos.h message.h po-gram.h po-hash.h po-charset.h po-lex.h \ -po.h open-po.h read-po.h str-list.h write-po.h dir-list.h file-list.h \ -po-gram-gen.h po-hash-gen.h msgl-charset.h msgl-equal.h msgl-iconv.h \ +open-po.h read-po-abstract.h read-po.h read-properties.h str-list.h \ +write-po.h write-properties.h dir-list.h file-list.h po-gram-gen.h \ +po-gram-gen2.h po-hash-gen.h msgl-charset.h msgl-equal.h msgl-iconv.h \ msgl-ascii.h msgl-cat.h msgl-english.h msgfmt.h msgunfmt.h read-mo.h \ write-mo.h read-java.h write-java.h read-tcl.h write-tcl.h po-time.h \ -plural-table.h format.h xgettext.h x-c.h x-po.h x-python.h x-lisp.h \ -x-elisp.h x-librep.h x-smalltalk.h x-java.h x-awk.h x-ycp.h x-tcl.h x-php.h \ -x-rst.h x-glade.h +plural-table.h format.h xgettext.h x-c.h x-po.h x-python.h x-lisp.h x-elisp.h \ +x-librep.h x-smalltalk.h x-java.h x-properties.h x-awk.h x-ycp.h x-tcl.h \ +x-php.h x-rst.h x-glade.h localedir = $(datadir)/locale +aliaspath = $(localedir) jardir = $(datadir)/gettext projectsdir = $(pkgdatadir)/projects @@ -246,17 +273,17 @@ JAVACOMP = $(SHELL) ../lib/javacomp.sh # All programs deal with message lists. # All programs must read PO files. (msgunfmt also, for read-java.c.) # message.c -> str-list.c. -# (po.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> str-list.c. -# (po.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> open-po.c -> dir-list.c -> str-list.c. -# (po.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> po-charset.c. -# (po.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> message.c -> str-list.c. +# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> str-list.c. +# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> open-po.c -> dir-list.c -> str-list.c. +# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> po-charset.c. +# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> message.c -> str-list.c. COMMON_SOURCE = message.c \ -po.c po-lex.c po-gram-gen.y po-hash-gen.y po-charset.c \ -open-po.c dir-list.c str-list.c +read-po-abstract.c po-lex.c po-gram-gen.y po-hash-gen.y po-charset.c \ +read-properties.c open-po.c dir-list.c str-list.c # xgettext and msgfmt deal with format strings. -FORMAT_SOURCE = format.c \ +FORMAT_SOURCE = format.c format-invalid.h \ format-c.c format-python.c format-lisp.c format-elisp.c format-librep.c \ format-java.c format-awk.c format-pascal.c format-ycp.c format-tcl.c \ format-php.c @@ -264,9 +291,9 @@ format-php.c # libgettextsrc contains all code that is needed by at least two programs. libgettextsrc_la_SOURCES = \ -$(COMMON_SOURCE) read-po.c write-po.c msgl-ascii.c msgl-iconv.c msgl-equal.c \ -msgl-cat.c msgl-english.c file-list.c msgl-charset.c po-time.c plural.c \ -plural-table.c $(FORMAT_SOURCE) +$(COMMON_SOURCE) read-po.c write-properties.c write-po.c msgl-ascii.c \ +msgl-iconv.c msgl-equal.c msgl-cat.c msgl-english.c file-list.c \ +msgl-charset.c po-time.c plural.c plural-table.c $(FORMAT_SOURCE) # libgettextpo contains the public API for PO files. @@ -297,7 +324,7 @@ msgen_SOURCES = msgen.c msgexec_SOURCES = msgexec.c msgfilter_SOURCES = msgfilter.c msggrep_SOURCES = msggrep.c -msginit_SOURCES = msginit.c +msginit_SOURCES = msginit.c ../../gettext-runtime/intl/localealias.c msguniq_SOURCES = msguniq.c hostname_SOURCES = hostname.c urlget_SOURCES = urlget.c @@ -320,6 +347,8 @@ libgettextpo_la_LDFLAGS = \ -rpath $(libdir) \ libgettextsrc.la ../lib/libgettextlib.la -lc -no-undefined +# Build order. Only needed for "make -j[N]". +libgettextpo_la_DEPENDENCIES = libgettextsrc.la # Link dependencies. msgcmp_LDADD = libgettextsrc.la @@ -335,21 +364,65 @@ msgen_LDADD = libgettextsrc.la msgexec_LDADD = libgettextsrc.la msgfilter_LDADD = libgettextsrc.la msggrep_LDADD = libgettextsrc.la -msginit_LDADD = ../intl/localealias.@INTL_LIBTOOL_SUFFIX_PREFIX@o \ - ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \ +msginit_LDADD = ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \ libgettextsrc.la msguniq_LDADD = libgettextsrc.la +# Specify installation directory, for --enable-relocatable. +msgcmp_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgfmt_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgmerge_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgunfmt_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +xgettext_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgattrib_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgcat_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgcomm_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgconv_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgen_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgexec_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msgfilter_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msggrep_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msginit_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +msguniq_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +hostname_CFLAGS = -DINSTALLDIR=\"$(pkglibdir)\" +urlget_CFLAGS = -DINSTALLDIR=\"$(pkglibdir)\" +@RELOCATABLE_VIA_LD_TRUE@msgcmp_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgfmt_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgmerge_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgunfmt_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@xgettext_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgattrib_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgcat_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgcomm_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgconv_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgen_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgexec_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msgfilter_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msggrep_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msginit_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@msguniq_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` +@RELOCATABLE_VIA_LD_TRUE@hostname_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(pkglibdir)` +@RELOCATABLE_VIA_LD_TRUE@urlget_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(pkglibdir)` + # Special rules for bison and flex generated files. -BUILT_SOURCES = po-gram-gen.c po-hash-gen.c po-gram-gen.h po-hash-gen.h +BUILT_SOURCES = \ + po-gram-gen.c po-gram-gen.h po-gram-gen2.h \ + po-hash-gen.c po-hash-gen.h + # Special rules for Java compilation. USEJEXE = $(USEJEXE_@BUILDJAVAEXE@) USEJEXE_yes = 1 USEJEXE_no = 0 + +# Support for relocatability. +RELOCATABLE_LIBRARY_PATH = $(libdir) +RELOCATABLE_SRC_DIR = $(top_srcdir)/lib +RELOCATABLE_BUILD_DIR = ../lib +RELOCATABLE_CONFIG_H_DIR = .. subdir = src mkinstalldirs = $(SHELL) $(top_srcdir)/../config/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h @@ -360,15 +433,17 @@ libgettextpo_la_LIBADD = am_libgettextpo_la_OBJECTS = gettext-po.lo libgettextpo_la_OBJECTS = $(am_libgettextpo_la_OBJECTS) libgettextsrc_la_LIBADD = -am__objects_1 = message.lo po.lo po-lex.lo po-gram-gen.lo po-hash-gen.lo \ - po-charset.lo open-po.lo dir-list.lo str-list.lo +am__objects_1 = message.lo read-po-abstract.lo po-lex.lo po-gram-gen.lo \ + po-hash-gen.lo po-charset.lo read-properties.lo open-po.lo \ + dir-list.lo str-list.lo am__objects_2 = format.lo format-c.lo format-python.lo format-lisp.lo \ format-elisp.lo format-librep.lo format-java.lo format-awk.lo \ format-pascal.lo format-ycp.lo format-tcl.lo format-php.lo -am_libgettextsrc_la_OBJECTS = $(am__objects_1) read-po.lo write-po.lo \ - msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo \ - msgl-english.lo file-list.lo msgl-charset.lo po-time.lo \ - plural.lo plural-table.lo $(am__objects_2) +am_libgettextsrc_la_OBJECTS = $(am__objects_1) read-po.lo \ + write-properties.lo write-po.lo msgl-ascii.lo msgl-iconv.lo \ + msgl-equal.lo msgl-cat.lo msgl-english.lo file-list.lo \ + msgl-charset.lo po-time.lo plural.lo plural-table.lo \ + $(am__objects_2) libgettextsrc_la_OBJECTS = $(am_libgettextsrc_la_OBJECTS) bin_PROGRAMS = msgcmp$(EXEEXT) msgfmt$(EXEEXT) msgmerge$(EXEEXT) \ msgunfmt$(EXEEXT) xgettext$(EXEEXT) msgattrib$(EXEEXT) \ @@ -378,84 +453,72 @@ bin_PROGRAMS = msgcmp$(EXEEXT) msgfmt$(EXEEXT) msgmerge$(EXEEXT) \ noinst_PROGRAMS = hostname$(EXEEXT) urlget$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) -am_hostname_OBJECTS = hostname.$(OBJEXT) +am_hostname_OBJECTS = hostname-hostname.$(OBJEXT) hostname_OBJECTS = $(am_hostname_OBJECTS) hostname_LDADD = $(LDADD) hostname_DEPENDENCIES = ../lib/libgettextlib.la -hostname_LDFLAGS = -am_msgattrib_OBJECTS = msgattrib.$(OBJEXT) +am_msgattrib_OBJECTS = msgattrib-msgattrib.$(OBJEXT) msgattrib_OBJECTS = $(am_msgattrib_OBJECTS) msgattrib_DEPENDENCIES = libgettextsrc.la -msgattrib_LDFLAGS = -am_msgcat_OBJECTS = msgcat.$(OBJEXT) +am_msgcat_OBJECTS = msgcat-msgcat.$(OBJEXT) msgcat_OBJECTS = $(am_msgcat_OBJECTS) msgcat_DEPENDENCIES = libgettextsrc.la -msgcat_LDFLAGS = -am_msgcmp_OBJECTS = msgcmp.$(OBJEXT) +am_msgcmp_OBJECTS = msgcmp-msgcmp.$(OBJEXT) msgcmp_OBJECTS = $(am_msgcmp_OBJECTS) msgcmp_DEPENDENCIES = libgettextsrc.la -msgcmp_LDFLAGS = -am_msgcomm_OBJECTS = msgcomm.$(OBJEXT) +am_msgcomm_OBJECTS = msgcomm-msgcomm.$(OBJEXT) msgcomm_OBJECTS = $(am_msgcomm_OBJECTS) msgcomm_DEPENDENCIES = libgettextsrc.la -msgcomm_LDFLAGS = -am_msgconv_OBJECTS = msgconv.$(OBJEXT) +am_msgconv_OBJECTS = msgconv-msgconv.$(OBJEXT) msgconv_OBJECTS = $(am_msgconv_OBJECTS) msgconv_DEPENDENCIES = libgettextsrc.la -msgconv_LDFLAGS = -am_msgen_OBJECTS = msgen.$(OBJEXT) +am_msgen_OBJECTS = msgen-msgen.$(OBJEXT) msgen_OBJECTS = $(am_msgen_OBJECTS) msgen_DEPENDENCIES = libgettextsrc.la -msgen_LDFLAGS = -am_msgexec_OBJECTS = msgexec.$(OBJEXT) +am_msgexec_OBJECTS = msgexec-msgexec.$(OBJEXT) msgexec_OBJECTS = $(am_msgexec_OBJECTS) msgexec_DEPENDENCIES = libgettextsrc.la -msgexec_LDFLAGS = -am_msgfilter_OBJECTS = msgfilter.$(OBJEXT) +am_msgfilter_OBJECTS = msgfilter-msgfilter.$(OBJEXT) msgfilter_OBJECTS = $(am_msgfilter_OBJECTS) msgfilter_DEPENDENCIES = libgettextsrc.la -msgfilter_LDFLAGS = -am_msgfmt_OBJECTS = msgfmt.$(OBJEXT) write-mo.$(OBJEXT) \ - write-java.$(OBJEXT) write-tcl.$(OBJEXT) plural-eval.$(OBJEXT) +am_msgfmt_OBJECTS = msgfmt-msgfmt.$(OBJEXT) msgfmt-write-mo.$(OBJEXT) \ + msgfmt-write-java.$(OBJEXT) msgfmt-write-tcl.$(OBJEXT) \ + msgfmt-plural-eval.$(OBJEXT) msgfmt_OBJECTS = $(am_msgfmt_OBJECTS) msgfmt_DEPENDENCIES = libgettextsrc.la -msgfmt_LDFLAGS = -am_msggrep_OBJECTS = msggrep.$(OBJEXT) +am_msggrep_OBJECTS = msggrep-msggrep.$(OBJEXT) msggrep_OBJECTS = $(am_msggrep_OBJECTS) msggrep_DEPENDENCIES = libgettextsrc.la -msggrep_LDFLAGS = -am_msginit_OBJECTS = msginit.$(OBJEXT) +am_msginit_OBJECTS = msginit-msginit.$(OBJEXT) \ + msginit-localealias.$(OBJEXT) msginit_OBJECTS = $(am_msginit_OBJECTS) -msginit_DEPENDENCIES = ../intl/localealias.@INTL_LIBTOOL_SUFFIX_PREFIX@o \ - ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \ +msginit_DEPENDENCIES = ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \ libgettextsrc.la -msginit_LDFLAGS = -am_msgmerge_OBJECTS = msgmerge.$(OBJEXT) +am_msgmerge_OBJECTS = msgmerge-msgmerge.$(OBJEXT) msgmerge_OBJECTS = $(am_msgmerge_OBJECTS) msgmerge_DEPENDENCIES = libgettextsrc.la -msgmerge_LDFLAGS = -am_msgunfmt_OBJECTS = msgunfmt.$(OBJEXT) read-mo.$(OBJEXT) \ - read-java.$(OBJEXT) read-tcl.$(OBJEXT) +am_msgunfmt_OBJECTS = msgunfmt-msgunfmt.$(OBJEXT) \ + msgunfmt-read-mo.$(OBJEXT) msgunfmt-read-java.$(OBJEXT) \ + msgunfmt-read-tcl.$(OBJEXT) msgunfmt_OBJECTS = $(am_msgunfmt_OBJECTS) msgunfmt_DEPENDENCIES = libgettextsrc.la -msgunfmt_LDFLAGS = -am_msguniq_OBJECTS = msguniq.$(OBJEXT) +am_msguniq_OBJECTS = msguniq-msguniq.$(OBJEXT) msguniq_OBJECTS = $(am_msguniq_OBJECTS) msguniq_DEPENDENCIES = libgettextsrc.la -msguniq_LDFLAGS = -am_urlget_OBJECTS = urlget.$(OBJEXT) +am_urlget_OBJECTS = urlget-urlget.$(OBJEXT) urlget_OBJECTS = $(am_urlget_OBJECTS) urlget_LDADD = $(LDADD) urlget_DEPENDENCIES = ../lib/libgettextlib.la -urlget_LDFLAGS = -am_xgettext_OBJECTS = xgettext.$(OBJEXT) x-c.$(OBJEXT) x-po.$(OBJEXT) \ - x-python.$(OBJEXT) x-lisp.$(OBJEXT) x-elisp.$(OBJEXT) \ - x-librep.$(OBJEXT) x-smalltalk.$(OBJEXT) x-java.$(OBJEXT) \ - x-awk.$(OBJEXT) x-ycp.$(OBJEXT) x-tcl.$(OBJEXT) x-php.$(OBJEXT) \ - x-rst.$(OBJEXT) x-glade.$(OBJEXT) +am_xgettext_OBJECTS = xgettext-xgettext.$(OBJEXT) xgettext-x-c.$(OBJEXT) \ + xgettext-x-po.$(OBJEXT) xgettext-x-python.$(OBJEXT) \ + xgettext-x-lisp.$(OBJEXT) xgettext-x-elisp.$(OBJEXT) \ + xgettext-x-librep.$(OBJEXT) xgettext-x-smalltalk.$(OBJEXT) \ + xgettext-x-java.$(OBJEXT) xgettext-x-awk.$(OBJEXT) \ + xgettext-x-ycp.$(OBJEXT) xgettext-x-tcl.$(OBJEXT) \ + xgettext-x-php.$(OBJEXT) xgettext-x-rst.$(OBJEXT) \ + xgettext-x-glade.$(OBJEXT) xgettext_OBJECTS = $(am_xgettext_OBJECTS) xgettext_DEPENDENCIES = ../libuniname/libuniname.a libgettextsrc.la -xgettext_LDFLAGS = DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = @@ -648,6 +711,357 @@ distclean-compile: .c.lo: $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< +hostname-hostname.o: hostname.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hostname_CFLAGS) $(CFLAGS) -c -o hostname-hostname.o `test -f 'hostname.c' || echo '$(srcdir)/'`hostname.c + +hostname-hostname.obj: hostname.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hostname_CFLAGS) $(CFLAGS) -c -o hostname-hostname.obj `if test -f 'hostname.c'; then $(CYGPATH_W) 'hostname.c'; else $(CYGPATH_W) '$(srcdir)/hostname.c'; fi` + +hostname-hostname.lo: hostname.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hostname_CFLAGS) $(CFLAGS) -c -o hostname-hostname.lo `test -f 'hostname.c' || echo '$(srcdir)/'`hostname.c + +msgattrib-msgattrib.o: msgattrib.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgattrib_CFLAGS) $(CFLAGS) -c -o msgattrib-msgattrib.o `test -f 'msgattrib.c' || echo '$(srcdir)/'`msgattrib.c + +msgattrib-msgattrib.obj: msgattrib.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgattrib_CFLAGS) $(CFLAGS) -c -o msgattrib-msgattrib.obj `if test -f 'msgattrib.c'; then $(CYGPATH_W) 'msgattrib.c'; else $(CYGPATH_W) '$(srcdir)/msgattrib.c'; fi` + +msgattrib-msgattrib.lo: msgattrib.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgattrib_CFLAGS) $(CFLAGS) -c -o msgattrib-msgattrib.lo `test -f 'msgattrib.c' || echo '$(srcdir)/'`msgattrib.c + +msgcat-msgcat.o: msgcat.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcat_CFLAGS) $(CFLAGS) -c -o msgcat-msgcat.o `test -f 'msgcat.c' || echo '$(srcdir)/'`msgcat.c + +msgcat-msgcat.obj: msgcat.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcat_CFLAGS) $(CFLAGS) -c -o msgcat-msgcat.obj `if test -f 'msgcat.c'; then $(CYGPATH_W) 'msgcat.c'; else $(CYGPATH_W) '$(srcdir)/msgcat.c'; fi` + +msgcat-msgcat.lo: msgcat.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcat_CFLAGS) $(CFLAGS) -c -o msgcat-msgcat.lo `test -f 'msgcat.c' || echo '$(srcdir)/'`msgcat.c + +msgcmp-msgcmp.o: msgcmp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcmp_CFLAGS) $(CFLAGS) -c -o msgcmp-msgcmp.o `test -f 'msgcmp.c' || echo '$(srcdir)/'`msgcmp.c + +msgcmp-msgcmp.obj: msgcmp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcmp_CFLAGS) $(CFLAGS) -c -o msgcmp-msgcmp.obj `if test -f 'msgcmp.c'; then $(CYGPATH_W) 'msgcmp.c'; else $(CYGPATH_W) '$(srcdir)/msgcmp.c'; fi` + +msgcmp-msgcmp.lo: msgcmp.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcmp_CFLAGS) $(CFLAGS) -c -o msgcmp-msgcmp.lo `test -f 'msgcmp.c' || echo '$(srcdir)/'`msgcmp.c + +msgcomm-msgcomm.o: msgcomm.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcomm_CFLAGS) $(CFLAGS) -c -o msgcomm-msgcomm.o `test -f 'msgcomm.c' || echo '$(srcdir)/'`msgcomm.c + +msgcomm-msgcomm.obj: msgcomm.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcomm_CFLAGS) $(CFLAGS) -c -o msgcomm-msgcomm.obj `if test -f 'msgcomm.c'; then $(CYGPATH_W) 'msgcomm.c'; else $(CYGPATH_W) '$(srcdir)/msgcomm.c'; fi` + +msgcomm-msgcomm.lo: msgcomm.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgcomm_CFLAGS) $(CFLAGS) -c -o msgcomm-msgcomm.lo `test -f 'msgcomm.c' || echo '$(srcdir)/'`msgcomm.c + +msgconv-msgconv.o: msgconv.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgconv_CFLAGS) $(CFLAGS) -c -o msgconv-msgconv.o `test -f 'msgconv.c' || echo '$(srcdir)/'`msgconv.c + +msgconv-msgconv.obj: msgconv.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgconv_CFLAGS) $(CFLAGS) -c -o msgconv-msgconv.obj `if test -f 'msgconv.c'; then $(CYGPATH_W) 'msgconv.c'; else $(CYGPATH_W) '$(srcdir)/msgconv.c'; fi` + +msgconv-msgconv.lo: msgconv.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgconv_CFLAGS) $(CFLAGS) -c -o msgconv-msgconv.lo `test -f 'msgconv.c' || echo '$(srcdir)/'`msgconv.c + +msgen-msgen.o: msgen.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgen_CFLAGS) $(CFLAGS) -c -o msgen-msgen.o `test -f 'msgen.c' || echo '$(srcdir)/'`msgen.c + +msgen-msgen.obj: msgen.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgen_CFLAGS) $(CFLAGS) -c -o msgen-msgen.obj `if test -f 'msgen.c'; then $(CYGPATH_W) 'msgen.c'; else $(CYGPATH_W) '$(srcdir)/msgen.c'; fi` + +msgen-msgen.lo: msgen.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgen_CFLAGS) $(CFLAGS) -c -o msgen-msgen.lo `test -f 'msgen.c' || echo '$(srcdir)/'`msgen.c + +msgexec-msgexec.o: msgexec.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgexec_CFLAGS) $(CFLAGS) -c -o msgexec-msgexec.o `test -f 'msgexec.c' || echo '$(srcdir)/'`msgexec.c + +msgexec-msgexec.obj: msgexec.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgexec_CFLAGS) $(CFLAGS) -c -o msgexec-msgexec.obj `if test -f 'msgexec.c'; then $(CYGPATH_W) 'msgexec.c'; else $(CYGPATH_W) '$(srcdir)/msgexec.c'; fi` + +msgexec-msgexec.lo: msgexec.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgexec_CFLAGS) $(CFLAGS) -c -o msgexec-msgexec.lo `test -f 'msgexec.c' || echo '$(srcdir)/'`msgexec.c + +msgfilter-msgfilter.o: msgfilter.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfilter_CFLAGS) $(CFLAGS) -c -o msgfilter-msgfilter.o `test -f 'msgfilter.c' || echo '$(srcdir)/'`msgfilter.c + +msgfilter-msgfilter.obj: msgfilter.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfilter_CFLAGS) $(CFLAGS) -c -o msgfilter-msgfilter.obj `if test -f 'msgfilter.c'; then $(CYGPATH_W) 'msgfilter.c'; else $(CYGPATH_W) '$(srcdir)/msgfilter.c'; fi` + +msgfilter-msgfilter.lo: msgfilter.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfilter_CFLAGS) $(CFLAGS) -c -o msgfilter-msgfilter.lo `test -f 'msgfilter.c' || echo '$(srcdir)/'`msgfilter.c + +msgfmt-msgfmt.o: msgfmt.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-msgfmt.o `test -f 'msgfmt.c' || echo '$(srcdir)/'`msgfmt.c + +msgfmt-msgfmt.obj: msgfmt.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-msgfmt.obj `if test -f 'msgfmt.c'; then $(CYGPATH_W) 'msgfmt.c'; else $(CYGPATH_W) '$(srcdir)/msgfmt.c'; fi` + +msgfmt-msgfmt.lo: msgfmt.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-msgfmt.lo `test -f 'msgfmt.c' || echo '$(srcdir)/'`msgfmt.c + +msgfmt-write-mo.o: write-mo.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-mo.o `test -f 'write-mo.c' || echo '$(srcdir)/'`write-mo.c + +msgfmt-write-mo.obj: write-mo.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-mo.obj `if test -f 'write-mo.c'; then $(CYGPATH_W) 'write-mo.c'; else $(CYGPATH_W) '$(srcdir)/write-mo.c'; fi` + +msgfmt-write-mo.lo: write-mo.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-mo.lo `test -f 'write-mo.c' || echo '$(srcdir)/'`write-mo.c + +msgfmt-write-java.o: write-java.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-java.o `test -f 'write-java.c' || echo '$(srcdir)/'`write-java.c + +msgfmt-write-java.obj: write-java.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-java.obj `if test -f 'write-java.c'; then $(CYGPATH_W) 'write-java.c'; else $(CYGPATH_W) '$(srcdir)/write-java.c'; fi` + +msgfmt-write-java.lo: write-java.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-java.lo `test -f 'write-java.c' || echo '$(srcdir)/'`write-java.c + +msgfmt-write-tcl.o: write-tcl.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-tcl.o `test -f 'write-tcl.c' || echo '$(srcdir)/'`write-tcl.c + +msgfmt-write-tcl.obj: write-tcl.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-tcl.obj `if test -f 'write-tcl.c'; then $(CYGPATH_W) 'write-tcl.c'; else $(CYGPATH_W) '$(srcdir)/write-tcl.c'; fi` + +msgfmt-write-tcl.lo: write-tcl.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-write-tcl.lo `test -f 'write-tcl.c' || echo '$(srcdir)/'`write-tcl.c + +msgfmt-plural-eval.o: plural-eval.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-plural-eval.o `test -f 'plural-eval.c' || echo '$(srcdir)/'`plural-eval.c + +msgfmt-plural-eval.obj: plural-eval.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-plural-eval.obj `if test -f 'plural-eval.c'; then $(CYGPATH_W) 'plural-eval.c'; else $(CYGPATH_W) '$(srcdir)/plural-eval.c'; fi` + +msgfmt-plural-eval.lo: plural-eval.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgfmt_CFLAGS) $(CFLAGS) -c -o msgfmt-plural-eval.lo `test -f 'plural-eval.c' || echo '$(srcdir)/'`plural-eval.c + +msggrep-msggrep.o: msggrep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msggrep_CFLAGS) $(CFLAGS) -c -o msggrep-msggrep.o `test -f 'msggrep.c' || echo '$(srcdir)/'`msggrep.c + +msggrep-msggrep.obj: msggrep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msggrep_CFLAGS) $(CFLAGS) -c -o msggrep-msggrep.obj `if test -f 'msggrep.c'; then $(CYGPATH_W) 'msggrep.c'; else $(CYGPATH_W) '$(srcdir)/msggrep.c'; fi` + +msggrep-msggrep.lo: msggrep.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msggrep_CFLAGS) $(CFLAGS) -c -o msggrep-msggrep.lo `test -f 'msggrep.c' || echo '$(srcdir)/'`msggrep.c + +msginit-msginit.o: msginit.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msginit_CFLAGS) $(CFLAGS) -c -o msginit-msginit.o `test -f 'msginit.c' || echo '$(srcdir)/'`msginit.c + +msginit-msginit.obj: msginit.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msginit_CFLAGS) $(CFLAGS) -c -o msginit-msginit.obj `if test -f 'msginit.c'; then $(CYGPATH_W) 'msginit.c'; else $(CYGPATH_W) '$(srcdir)/msginit.c'; fi` + +msginit-msginit.lo: msginit.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msginit_CFLAGS) $(CFLAGS) -c -o msginit-msginit.lo `test -f 'msginit.c' || echo '$(srcdir)/'`msginit.c + +msginit-localealias.o: ../../gettext-runtime/intl/localealias.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msginit_CFLAGS) $(CFLAGS) -c -o msginit-localealias.o `test -f '../../gettext-runtime/intl/localealias.c' || echo '$(srcdir)/'`../../gettext-runtime/intl/localealias.c + +msginit-localealias.obj: ../../gettext-runtime/intl/localealias.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msginit_CFLAGS) $(CFLAGS) -c -o msginit-localealias.obj `if test -f '../../gettext-runtime/intl/localealias.c'; then $(CYGPATH_W) '../../gettext-runtime/intl/localealias.c'; else $(CYGPATH_W) '$(srcdir)/../../gettext-runtime/intl/localealias.c'; fi` + +msginit-localealias.lo: ../../gettext-runtime/intl/localealias.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msginit_CFLAGS) $(CFLAGS) -c -o msginit-localealias.lo `test -f '../../gettext-runtime/intl/localealias.c' || echo '$(srcdir)/'`../../gettext-runtime/intl/localealias.c + +msgmerge-msgmerge.o: msgmerge.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgmerge_CFLAGS) $(CFLAGS) -c -o msgmerge-msgmerge.o `test -f 'msgmerge.c' || echo '$(srcdir)/'`msgmerge.c + +msgmerge-msgmerge.obj: msgmerge.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgmerge_CFLAGS) $(CFLAGS) -c -o msgmerge-msgmerge.obj `if test -f 'msgmerge.c'; then $(CYGPATH_W) 'msgmerge.c'; else $(CYGPATH_W) '$(srcdir)/msgmerge.c'; fi` + +msgmerge-msgmerge.lo: msgmerge.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgmerge_CFLAGS) $(CFLAGS) -c -o msgmerge-msgmerge.lo `test -f 'msgmerge.c' || echo '$(srcdir)/'`msgmerge.c + +msgunfmt-msgunfmt.o: msgunfmt.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-msgunfmt.o `test -f 'msgunfmt.c' || echo '$(srcdir)/'`msgunfmt.c + +msgunfmt-msgunfmt.obj: msgunfmt.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-msgunfmt.obj `if test -f 'msgunfmt.c'; then $(CYGPATH_W) 'msgunfmt.c'; else $(CYGPATH_W) '$(srcdir)/msgunfmt.c'; fi` + +msgunfmt-msgunfmt.lo: msgunfmt.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-msgunfmt.lo `test -f 'msgunfmt.c' || echo '$(srcdir)/'`msgunfmt.c + +msgunfmt-read-mo.o: read-mo.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-mo.o `test -f 'read-mo.c' || echo '$(srcdir)/'`read-mo.c + +msgunfmt-read-mo.obj: read-mo.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-mo.obj `if test -f 'read-mo.c'; then $(CYGPATH_W) 'read-mo.c'; else $(CYGPATH_W) '$(srcdir)/read-mo.c'; fi` + +msgunfmt-read-mo.lo: read-mo.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-mo.lo `test -f 'read-mo.c' || echo '$(srcdir)/'`read-mo.c + +msgunfmt-read-java.o: read-java.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-java.o `test -f 'read-java.c' || echo '$(srcdir)/'`read-java.c + +msgunfmt-read-java.obj: read-java.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-java.obj `if test -f 'read-java.c'; then $(CYGPATH_W) 'read-java.c'; else $(CYGPATH_W) '$(srcdir)/read-java.c'; fi` + +msgunfmt-read-java.lo: read-java.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-java.lo `test -f 'read-java.c' || echo '$(srcdir)/'`read-java.c + +msgunfmt-read-tcl.o: read-tcl.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-tcl.o `test -f 'read-tcl.c' || echo '$(srcdir)/'`read-tcl.c + +msgunfmt-read-tcl.obj: read-tcl.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-tcl.obj `if test -f 'read-tcl.c'; then $(CYGPATH_W) 'read-tcl.c'; else $(CYGPATH_W) '$(srcdir)/read-tcl.c'; fi` + +msgunfmt-read-tcl.lo: read-tcl.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msgunfmt_CFLAGS) $(CFLAGS) -c -o msgunfmt-read-tcl.lo `test -f 'read-tcl.c' || echo '$(srcdir)/'`read-tcl.c + +msguniq-msguniq.o: msguniq.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msguniq_CFLAGS) $(CFLAGS) -c -o msguniq-msguniq.o `test -f 'msguniq.c' || echo '$(srcdir)/'`msguniq.c + +msguniq-msguniq.obj: msguniq.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msguniq_CFLAGS) $(CFLAGS) -c -o msguniq-msguniq.obj `if test -f 'msguniq.c'; then $(CYGPATH_W) 'msguniq.c'; else $(CYGPATH_W) '$(srcdir)/msguniq.c'; fi` + +msguniq-msguniq.lo: msguniq.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(msguniq_CFLAGS) $(CFLAGS) -c -o msguniq-msguniq.lo `test -f 'msguniq.c' || echo '$(srcdir)/'`msguniq.c + +urlget-urlget.o: urlget.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(urlget_CFLAGS) $(CFLAGS) -c -o urlget-urlget.o `test -f 'urlget.c' || echo '$(srcdir)/'`urlget.c + +urlget-urlget.obj: urlget.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(urlget_CFLAGS) $(CFLAGS) -c -o urlget-urlget.obj `if test -f 'urlget.c'; then $(CYGPATH_W) 'urlget.c'; else $(CYGPATH_W) '$(srcdir)/urlget.c'; fi` + +urlget-urlget.lo: urlget.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(urlget_CFLAGS) $(CFLAGS) -c -o urlget-urlget.lo `test -f 'urlget.c' || echo '$(srcdir)/'`urlget.c + +xgettext-xgettext.o: xgettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-xgettext.o `test -f 'xgettext.c' || echo '$(srcdir)/'`xgettext.c + +xgettext-xgettext.obj: xgettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-xgettext.obj `if test -f 'xgettext.c'; then $(CYGPATH_W) 'xgettext.c'; else $(CYGPATH_W) '$(srcdir)/xgettext.c'; fi` + +xgettext-xgettext.lo: xgettext.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-xgettext.lo `test -f 'xgettext.c' || echo '$(srcdir)/'`xgettext.c + +xgettext-x-c.o: x-c.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-c.o `test -f 'x-c.c' || echo '$(srcdir)/'`x-c.c + +xgettext-x-c.obj: x-c.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-c.obj `if test -f 'x-c.c'; then $(CYGPATH_W) 'x-c.c'; else $(CYGPATH_W) '$(srcdir)/x-c.c'; fi` + +xgettext-x-c.lo: x-c.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-c.lo `test -f 'x-c.c' || echo '$(srcdir)/'`x-c.c + +xgettext-x-po.o: x-po.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-po.o `test -f 'x-po.c' || echo '$(srcdir)/'`x-po.c + +xgettext-x-po.obj: x-po.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-po.obj `if test -f 'x-po.c'; then $(CYGPATH_W) 'x-po.c'; else $(CYGPATH_W) '$(srcdir)/x-po.c'; fi` + +xgettext-x-po.lo: x-po.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-po.lo `test -f 'x-po.c' || echo '$(srcdir)/'`x-po.c + +xgettext-x-python.o: x-python.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-python.o `test -f 'x-python.c' || echo '$(srcdir)/'`x-python.c + +xgettext-x-python.obj: x-python.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-python.obj `if test -f 'x-python.c'; then $(CYGPATH_W) 'x-python.c'; else $(CYGPATH_W) '$(srcdir)/x-python.c'; fi` + +xgettext-x-python.lo: x-python.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-python.lo `test -f 'x-python.c' || echo '$(srcdir)/'`x-python.c + +xgettext-x-lisp.o: x-lisp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-lisp.o `test -f 'x-lisp.c' || echo '$(srcdir)/'`x-lisp.c + +xgettext-x-lisp.obj: x-lisp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-lisp.obj `if test -f 'x-lisp.c'; then $(CYGPATH_W) 'x-lisp.c'; else $(CYGPATH_W) '$(srcdir)/x-lisp.c'; fi` + +xgettext-x-lisp.lo: x-lisp.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-lisp.lo `test -f 'x-lisp.c' || echo '$(srcdir)/'`x-lisp.c + +xgettext-x-elisp.o: x-elisp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-elisp.o `test -f 'x-elisp.c' || echo '$(srcdir)/'`x-elisp.c + +xgettext-x-elisp.obj: x-elisp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-elisp.obj `if test -f 'x-elisp.c'; then $(CYGPATH_W) 'x-elisp.c'; else $(CYGPATH_W) '$(srcdir)/x-elisp.c'; fi` + +xgettext-x-elisp.lo: x-elisp.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-elisp.lo `test -f 'x-elisp.c' || echo '$(srcdir)/'`x-elisp.c + +xgettext-x-librep.o: x-librep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-librep.o `test -f 'x-librep.c' || echo '$(srcdir)/'`x-librep.c + +xgettext-x-librep.obj: x-librep.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-librep.obj `if test -f 'x-librep.c'; then $(CYGPATH_W) 'x-librep.c'; else $(CYGPATH_W) '$(srcdir)/x-librep.c'; fi` + +xgettext-x-librep.lo: x-librep.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-librep.lo `test -f 'x-librep.c' || echo '$(srcdir)/'`x-librep.c + +xgettext-x-smalltalk.o: x-smalltalk.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-smalltalk.o `test -f 'x-smalltalk.c' || echo '$(srcdir)/'`x-smalltalk.c + +xgettext-x-smalltalk.obj: x-smalltalk.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-smalltalk.obj `if test -f 'x-smalltalk.c'; then $(CYGPATH_W) 'x-smalltalk.c'; else $(CYGPATH_W) '$(srcdir)/x-smalltalk.c'; fi` + +xgettext-x-smalltalk.lo: x-smalltalk.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-smalltalk.lo `test -f 'x-smalltalk.c' || echo '$(srcdir)/'`x-smalltalk.c + +xgettext-x-java.o: x-java.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-java.o `test -f 'x-java.c' || echo '$(srcdir)/'`x-java.c + +xgettext-x-java.obj: x-java.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-java.obj `if test -f 'x-java.c'; then $(CYGPATH_W) 'x-java.c'; else $(CYGPATH_W) '$(srcdir)/x-java.c'; fi` + +xgettext-x-java.lo: x-java.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-java.lo `test -f 'x-java.c' || echo '$(srcdir)/'`x-java.c + +xgettext-x-awk.o: x-awk.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-awk.o `test -f 'x-awk.c' || echo '$(srcdir)/'`x-awk.c + +xgettext-x-awk.obj: x-awk.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-awk.obj `if test -f 'x-awk.c'; then $(CYGPATH_W) 'x-awk.c'; else $(CYGPATH_W) '$(srcdir)/x-awk.c'; fi` + +xgettext-x-awk.lo: x-awk.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-awk.lo `test -f 'x-awk.c' || echo '$(srcdir)/'`x-awk.c + +xgettext-x-ycp.o: x-ycp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-ycp.o `test -f 'x-ycp.c' || echo '$(srcdir)/'`x-ycp.c + +xgettext-x-ycp.obj: x-ycp.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-ycp.obj `if test -f 'x-ycp.c'; then $(CYGPATH_W) 'x-ycp.c'; else $(CYGPATH_W) '$(srcdir)/x-ycp.c'; fi` + +xgettext-x-ycp.lo: x-ycp.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-ycp.lo `test -f 'x-ycp.c' || echo '$(srcdir)/'`x-ycp.c + +xgettext-x-tcl.o: x-tcl.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-tcl.o `test -f 'x-tcl.c' || echo '$(srcdir)/'`x-tcl.c + +xgettext-x-tcl.obj: x-tcl.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-tcl.obj `if test -f 'x-tcl.c'; then $(CYGPATH_W) 'x-tcl.c'; else $(CYGPATH_W) '$(srcdir)/x-tcl.c'; fi` + +xgettext-x-tcl.lo: x-tcl.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-tcl.lo `test -f 'x-tcl.c' || echo '$(srcdir)/'`x-tcl.c + +xgettext-x-php.o: x-php.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-php.o `test -f 'x-php.c' || echo '$(srcdir)/'`x-php.c + +xgettext-x-php.obj: x-php.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-php.obj `if test -f 'x-php.c'; then $(CYGPATH_W) 'x-php.c'; else $(CYGPATH_W) '$(srcdir)/x-php.c'; fi` + +xgettext-x-php.lo: x-php.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-php.lo `test -f 'x-php.c' || echo '$(srcdir)/'`x-php.c + +xgettext-x-rst.o: x-rst.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-rst.o `test -f 'x-rst.c' || echo '$(srcdir)/'`x-rst.c + +xgettext-x-rst.obj: x-rst.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-rst.obj `if test -f 'x-rst.c'; then $(CYGPATH_W) 'x-rst.c'; else $(CYGPATH_W) '$(srcdir)/x-rst.c'; fi` + +xgettext-x-rst.lo: x-rst.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-rst.lo `test -f 'x-rst.c' || echo '$(srcdir)/'`x-rst.c + +xgettext-x-glade.o: x-glade.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-glade.o `test -f 'x-glade.c' || echo '$(srcdir)/'`x-glade.c + +xgettext-x-glade.obj: x-glade.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-glade.obj `if test -f 'x-glade.c'; then $(CYGPATH_W) 'x-glade.c'; else $(CYGPATH_W) '$(srcdir)/x-glade.c'; fi` + +xgettext-x-glade.lo: x-glade.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xgettext_CFLAGS) $(CFLAGS) -c -o xgettext-x-glade.lo `test -f 'x-glade.c' || echo '$(srcdir)/'`x-glade.c + .l.c: $(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$< sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@ @@ -777,6 +1191,9 @@ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local install-binPROGRAMS: install-libLTLIBRARIES +installdirs: installdirs-local + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) + install: install-am install-exec: install-exec-am install-data: install-data-am @@ -881,12 +1298,19 @@ install-exec-clean: po-lex.o po-lex.lo: po-gram-gen2.h po-gram-gen2.h: po-gram-gen.h - $(SED) 's/[yY][yY]/po_gram_/g' $(srcdir)/po-gram-gen.h > $@-tmp + $(SED) 's/yy/po_gram_/g' $(srcdir)/po-gram-gen.h > $@-tmp mv $@-tmp $@ +# We must add the '#include ' here, not inside x-java.l, +# because on VMS, must be included before . x-java.c: x-java.l - $(LEX) -o$@-tmp -Px_java_yy $(srcdir)/x-java.l - test "$(LEX)" = ":" || mv $@-tmp $@ + test "$(LEX)" = ":" || { \ + $(LEX) -o$@-tmp -Px_java_yy $(srcdir)/x-java.l && \ + (echo '#ifdef VMS'; echo '#include '; echo '#endif'; \ + cat $@-tmp) > $@-tmq && \ + rm -f $@-tmp && \ + mv $@-tmq $@ ; \ + } # Special rules for installation of auxiliary programs. @@ -930,8 +1354,8 @@ gettext.jar: gnu/gettext/DumpResource.class gnu/gettext/GetURL.class install-exec-local: install-exec-java-@BUILDJAVAEXE@ install-exec-java-yes: all-java-yes $(mkinstalldirs) $(DESTDIR)$(pkglibdir) - $(INSTALL_PROGRAM) gnu.gettext.DumpResource$(EXEEXT) $(DESTDIR)$(pkglibdir)/gnu.gettext.DumpResource$(EXEEXT) - $(INSTALL_PROGRAM) gnu.gettext.GetURL$(EXEEXT) $(DESTDIR)$(pkglibdir)/gnu.gettext.GetURL$(EXEEXT) + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) gnu.gettext.DumpResource$(EXEEXT) $(DESTDIR)$(pkglibdir)/gnu.gettext.DumpResource$(EXEEXT) + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) gnu.gettext.GetURL$(EXEEXT) $(DESTDIR)$(pkglibdir)/gnu.gettext.GetURL$(EXEEXT) install-exec-java-no: install-data-local: install-data-java-@BUILDJAVAEXE@ @@ -970,9 +1394,7 @@ installdirs-tcl: uninstall-local: uninstall-tcl uninstall-tcl: $(RM) $(DESTDIR)$(pkgdatadir)/msgunfmt.tcl - -# One more automake bug. -installdirs: installdirs-local +@SET_RELOCATABLE@ # 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/gettext-tools/src/po-gram-gen.c b/gettext-tools/src/po-gram-gen.c index 641446727..ac1d93d33 100644 --- a/gettext-tools/src/po-gram-gen.c +++ b/gettext-tools/src/po-gram-gen.c @@ -22,16 +22,18 @@ /* Specification. */ #include "po-gram.h" +#include #include #include #include #include "str-list.h" #include "po-lex.h" +#include "po-charset.h" #include "error.h" #include "xmalloc.h" #include "gettext.h" -#include "po.h" +#include "read-po-abstract.h" #define _(str) gettext (str) @@ -88,8 +90,22 @@ static long plural_counter; if ((value1).obsolete != (value2).obsolete) \ po_gram_error_at_line (&(value2).pos, _("inconsistent use of #~")); +static inline void +do_callback_message (char *msgid, lex_pos_ty *msgid_pos, char *msgid_plural, + char *msgstr, size_t msgstr_len, lex_pos_ty *msgstr_pos, + bool obsolete) +{ + /* Test for header entry. Ignore fuzziness of the header entry. */ + if (msgid[0] == '\0' && !obsolete) + po_lex_charset_set (msgstr, gram_pos.file_name); + + po_callback_message (msgid, msgid_pos, msgid_plural, + msgstr, msgstr_len, msgstr_pos, + false, obsolete); +} -#line 107 "po-gram-gen.y" + +#line 123 "po-gram-gen.y" #ifndef YYSTYPE typedef union { @@ -169,8 +185,8 @@ static const short yyrhs[] = /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const short yyrline[] = { - 0, 127, 128, 129, 130, 131, 135, 142, 160, 178, - 186, 194, 203, 214, 218, 233, 255, 262, 273 + 0, 143, 144, 145, 146, 147, 151, 158, 176, 194, + 202, 210, 219, 230, 234, 249, 271, 278, 289 }; #endif @@ -953,13 +969,13 @@ yyreduce: switch (yyn) { case 6: -#line 136 "po-gram-gen.y" +#line 152 "po-gram-gen.y" { po_callback_domain (yyvsp[0].string.string); } break; case 7: -#line 143 "po-gram-gen.y" +#line 159 "po-gram-gen.y" { char *string2 = string_list_concat_destroy (&yyvsp[-2].stringlist.stringlist); char *string4 = string_list_concat_destroy (&yyvsp[0].stringlist.stringlist); @@ -968,7 +984,7 @@ case 7: check_obsolete (yyvsp[-3].pos, yyvsp[-1].pos); check_obsolete (yyvsp[-3].pos, yyvsp[0].stringlist); if (!yyvsp[-3].pos.obsolete || pass_obsolete_entries) - po_callback_message (string2, &yyvsp[-3].pos.pos, NULL, + do_callback_message (string2, &yyvsp[-3].pos.pos, NULL, string4, strlen (string4) + 1, &yyvsp[-1].pos.pos, yyvsp[-3].pos.obsolete); else @@ -979,7 +995,7 @@ case 7: } break; case 8: -#line 161 "po-gram-gen.y" +#line 177 "po-gram-gen.y" { char *string2 = string_list_concat_destroy (&yyvsp[-2].stringlist.stringlist); @@ -987,7 +1003,7 @@ case 8: check_obsolete (yyvsp[-3].pos, yyvsp[-1].string); check_obsolete (yyvsp[-3].pos, yyvsp[0].rhs); if (!yyvsp[-3].pos.obsolete || pass_obsolete_entries) - po_callback_message (string2, &yyvsp[-3].pos.pos, yyvsp[-1].string.string, + do_callback_message (string2, &yyvsp[-3].pos.pos, yyvsp[-1].string.string, yyvsp[0].rhs.rhs.msgstr, yyvsp[0].rhs.rhs.msgstr_len, &yyvsp[0].rhs.pos, yyvsp[-3].pos.obsolete); else @@ -999,7 +1015,7 @@ case 8: } break; case 9: -#line 179 "po-gram-gen.y" +#line 195 "po-gram-gen.y" { check_obsolete (yyvsp[-2].pos, yyvsp[-1].stringlist); check_obsolete (yyvsp[-2].pos, yyvsp[0].string); @@ -1009,7 +1025,7 @@ case 9: } break; case 10: -#line 187 "po-gram-gen.y" +#line 203 "po-gram-gen.y" { check_obsolete (yyvsp[-2].pos, yyvsp[-1].stringlist); check_obsolete (yyvsp[-2].pos, yyvsp[0].rhs); @@ -1019,7 +1035,7 @@ case 10: } break; case 11: -#line 195 "po-gram-gen.y" +#line 211 "po-gram-gen.y" { check_obsolete (yyvsp[-1].pos, yyvsp[0].stringlist); po_gram_error_at_line (&yyvsp[-1].pos.pos, _("missing `msgstr' section")); @@ -1027,7 +1043,7 @@ case 11: } break; case 12: -#line 204 "po-gram-gen.y" +#line 220 "po-gram-gen.y" { check_obsolete (yyvsp[-1].pos, yyvsp[0].stringlist); plural_counter = 0; @@ -1037,13 +1053,13 @@ case 12: } break; case 13: -#line 215 "po-gram-gen.y" +#line 231 "po-gram-gen.y" { yyval.rhs = yyvsp[0].rhs; } break; case 14: -#line 219 "po-gram-gen.y" +#line 235 "po-gram-gen.y" { check_obsolete (yyvsp[-1].rhs, yyvsp[0].rhs); yyval.rhs.rhs.msgstr = (char *) xmalloc (yyvsp[-1].rhs.rhs.msgstr_len + yyvsp[0].rhs.rhs.msgstr_len); @@ -1057,7 +1073,7 @@ case 14: } break; case 15: -#line 234 "po-gram-gen.y" +#line 250 "po-gram-gen.y" { check_obsolete (yyvsp[-4].pos, yyvsp[-3].pos); check_obsolete (yyvsp[-4].pos, yyvsp[-2].number); @@ -1078,7 +1094,7 @@ case 15: } break; case 16: -#line 256 "po-gram-gen.y" +#line 272 "po-gram-gen.y" { string_list_init (&yyval.stringlist.stringlist); string_list_append (&yyval.stringlist.stringlist, yyvsp[0].string.string); @@ -1087,7 +1103,7 @@ case 16: } break; case 17: -#line 263 "po-gram-gen.y" +#line 279 "po-gram-gen.y" { check_obsolete (yyvsp[-1].stringlist, yyvsp[0].string); yyval.stringlist.stringlist = yyvsp[-1].stringlist.stringlist; @@ -1097,7 +1113,7 @@ case 17: } break; case 18: -#line 274 "po-gram-gen.y" +#line 290 "po-gram-gen.y" { po_callback_comment (yyvsp[0].string.string); } @@ -1335,4 +1351,4 @@ yyreturn: #endif return yyresult; } -#line 278 "po-gram-gen.y" +#line 294 "po-gram-gen.y" diff --git a/gettext-tools/src/po-hash-gen.c b/gettext-tools/src/po-hash-gen.c index 24dd152e4..545d4c057 100644 --- a/gettext-tools/src/po-hash-gen.c +++ b/gettext-tools/src/po-hash-gen.c @@ -35,7 +35,7 @@ #include #include "xmalloc.h" -#include "po.h" +#include "read-po-abstract.h" /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), as well as gratuitiously global symbol names, so we can have multiple @@ -1362,7 +1362,7 @@ yylex () /* Analyze whether the string (a pseudo-comment line) contains file names and line numbers. */ int -po_hash (const char *s) +po_parse_comment_filepos (const char *s) { cur = s; last_was_colon = false; diff --git a/gettext-tools/src/x-java.c b/gettext-tools/src/x-java.c index 60c3d83b2..ac8bf2858 100644 --- a/gettext-tools/src/x-java.c +++ b/gettext-tools/src/x-java.c @@ -1,3 +1,6 @@ +#ifdef VMS +#include +#endif #define yy_create_buffer x_java_yy_create_buffer #define yy_delete_buffer x_java_yy_delete_buffer #define yy_scan_buffer x_java_yy_scan_buffer diff --git a/gettext-tools/tests/Makefile.in b/gettext-tools/tests/Makefile.in index fe7168c2d..5d4d0397e 100644 --- a/gettext-tools/tests/Makefile.in +++ b/gettext-tools/tests/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. +# Makefile.in generated by automake 1.7.3 from Makefile.am. # @configure_input@ -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -42,6 +42,8 @@ ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -59,11 +61,14 @@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DVIPS = @DVIPS@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ @@ -72,6 +77,8 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ GCJ = @GCJ@ GCJFLAGS = @GCJFLAGS@ GENCAT = @GENCAT@ @@ -108,7 +115,6 @@ JAVA = @JAVA@ JAVAC = @JAVAC@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBEXPAT = @LIBEXPAT@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ @@ -125,6 +131,7 @@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -136,7 +143,11 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RELOCATABLE_VIA_LD_FALSE = @RELOCATABLE_VIA_LD_FALSE@ +RELOCATABLE_VIA_LD_TRUE = @RELOCATABLE_VIA_LD_TRUE@ SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ SHELL = @SHELL@ STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ @@ -148,13 +159,22 @@ VERSION = @VERSION@ XGETTEXT = ../src/xgettext YACC = @YACC@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_AS = @ac_ct_AS@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ aclocaldir = @aclocaldir@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ +am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ @@ -187,35 +207,45 @@ target_alias = @target_alias@ AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies + +# VMS support. + +# Woe32 support. +EXTRA_DIST = $(TESTS) \ + test.mo xg-test1.ok.po mex-test2.ok msguniq-a.in msguniq-a.inp \ + msguniq-a.out ChangeLog.0\ +Makefile.vms Makefile.msvc + TESTS = gettext-1 gettext-2 \ msgattrib-1 msgattrib-2 msgattrib-3 msgattrib-4 msgattrib-5 \ msgattrib-6 msgattrib-7 msgattrib-8 msgattrib-9 msgattrib-10 \ - msgattrib-11 msgattrib-12 msgattrib-13 msgattrib-14 \ + msgattrib-11 msgattrib-12 msgattrib-13 msgattrib-14 msgattrib-15 \ msgcat-1 msgcat-2 msgcat-3 msgcat-4 msgcat-5 msgcat-6 msgcat-7 \ - msgcat-8 msgcat-9 msgcat-10 \ - msgcmp-1 msgcmp-2 \ + msgcat-8 msgcat-9 msgcat-10 msgcat-11 msgcat-12 \ + msgcmp-1 msgcmp-2 msgcmp-3 \ msgcomm-1 msgcomm-2 msgcomm-3 msgcomm-4 msgcomm-5 msgcomm-6 msgcomm-7 \ msgcomm-8 msgcomm-9 msgcomm-10 msgcomm-11 msgcomm-12 msgcomm-13 \ msgcomm-14 msgcomm-15 msgcomm-16 msgcomm-17 msgcomm-18 msgcomm-19 \ - msgcomm-20 msgcomm-21 msgcomm-22 msgcomm-23 \ - msgconv-1 msgconv-2 msgconv-3 \ - msgen-1 \ - msgexec-1 msgexec-2 \ - msgfilter-1 msgfilter-2 \ + msgcomm-20 msgcomm-21 msgcomm-22 msgcomm-23 msgcomm-24 \ + msgconv-1 msgconv-2 msgconv-3 msgconv-4 \ + msgen-1 msgen-2 \ + msgexec-1 msgexec-2 msgexec-3 \ + msgfilter-1 msgfilter-2 msgfilter-3 \ msgfmt-1 msgfmt-2 msgfmt-3 msgfmt-4 msgfmt-5 msgfmt-6 msgfmt-7 \ - msgfmt-8 msgfmt-9 msgfmt-10 msgfmt-11 msgfmt-12 \ - msggrep-1 msggrep-2 msggrep-3 msggrep-4 msggrep-5 \ + msgfmt-8 msgfmt-9 msgfmt-10 msgfmt-11 msgfmt-12 msgfmt-13 \ + msggrep-1 msggrep-2 msggrep-3 msggrep-4 msggrep-5 msggrep-6 \ msgmerge-1 msgmerge-2 msgmerge-3 msgmerge-4 msgmerge-5 msgmerge-6 \ msgmerge-7 msgmerge-8 msgmerge-9 msgmerge-10 msgmerge-11 msgmerge-12 \ msgmerge-13 msgmerge-14 msgmerge-15 msgmerge-16 msgmerge-17 \ msgmerge-18 msgmerge-19 msgmerge-20 msgmerge-21 msgmerge-22 \ - msgunfmt-1 msgunfmt-2 msgunfmt-3 \ - msguniq-1 msguniq-2 msguniq-3 \ + msgmerge-23 msgmerge-24 \ + msgunfmt-1 msgunfmt-2 msgunfmt-3 msgunfmt-4 \ + msguniq-1 msguniq-2 msguniq-3 msguniq-4 \ xgettext-1 xgettext-2 xgettext-3 xgettext-4 xgettext-5 xgettext-6 \ xgettext-7 xgettext-8 xgettext-9 xgettext-10 xgettext-11 xgettext-12 \ xgettext-13 xgettext-14 xgettext-15 xgettext-16 xgettext-17 \ xgettext-18 xgettext-19 xgettext-20 xgettext-21 xgettext-22 \ - xgettext-23 \ + xgettext-23 xgettext-24 \ format-awk-1 format-awk-2 \ format-c-1 format-c-2 format-c-3 format-c-4 \ format-elisp-1 format-elisp-2 \ @@ -228,34 +258,33 @@ TESTS = gettext-1 gettext-2 \ format-tcl-1 format-tcl-2 \ format-ycp-1 format-ycp-2 \ plural-1 plural-2 \ - lang-c lang-c++ lang-objc lang-python lang-clisp \ + lang-c lang-c++ lang-objc lang-python-1 lang-python-2 lang-clisp \ lang-elisp lang-librep lang-smalltalk lang-java lang-gawk lang-pascal \ lang-ycp lang-tcl lang-php lang-po \ lang-rst -EXTRA_DIST = $(TESTS) \ - test.mo xg-test1.ok.po mex-test2.ok msguniq-a.in msguniq-a.out \ - ChangeLog.0 - +# For debugging memory leaks and memory allocation bugs. +CHECKER = +#CHECKER = valgrind --num-callers=20 --leak-check=yes --leak-resolution=high --show-reachable=yes TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) PATH=.:../src:$$PATH \ - GETTEXT=tstgettext \ - NGETTEXT=tstngettext \ - XGETTEXT=xgettext \ - MSGATTRIB=msgattrib \ - MSGCAT=msgcat \ - MSGCMP=msgcmp \ - MSGCOMM=msgcomm \ - MSGCONV=msgconv \ - MSGEN=msgen \ - MSGEXEC=msgexec \ - MSGFILTER=msgfilter \ - MSGFMT=msgfmt \ - MSGGREP=msggrep \ - MSGMERGE=msgmerge \ - MSGUNFMT=msgunfmt \ - MSGUNIQ=msguniq \ + GETTEXT="$(CHECKER) tstgettext" \ + NGETTEXT="$(CHECKER) tstngettext" \ + XGETTEXT="$(CHECKER) xgettext" \ + MSGATTRIB="$(CHECKER) msgattrib" \ + MSGCAT="$(CHECKER) msgcat" \ + MSGCMP="$(CHECKER) msgcmp" \ + MSGCOMM="$(CHECKER) msgcomm" \ + MSGCONV="$(CHECKER) msgconv" \ + MSGEN="$(CHECKER) msgen" \ + MSGEXEC="$(CHECKER) msgexec" \ + MSGFILTER="$(CHECKER) msgfilter" \ + MSGFMT="$(CHECKER) msgfmt" \ + MSGGREP="$(CHECKER) msggrep" \ + MSGMERGE="$(CHECKER) msgmerge" \ + MSGUNFMT="$(CHECKER) msgunfmt" \ + MSGUNIQ="$(CHECKER) msguniq" \ OBJEXT='@OBJEXT@' EXEEXT='@EXEEXT@' \ LIBTOOL='@LIBTOOL@' \ CC='@CC@' CFLAGS='@CFLAGS@' \ @@ -268,18 +297,21 @@ TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) PATH=.:../src:$$PATH \ # Three auxiliary programs used by the tests. +localedir = $(datadir)/locale INCLUDES = \ -I.. \ -I../lib -I$(top_srcdir)/lib \ - -I$(top_srcdir)/../gettext-runtime/intl + -I../intl LDADD = $(LDADD_@USE_INCLUDED_LIBINTL@) LDADD_yes = ../intl/libintl.la LDADD_no = ../intl/libgnuintl.la @LTLIBINTL@ noinst_PROGRAMS = tstgettext tstngettext cake fc3 fc4 tstgettext_SOURCES = tstgettext.c setlocale.c +tstgettext_CFLAGS = -DINSTALLDIR=\".\" tstgettext_LDADD = ../lib/libgettextlib.la $(LDADD) tstngettext_SOURCES = tstngettext.c setlocale.c +tstngettext_CFLAGS = -DINSTALLDIR=\".\" tstngettext_LDADD = ../lib/libgettextlib.la $(LDADD) cake_SOURCES = plural-1-prg.c setlocale.c cake_LDADD = ../lib/libgettextlib.la $(LDADD) @@ -307,11 +339,13 @@ am_fc4_OBJECTS = format-c-4-prg.$(OBJEXT) setlocale.$(OBJEXT) fc4_OBJECTS = $(am_fc4_OBJECTS) fc4_DEPENDENCIES = ../lib/libgettextlib.la fc4_LDFLAGS = -am_tstgettext_OBJECTS = tstgettext.$(OBJEXT) setlocale.$(OBJEXT) +am_tstgettext_OBJECTS = tstgettext-tstgettext.$(OBJEXT) \ + tstgettext-setlocale.$(OBJEXT) tstgettext_OBJECTS = $(am_tstgettext_OBJECTS) tstgettext_DEPENDENCIES = ../lib/libgettextlib.la tstgettext_LDFLAGS = -am_tstngettext_OBJECTS = tstngettext.$(OBJEXT) setlocale.$(OBJEXT) +am_tstngettext_OBJECTS = tstngettext-tstngettext.$(OBJEXT) \ + tstngettext-setlocale.$(OBJEXT) tstngettext_OBJECTS = $(am_tstngettext_OBJECTS) tstngettext_DEPENDENCIES = ../lib/libgettextlib.la tstngettext_LDFLAGS = @@ -378,6 +412,42 @@ distclean-compile: .c.lo: $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< +tstgettext-tstgettext.o: tstgettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstgettext_CFLAGS) $(CFLAGS) -c -o tstgettext-tstgettext.o `test -f 'tstgettext.c' || echo '$(srcdir)/'`tstgettext.c + +tstgettext-tstgettext.obj: tstgettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstgettext_CFLAGS) $(CFLAGS) -c -o tstgettext-tstgettext.obj `if test -f 'tstgettext.c'; then $(CYGPATH_W) 'tstgettext.c'; else $(CYGPATH_W) '$(srcdir)/tstgettext.c'; fi` + +tstgettext-tstgettext.lo: tstgettext.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstgettext_CFLAGS) $(CFLAGS) -c -o tstgettext-tstgettext.lo `test -f 'tstgettext.c' || echo '$(srcdir)/'`tstgettext.c + +tstgettext-setlocale.o: setlocale.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstgettext_CFLAGS) $(CFLAGS) -c -o tstgettext-setlocale.o `test -f 'setlocale.c' || echo '$(srcdir)/'`setlocale.c + +tstgettext-setlocale.obj: setlocale.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstgettext_CFLAGS) $(CFLAGS) -c -o tstgettext-setlocale.obj `if test -f 'setlocale.c'; then $(CYGPATH_W) 'setlocale.c'; else $(CYGPATH_W) '$(srcdir)/setlocale.c'; fi` + +tstgettext-setlocale.lo: setlocale.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstgettext_CFLAGS) $(CFLAGS) -c -o tstgettext-setlocale.lo `test -f 'setlocale.c' || echo '$(srcdir)/'`setlocale.c + +tstngettext-tstngettext.o: tstngettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstngettext_CFLAGS) $(CFLAGS) -c -o tstngettext-tstngettext.o `test -f 'tstngettext.c' || echo '$(srcdir)/'`tstngettext.c + +tstngettext-tstngettext.obj: tstngettext.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstngettext_CFLAGS) $(CFLAGS) -c -o tstngettext-tstngettext.obj `if test -f 'tstngettext.c'; then $(CYGPATH_W) 'tstngettext.c'; else $(CYGPATH_W) '$(srcdir)/tstngettext.c'; fi` + +tstngettext-tstngettext.lo: tstngettext.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstngettext_CFLAGS) $(CFLAGS) -c -o tstngettext-tstngettext.lo `test -f 'tstngettext.c' || echo '$(srcdir)/'`tstngettext.c + +tstngettext-setlocale.o: setlocale.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstngettext_CFLAGS) $(CFLAGS) -c -o tstngettext-setlocale.o `test -f 'setlocale.c' || echo '$(srcdir)/'`setlocale.c + +tstngettext-setlocale.obj: setlocale.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstngettext_CFLAGS) $(CFLAGS) -c -o tstngettext-setlocale.obj `if test -f 'setlocale.c'; then $(CYGPATH_W) 'setlocale.c'; else $(CYGPATH_W) '$(srcdir)/setlocale.c'; fi` + +tstngettext-setlocale.lo: setlocale.c + $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tstngettext_CFLAGS) $(CFLAGS) -c -o tstngettext-setlocale.lo `test -f 'setlocale.c' || echo '$(srcdir)/'`setlocale.c + mostlyclean-libtool: -rm -f *.lo diff --git a/gettext-tools/tests/xg-test1.ok.po b/gettext-tools/tests/xg-test1.ok.po index a3cb9e9bd..59c470fe8 100644 --- a/gettext-tools/tests/xg-test1.ok.po +++ b/gettext-tools/tests/xg-test1.ok.po @@ -42,11 +42,10 @@ msgstr "" msgid "Try `%s --help' for more information.\n" msgstr "" -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] [INPUTFILE]...\n" msgstr "" -#, no-wrap msgid "Extract translatable strings from given input files.\n" msgstr "" @@ -56,90 +55,179 @@ msgid "" "Similarly for optional arguments.\n" msgstr "" -#, no-wrap +msgid "Input file location:\n" +msgstr "" + +msgid " INPUTFILE ... input files\n" +msgstr "" + +msgid " -f, --files-from=FILE get list of input files from FILE\n" +msgstr "" + msgid "" -"Input file location:\n" -" INPUTFILE ... input files\n" -" -f, --files-from=FILE get list of input files from FILE\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" +msgstr "" + +msgid "If input file is -, standard input is read.\n" +msgstr "" + +msgid "Output file location:\n" msgstr "" -#, no-wrap msgid "" -"Output file location:\n" -" -d, --default-domain=NAME use NAME.po for output (instead of messages.po)\n" -" -o, --output=FILE write output to specified file\n" -" -p, --output-dir=DIR output files will be placed in directory DIR\n" -"If output file is -, output is written to standard output.\n" +" -d, --default-domain=NAME use NAME.po for output (instead of messages." +"po)\n" +msgstr "" + +msgid " -o, --output=FILE write output to specified file\n" msgstr "" -#, no-wrap msgid "" -"Choice of input file language:\n" -" -L, --language=NAME recognise the specified language\n" -" (C, C++, ObjectiveC, PO, Python, Lisp,\n" -" EmacsLisp, librep, Smalltalk, Java, awk,\n" -" YCP, Tcl, PHP, RST, Glade)\n" -" -C, --c++ shorthand for --language=C++\n" -"By default the language is guessed depending on the input file name extension.\n" +" -p, --output-dir=DIR output files will be placed in directory DIR\n" +msgstr "" + +msgid "If output file is -, output is written to standard output.\n" +msgstr "" + +msgid "Choice of input file language:\n" msgstr "" -#, no-wrap msgid "" -"Input file interpretation:\n" -" --from-code=NAME encoding of input files\n" -" (except for Python, Tcl, Glade)\n" -"By default the input files are assumed to be in ASCII.\n" +" -L, --language=NAME recognise the specified language\n" +" (C, C++, ObjectiveC, PO, Python, Lisp,\n" +" EmacsLisp, librep, Smalltalk, Java,\n" +" JavaProperties, awk, YCP, Tcl, PHP, RST, " +"Glade)\n" +msgstr "" + +msgid " -C, --c++ shorthand for --language=C++\n" msgstr "" -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --join-existing join messages with existing file\n" -" -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" -" -c, --add-comments[=TAG] place comment block with TAG (or those\n" -" preceding keyword lines) in output file\n" +"By default the language is guessed depending on the input file name " +"extension.\n" +msgstr "" + +msgid "Input file interpretation:\n" msgstr "" -#, no-wrap msgid "" -"Language=C/C++ specific options:\n" -" -a, --extract-all extract all strings\n" -" -k, --keyword[=WORD] additional keyword to be looked for (without\n" -" WORD means not to use default keywords)\n" -" -T, --trigraphs understand ANSI C trigraphs for input\n" -" --debug more detailed formatstring recognition result\n" +" --from-code=NAME encoding of input files\n" +" (except for Python, Tcl, Glade)\n" +msgstr "" + +msgid "By default the input files are assumed to be in ASCII.\n" +msgstr "" + +msgid "Operation mode:\n" +msgstr "" + +msgid " -j, --join-existing join messages with existing file\n" +msgstr "" + +msgid " -x, --exclude-file=FILE.po entries from FILE.po are not extracted\n" +msgstr "" + +msgid "" +" -c, --add-comments[=TAG] place comment block with TAG (or those\n" +" preceding keyword lines) in output file\n" +msgstr "" + +msgid "Language=C/C++ specific options:\n" +msgstr "" + +msgid " -a, --extract-all extract all strings\n" +msgstr "" + +msgid "" +" -k, --keyword[=WORD] additional keyword to be looked for (without\n" +" WORD means not to use default keywords)\n" +msgstr "" + +msgid " -T, --trigraphs understand ANSI C trigraphs for input\n" +msgstr "" + +msgid "" +" --debug more detailed formatstring recognition result\n" +msgstr "" + +msgid "Output details:\n" +msgstr "" + +msgid "" +" -e, --no-escape do not use C escapes in output (default)\n" +msgstr "" + +msgid "" +" -E, --escape use C escapes in output, no extended chars\n" +msgstr "" + +msgid " --force-po write PO file even if empty\n" +msgstr "" + +msgid " -i, --indent write the .po file using indented style\n" +msgstr "" + +msgid " --no-location do not write '#: filename:line' lines\n" +msgstr "" + +msgid "" +" -n, --add-location generate '#: filename:line' lines (default)\n" +msgstr "" + +msgid "" +" --strict write out strict Uniforum conforming .po file\n" +msgstr "" + +msgid " --properties-output write out a Java .properties file\n" +msgstr "" + +msgid " -w, --width=NUMBER set output page width\n" +msgstr "" + +msgid "" +" --no-wrap do not break long message lines, longer than\n" +" the output page width, into several lines\n" +msgstr "" + +msgid " -s, --sort-output generate sorted output\n" +msgstr "" + +msgid " -F, --sort-by-file sort output by file location\n" +msgstr "" + +msgid "" +" --omit-header don't write header with `msgid \"\"' entry\n" +msgstr "" + +msgid " --copyright-holder=STRING set copyright holder in output\n" +msgstr "" + +msgid "" +" --foreign-user omit FSF copyright in output for foreign user\n" msgstr "" -#, no-wrap msgid "" -"Output details:\n" -" -e, --no-escape do not use C escapes in output (default)\n" -" -E, --escape use C escapes in output, no extended chars\n" -" --force-po write PO file even if empty\n" -" -i, --indent write the .po file using indented style\n" -" --no-location do not write '#: filename:line' lines\n" -" -n, --add-location generate '#: filename:line' lines (default)\n" -" --strict write out strict Uniforum conforming .po file\n" -" -w, --width=NUMBER set output page width\n" -" --no-wrap do not break long message lines, longer than\n" -" the output page width, into several lines\n" -" -s, --sort-output generate sorted output\n" -" -F, --sort-by-file sort output by file location\n" -" --omit-header don't write header with `msgid \"\"' entry\n" -" --copyright-holder=STRING set copyright holder in output\n" -" --foreign-user omit FSF copyright in output for foreign user\n" " --msgid-bugs-address=EMAIL@ADDRESS set report address for msgid bugs\n" -" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr entries\n" -" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr entries\n" msgstr "" -#, no-wrap msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" +" -m, --msgstr-prefix[=STRING] use STRING or \"\" as prefix for msgstr " +"entries\n" +msgstr "" + +msgid "" +" -M, --msgstr-suffix[=STRING] use STRING or \"\" as suffix for msgstr " +"entries\n" +msgstr "" + +msgid "Informative output:\n" +msgstr "" + +msgid " -h, --help display this help and exit\n" +msgstr "" + +msgid " -V, --version output version information and exit\n" msgstr "" msgid "Report bugs to .\n" @@ -223,91 +311,122 @@ msgid_plural ", %d untranslated messages" msgstr[0] "" msgstr[1] "" -#, c-format, no-wrap +#, c-format msgid "Usage: %s [OPTION] filename.po ...\n" msgstr "" -#, no-wrap msgid "Generate binary message catalog from textual translation description.\n" msgstr "" -#, no-wrap -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +msgid " filename.po ... input files\n" msgstr "" -#, no-wrap msgid "" -"Input file location:\n" -" filename.po ... input files\n" -" -D, --directory=DIRECTORY add DIRECTORY to list for input files search\n" -"If input file is -, standard input is read.\n" +" -j, --java Java mode: generate a Java ResourceBundle " +"class\n" +msgstr "" + +msgid "" +" --java2 like --java, and assume Java2 (JDK 1.2 or " +"higher)\n" msgstr "" -#, no-wrap msgid "" -"Operation mode:\n" -" -j, --java Java mode: generate a Java ResourceBundle class\n" -" --java2 like --java, and assume Java2 (JDK 1.2 or higher)\n" " --tcl Tcl mode: generate a tcl/msgcat .msg file\n" msgstr "" -#, no-wrap +msgid " -o, --output-file=FILE write output to specified file\n" +msgstr "" + +msgid " --strict enable strict Uniforum mode\n" +msgstr "" + +msgid "Output file location in Java mode:\n" +msgstr "" + +msgid " -r, --resource=RESOURCE resource name\n" +msgstr "" + msgid "" -"Output file location:\n" -" -o, --output-file=FILE write output to specified file\n" -" --strict enable strict Uniforum mode\n" -"If output file is -, output is written to standard output.\n" +" -l, --locale=LOCALE locale name, either language or " +"language_COUNTRY\n" msgstr "" -#, no-wrap msgid "" -"Output file location in Java mode:\n" -" -r, --resource=RESOURCE resource name\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" " -d DIRECTORY base directory of classes directory hierarchy\n" -"The class name is determined by appending the locale name to the resource name,\n" +msgstr "" + +msgid "" +"The class name is determined by appending the locale name to the resource " +"name,\n" "separated with an underscore. The -d option is mandatory. The class is\n" "written under the specified directory.\n" msgstr "" -#, no-wrap +msgid "Output file location in Tcl mode:\n" +msgstr "" + +msgid " -d DIRECTORY base directory of .msg message catalogs\n" +msgstr "" + msgid "" -"Output file location in Tcl mode:\n" -" -l, --locale=LOCALE locale name, either language or language_COUNTRY\n" -" -d DIRECTORY base directory of .msg message catalogs\n" "The -l and -d options are mandatory. The .msg file is written in the\n" "specified directory.\n" msgstr "" -#, no-wrap +msgid "Input file syntax:\n" +msgstr "" + +msgid "" +" -P, --properties-input input files are in Java .properties syntax\n" +msgstr "" + msgid "" -"Input file interpretation:\n" " -c, --check perform all the checks implied by\n" -" --check-format, --check-header, --check-domain\n" -" --check-format check language dependent format strings\n" -" --check-header verify presence and contents of the header entry\n" +" --check-format, --check-header, --check-" +"domain\n" +msgstr "" + +msgid " --check-format check language dependent format strings\n" +msgstr "" + +msgid "" +" --check-header verify presence and contents of the header " +"entry\n" +msgstr "" + +msgid "" " --check-domain check for conflicts between domain directives\n" " and the --output-file option\n" -" -C, --check-compatibility check that GNU msgfmt behaves like X/Open msgfmt\n" -" --check-accelerators[=CHAR] check presence of keyboard accelerators for\n" +msgstr "" + +msgid "" +" -C, --check-compatibility check that GNU msgfmt behaves like X/Open " +"msgfmt\n" +msgstr "" + +msgid "" +" --check-accelerators[=CHAR] check presence of keyboard accelerators " +"for\n" " menu items\n" -" -f, --use-fuzzy use fuzzy entries in output\n" msgstr "" -#, c-format, no-wrap +msgid " -f, --use-fuzzy use fuzzy entries in output\n" +msgstr "" + +#, c-format msgid "" -"Output details:\n" " -a, --alignment=NUMBER align strings to NUMBER bytes (default: %d)\n" -" --no-hash binary file will not include the hash table\n" msgstr "" -#, no-wrap msgid "" -"Informative output:\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -" --statistics print statistics about translations\n" -" -v, --verbose increase verbosity level\n" +" --no-hash binary file will not include the hash table\n" +msgstr "" + +msgid " --statistics print statistics about translations\n" +msgstr "" + +msgid " -v, --verbose increase verbosity level\n" msgstr "" msgid "plural expression can produce negative values" @@ -392,7 +511,7 @@ msgid "plural handling is a GNU gettext extension" msgstr "" #, c-format -msgid "'%s' is not a valid %s format string, unlike 'msgid'" +msgid "'%s' is not a valid %s format string, unlike 'msgid'. Reason: %s" msgstr "" #, c-format @@ -442,12 +561,6 @@ msgstr "" msgid "`domain %s' directive ignored" msgstr "" -msgid "duplicate message definition" -msgstr "" - -msgid "...this is the location of the first definition" -msgstr "" - msgid "empty `msgstr' entry ignored" msgstr ""